Fingscan starts/quits -- loop

A Plugin to detect IP devices on your networks and to create triggers for Home/ Away actions
BillC
Posts: 238
Joined: Sun Mar 09, 2008 4:51 pm

Fingscan starts/quits -- loop

Post by BillC »

Not sure when this happened as I've had fingscan disabled for some time (not needed). When I enable the plugin it will run for about 5 minutes then exit complaining that fing is not running (see log below). If I don't disable the plugin it will loop like shown until disabled.

Activity monitor shows /usr/local/lib/fing/fing.bin starting and stopping in accordance with the log entries. Seems as if Fingscan is starting and killing fing but can't interact with it???

Have reinstalled both the plugin and the fing CLI for MacOS (after running fing's uninstall script) using current versions. Server is an Intel Mac Mini running Monterey 12.6.2. I don't see a way to completely remove the plugin and reinstall but am willing to try that if it's possible.

Appreciate any assistance.

Code: Select all

2023-02-06 14:00:51 initializing  ... 
2023-02-06 14:00:51 path To files:          =================
2023-02-06 14:00:51 indigo                  /Library/Application Support/Perceptive Automation/
2023-02-06 14:00:51 installFolder           /Library/Application Support/Perceptive Automation/Indigo 2022.1/
2023-02-06 14:00:51 plugin.py               /Library/Application Support/Perceptive Automation/Indigo 2022.1/Plugins/fingscan.indigoPlugin/Contents/Server Plugin/
2023-02-06 14:00:51 indigo                  /Library/Application Support/Perceptive Automation/
2023-02-06 14:00:51 detailed logging        /Library/Application Support/Perceptive Automation/Indigo 2022.1/Logs/com.karlwachs.fingscan/plugin.log
2023-02-06 14:00:51 testing logging levels, for info only: 
2023-02-06 14:00:51 logger  enabled for     THREADDEBUG    ==> TEST ONLY 
2023-02-06 14:00:51 logger  enabled for     DEBUG          ==> TEST ONLY 
2023-02-06 14:00:51 logger  enabled for     INFO           ==> TEST ONLY 
2023-02-06 14:00:51 logger  enabled for     WARNING        ==> TEST ONLY 
2023-02-06 14:00:51.140	ERROR       	Plugin.__init__                  logger  enabled for     ERROR          ==> TEST ONLY 
2023-02-06 14:00:51.140	CRITICAL    	Plugin.__init__                  logger  enabled for     CRITICAL       ==> TEST ONLY 
2023-02-06 14:00:51 Plugin short Name       fing
2023-02-06 14:00:51 my PID                  84925
2023-02-06 14:00:51 Achitecture             macOS-12.6.2-x86_64-i386-64bit
2023-02-06 14:00:51 OS                      12.6.2
2023-02-06 14:00:51 indigo V                2022.1.2
2023-02-06 14:00:51 python V                3.10.2
2023-02-06 14:00:51 using '/Library/Frameworks/Python.framework/Versions/Current/bin/python3' for utily programs
2023-02-06 14:00:51 debug settings :[] 
2023-02-06 14:00:51 indigo variables initialized
2023-02-06 14:00:51 network info: {'netMask': '255.255.255.0', 'netWorkId': '10.122.1.1', 'broadcast': '10.122.1.255', 'hostRange': '10.122.1.1 - 10.122.1.254', 'maxHosts': 254}, netwType:24
2023-02-06 14:00:51 getting password
2023-02-06 14:00:51 get password done;  checking if FING is installed 
2023-02-06 14:00:52 loaded indigo data
2023-02-06 14:00:52 MAP2Vendor initializing with python v:3
2023-02-06 14:00:52 MAP2Vendor path for download files and json file:/Library/Application Support/Perceptive Automation/Indigo 2022.1/Preferences/Plugins/com.karlwachs.fingscan/mac2Vendor/
2023-02-06 14:00:52 MAP2Vendor initializing  finished, read from mac2Vendor.json file
2023-02-06 14:00:52 Initializing parameters for FING
startfing  14:00:54 L:276 Lv:20 ========= start   @ 2023-02-06 14:00:54.519324   ===========;  loglevel:0
startfing  14:00:55 L:100 Lv:40 try# 1; msg  <_io.BufferedReader name=7> -- err: <_io.BufferedReader name=9>, ListenProcessFileHandle:<Popen: returncode: None args: "cd '/Library/Application Support/Perceptive ...>
2023-02-06 14:00:56 Waiting for first data from FING
startfing  14:00:57 L:112 Lv:20 fing.bin launched
2023-02-06 14:02:37 Initializing .. FING data file not created, return
2023-02-06 14:02:37.148	ERROR       	Plugin.initConfig                 FING not running... quit
2023-02-06 14:02:37 settings:  inbetweenPingType            0
2023-02-06 14:02:37 settings:  wait seconds between cycles  3
2023-02-06 14:02:37 settings:  password entered             False
2023-02-06 14:02:37 settings:  debugLevel                   []
2023-02-06 14:02:37 settings:  FINGSCAN will scan Network    broadCast10.122.1.255 
2023-02-06 14:02:37 

2023-02-06 14:02:37 
EVENT defs:::::::::::::::::: Start :::::::::::::::: -- all

EVENT defs:::::::::::::::::: END ::::::::::::::::::

2023-02-06 14:02:37 getting vendor info.. 
2023-02-06 14:02:43 --> while loop break  stopping ...  quitNOW was: FING not running; wait with reboot
2023-02-06 14:02:43.723	ERROR       	Plugin.dorunConcurrentThread     --> you have 2 minutes to fix config, before restart
2023-02-06 14:06:04 stopConcurrentThread called 2
2023-02-06 14:06:06 initializing  ... 
2023-02-06 14:06:06 path To files:          =================
User avatar
rbdubz3
Posts: 232
Joined: Sun Sep 18, 2016 9:33 am
Location: San Diego, CA

Re: Fingscan starts/quits -- loop

Post by rbdubz3 »

I just upgraded the OS of my Indigo server from High Sierra to Catalina, which is the most I can update a Late 2012 mac mini. After the upgrade I am also getting this restart loop
I automate because I am lazy :D - My Plugins: viewforum.php?f=309
EagleDTW
Posts: 79
Joined: Thu Apr 30, 2020 5:56 pm

Re: Fingscan starts/quits -- loop

Post by EagleDTW »

I'm getting the same error message:
--> while loop break stopping ... quitNOW was: FING not running; wait with reboot
Initializing .. FING data file not created, return
But I believe that this is caused by the lack of an initial file being placed in the plugin location - I don't remember what the full fix was!

Is this an error in the plugin or not apple silicon compatible?

Thank you,
Daniel
User avatar
kw123
Posts: 8435
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Fingscan starts/quits -- loop

Post by kw123 »

it seems there is a problem with the paths.

could you
0. down load latest version (.93)
1. restart fingscan,
2. in config check debug start fing , save
3 restart fingscan
4. check /Library/Application Support/Perceptive Automation/Indigo 2022.2/Logs/com.karlwachs.fingscan/plugin.log

and post, please xxx users and passwords

Karl
EagleDTW
Posts: 79
Joined: Thu Apr 30, 2020 5:56 pm

Re: Fingscan starts/quits -- loop

Post by EagleDTW »

Hi Karl,

This is the output:
2023-05-08 09:26:53 initializing ...
2023-05-08 09:26:53 path To files: =================
2023-05-08 09:26:53 indigo /Library/Application Support/Perceptive Automation/
2023-05-08 09:26:53 installFolder /Library/Application Support/Perceptive Automation/Indigo 2022.2/
2023-05-08 09:26:53 plugin.py /Library/Application Support/Perceptive Automation/Indigo 2022.2/Plugins/fingscan.indigoPlugin/Contents/Server Plugin/
2023-05-08 09:26:53 indigo /Library/Application Support/Perceptive Automation/
2023-05-08 09:26:53 detailed logging /Library/Application Support/Perceptive Automation/Indigo 2022.2/Logs/com.karlwachs.fingscan/plugin.log
2023-05-08 09:26:53 testing logging levels, for info only:
2023-05-08 09:26:53 logger enabled for THREADDEBUG ==> TEST ONLY
2023-05-08 09:26:53 logger enabled for DEBUG ==> TEST ONLY
2023-05-08 09:26:53 logger enabled for INFO ==> TEST ONLY
2023-05-08 09:26:53 logger enabled for WARNING ==> TEST ONLY
2023-05-08 09:26:53.234 ERROR Plugin.__init__ logger enabled for ERROR ==> TEST ONLY
2023-05-08 09:26:53.234 CRITICAL Plugin.__init__ logger enabled for CRITICAL ==> TEST ONLY
2023-05-08 09:26:53 Plugin short Name fing
2023-05-08 09:26:53 my PID 39130
2023-05-08 09:26:53 Achitecture macOS-13.3.1-arm64-arm-64bit
2023-05-08 09:26:53 OS 13.3.1
2023-05-08 09:26:53 indigo V 2022.2.2
2023-05-08 09:26:53 python V 3.10.2
2023-05-08 09:26:53 using '/Library/Frameworks/Python.framework/Versions/Current/bin/python3' for utily programs
2023-05-08 09:26:53 debug settings :[]
2023-05-08 09:26:53 indigo variables initialized
2023-05-08 09:26:53 network info: {'netMask': '255.255.255.0', 'netWorkId': '192.168.1.1', 'broadcast': '192.168.1.255', 'hostRange': '192.168.1.1 - 192.168.1.254', 'maxHosts': 254}, netwType:24
2023-05-08 09:26:53 getting password
2023-05-08 09:26:53 get password done; checking if FING is installed
2023-05-08 09:26:53 loaded indigo data
2023-05-08 09:26:53 MAP2Vendor initializing with python v:3
2023-05-08 09:26:53 MAP2Vendor path for download files and json file:/Library/Application Support/Perceptive Automation/Indigo 2022.2/Preferences/Plugins/com.karlwachs.fingscan/mac2Vendor/
2023-05-08 09:26:53 MAP2Vendor initializing finished, read from mac2Vendor.json file
2023-05-08 09:26:53 Initializing parameters for FING
startfing 09:26:55 L:276 Lv:20 ========= start @ 2023-05-08 09:26:55.937928 ===========; loglevel:0
startfing 09:26:56 L:212 Lv:40 'list index out of range'
checkVer @line 68: 'fingVersion = float(ret[0]+"."+ret[1])'
2023-05-08 09:26:56 Waiting for first data from FING
2023-05-08 09:28:08 settings: inbetweenPingType parallel
2023-05-08 09:28:08 settings: wait seconds between cycles 1
2023-05-08 09:28:08 settings: password entered True
2023-05-08 09:28:08 settings: debugLevel ['Special']
2023-05-08 09:28:08 settings: FINGSCAN will scan Network broadCast192.168.1.255
2023-05-08 09:28:08

2023-05-08 09:28:19 stopConcurrentThread called 1
2023-05-08 09:28:20.031 ERROR Plugin.initFing
Traceback (most recent call last):
File "plugin.py", line 1966, in initFing
self.sleep( 1 )
File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost3.app/Contents/Resources/PlugIns/plugin_base.py", line 487, in sleep
raise self.StopThread
plugin_base.PluginBase.StopThread: None
2023-05-08 09:28:20.034 ERROR Plugin.initConfig FING not running... quit
2023-05-08 09:28:20 settings: inbetweenPingType parallel
2023-05-08 09:28:20 settings: wait seconds between cycles 1
2023-05-08 09:28:20 settings: password entered False
2023-05-08 09:28:20 settings: debugLevel ['Special']
2023-05-08 09:28:20 settings: FINGSCAN will scan Network broadCast192.168.1.255
2023-05-08 09:28:20

2023-05-08 09:28:20
EVENT defs:::::::::::::::::: Start :::::::::::::::: -- all
EVENT defs:::::::::::::::::: END ::::::::::::::::::

2023-05-08 09:28:20 getting vendor info..
2023-05-08 09:28:20 stop_concurrent_thread called
2023-05-08 09:28:20 shutdown called
2023-05-08 09:28:22 initializing ...
2023-05-08 09:28:22 path To files: =================
2023-05-08 09:28:22 indigo /Library/Application Support/Perceptive Automation/
2023-05-08 09:28:22 installFolder /Library/Application Support/Perceptive Automation/Indigo 2022.2/
2023-05-08 09:28:22 plugin.py /Library/Application Support/Perceptive Automation/Indigo 2022.2/Plugins/fingscan.indigoPlugin/Contents/Server Plugin/
2023-05-08 09:28:22 indigo /Library/Application Support/Perceptive Automation/
2023-05-08 09:28:22 detailed logging /Library/Application Support/Perceptive Automation/Indigo 2022.2/Logs/com.karlwachs.fingscan/plugin.log
2023-05-08 09:28:22 testing logging levels, for info only:
2023-05-08 09:28:22 logger enabled for THREADDEBUG ==> TEST ONLY
2023-05-08 09:28:22 logger enabled for DEBUG ==> TEST ONLY
2023-05-08 09:28:22 logger enabled for INFO ==> TEST ONLY
2023-05-08 09:28:22 logger enabled for WARNING ==> TEST ONLY
2023-05-08 09:28:22.849 ERROR Plugin.__init__ logger enabled for ERROR ==> TEST ONLY
2023-05-08 09:28:22.850 CRITICAL Plugin.__init__ logger enabled for CRITICAL ==> TEST ONLY
2023-05-08 09:28:22 Plugin short Name fing
2023-05-08 09:28:22 my PID 39280
2023-05-08 09:28:22 Achitecture macOS-13.3.1-arm64-arm-64bit
2023-05-08 09:28:22 OS 13.3.1
2023-05-08 09:28:22 indigo V 2022.2.2
2023-05-08 09:28:22 python V 3.10.2
2023-05-08 09:28:22 using '/Library/Frameworks/Python.framework/Versions/Current/bin/python3' for utily programs
2023-05-08 09:28:22 debug settings :['Special']
2023-05-08 09:28:22 indigo variables initialized
2023-05-08 09:28:22 network info: {'netMask': '255.255.255.0', 'netWorkId': '192.168.1.1', 'broadcast': '192.168.1.255', 'hostRange': '192.168.1.1 - 192.168.1.254', 'maxHosts': 254}, netwType:24
2023-05-08 09:28:22 getting password
2023-05-08 09:28:22 get password done; checking if FING is installed
2023-05-08 09:28:23 loaded indigo data
2023-05-08 09:28:23 MAP2Vendor initializing with python v:3
2023-05-08 09:28:23 MAP2Vendor path for download files and json file:/Library/Application Support/Perceptive Automation/Indigo 2022.2/Preferences/Plugins/com.karlwachs.fingscan/mac2Vendor/
2023-05-08 09:28:23 MAP2Vendor initializing finished, read from mac2Vendor.json file
2023-05-08 09:28:23 Initializing parameters for FING
startfing 09:28:25 L:276 Lv:20 ========= start @ 2023-05-08 09:28:25.585347 ===========; loglevel:0
startfing 09:28:25 L:212 Lv:40 'list index out of range'
checkVer @line 68: 'fingVersion = float(ret[0]+"."+ret[1])'
2023-05-08 09:28:26 Waiting for first data from FING
2023-05-08 09:30:11 Initializing .. FING data file not created, return
2023-05-08 09:30:11.992 ERROR Plugin.initConfig FING not running... quit
2023-05-08 09:30:11 settings: inbetweenPingType parallel
2023-05-08 09:30:11 settings: wait seconds between cycles 1
2023-05-08 09:30:11 settings: password entered False
2023-05-08 09:30:11 settings: debugLevel ['Special']
2023-05-08 09:30:11 settings: FINGSCAN will scan Network broadCast192.168.1.255
2023-05-08 09:30:11

2023-05-08 09:30:11
EVENT defs:::::::::::::::::: Start :::::::::::::::: -- all
EVENT defs:::::::::::::::::: END ::::::::::::::::::

2023-05-08 09:30:11 getting vendor info..
2023-05-08 09:30:18 --> while loop break stopping ... quitNOW was: FING not running; wait with reboot
2023-05-08 09:30:18.303 ERROR Plugin.dorunConcurrentThread --> you have 2 minutes to fix config, before restart
2023-05-08 09:30:36 stopConcurrentThread called 1


It looks like password is not entered into some file, what's the method to ensure the plugin has it enabled for operation?
User avatar
kw123
Posts: 8435
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Fingscan starts/quits -- loop

Post by kw123 »

https://github.com/kw123/fingscan/relea ... 2022.37.94
please try above

and switch on debug fingstart not special
EagleDTW
Posts: 79
Joined: Thu Apr 30, 2020 5:56 pm

Re: Fingscan starts/quits -- loop

Post by EagleDTW »

Okay, right checkbox now...
2023-05-08 10:01:09 initializing ...
2023-05-08 10:01:09 path To files: =================
2023-05-08 10:01:09 indigo /Library/Application Support/Perceptive Automation/
2023-05-08 10:01:09 installFolder /Library/Application Support/Perceptive Automation/Indigo 2022.2/
2023-05-08 10:01:09 plugin.py /Library/Application Support/Perceptive Automation/Indigo 2022.2/Plugins/fingscan.indigoPlugin/Contents/Server Plugin/
2023-05-08 10:01:09 indigo /Library/Application Support/Perceptive Automation/
2023-05-08 10:01:09 detailed logging /Library/Application Support/Perceptive Automation/Indigo 2022.2/Logs/com.karlwachs.fingscan/plugin.log
2023-05-08 10:01:09 testing logging levels, for info only:
2023-05-08 10:01:09 logger enabled for THREADDEBUG ==> TEST ONLY
2023-05-08 10:01:09 logger enabled for DEBUG ==> TEST ONLY
2023-05-08 10:01:09 logger enabled for INFO ==> TEST ONLY
2023-05-08 10:01:09 logger enabled for WARNING ==> TEST ONLY
2023-05-08 10:01:09.246 ERROR Plugin.__init__ logger enabled for ERROR ==> TEST ONLY
2023-05-08 10:01:09.246 CRITICAL Plugin.__init__ logger enabled for CRITICAL ==> TEST ONLY
2023-05-08 10:01:09 Plugin short Name fing
2023-05-08 10:01:09 my PID 40686
2023-05-08 10:01:09 Achitecture macOS-13.3.1-arm64-arm-64bit
2023-05-08 10:01:09 OS 13.3.1
2023-05-08 10:01:09 indigo V 2022.2.2
2023-05-08 10:01:09 python V 3.10.2
2023-05-08 10:01:09 using '/Library/Frameworks/Python.framework/Versions/Current/bin/python3' for utily programs
2023-05-08 10:01:09 debug settings :['Special']
2023-05-08 10:01:09 indigo variables initialized
2023-05-08 10:01:09 network info: {'netMask': '255.255.255.0', 'netWorkId': '192.168.1.1', 'broadcast': '192.168.1.255', 'hostRange': '192.168.1.1 - 192.168.1.254', 'maxHosts': 254}, netwType:24
2023-05-08 10:01:09 getting password
2023-05-08 10:01:09 get password done; checking if FING is installed
2023-05-08 10:01:09 loaded indigo data
2023-05-08 10:01:09 MAP2Vendor initializing with python v:3
2023-05-08 10:01:09 MAP2Vendor path for download files and json file:/Library/Application Support/Perceptive Automation/Indigo 2022.2/Preferences/Plugins/com.karlwachs.fingscan/mac2Vendor/
2023-05-08 10:01:09 MAP2Vendor initializing finished, read from mac2Vendor.json file
2023-05-08 10:01:09 Initializing parameters for FING
startfing 10:01:11 L:281 Lv:20 ========= start @ 2023-05-08 10:01:11.998478 ===========; params:{'ppp': '&a3!gcsQ776221#5B', 'theNetwork': '192.168.1.0', 'netwType': '24', 'logLevel': 0, 'fingEXEpath': '/usr/local/bin/fing', 'macUser': 'XXXXXX', 'pythonPath': '/Library/Frameworks/Python.framework/Versions/Current/bin/python3'}
startfing 10:01:12 L: 73 Lv:20 bad return for cmd:echo 'XXXXXXXX' | sudo -S /usr/local/bin/fing -v
ret:['']\err:Password:sudo: /usr/local/bin/fing: command not found

2023-05-08 10:01:13 Waiting for first data from FING
2023-05-08 10:01:56 settings: inbetweenPingType parallel
2023-05-08 10:01:56 settings: wait seconds between cycles 1
2023-05-08 10:01:56 settings: password entered True
2023-05-08 10:01:56 settings: debugLevel ['StartFi']
2023-05-08 10:01:56 settings: FINGSCAN will scan Network broadCast192.168.1.255
2023-05-08 10:01:56

2023-05-08 10:02:04 stopConcurrentThread called 1
2023-05-08 10:02:04.918 ERROR Plugin.initFing
Traceback (most recent call last):
File "plugin.py", line 1968, in initFing
self.sleep( 1 )
File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/IndigoPluginHost3.app/Contents/Resources/PlugIns/plugin_base.py", line 487, in sleep
raise self.StopThread
plugin_base.PluginBase.StopThread: None
2023-05-08 10:02:04.924 ERROR Plugin.initConfig FING not running... quit
2023-05-08 10:02:04 settings: inbetweenPingType parallel
2023-05-08 10:02:04 settings: wait seconds between cycles 1
2023-05-08 10:02:04 settings: password entered False
2023-05-08 10:02:04 settings: debugLevel ['StartFi']
2023-05-08 10:02:04 settings: FINGSCAN will scan Network broadCast192.168.1.255
2023-05-08 10:02:04

2023-05-08 10:02:04
EVENT defs:::::::::::::::::: Start :::::::::::::::: -- all
EVENT defs:::::::::::::::::: END ::::::::::::::::::

2023-05-08 10:02:04 getting vendor info..
2023-05-08 10:02:04 stop_concurrent_thread called
2023-05-08 10:02:04 shutdown called
2023-05-08 10:02:07 initializing ...
2023-05-08 10:02:07 path To files: =================
2023-05-08 10:02:07 indigo /Library/Application Support/Perceptive Automation/
2023-05-08 10:02:07 installFolder /Library/Application Support/Perceptive Automation/Indigo 2022.2/
2023-05-08 10:02:07 plugin.py /Library/Application Support/Perceptive Automation/Indigo 2022.2/Plugins/fingscan.indigoPlugin/Contents/Server Plugin/
2023-05-08 10:02:07 indigo /Library/Application Support/Perceptive Automation/
2023-05-08 10:02:07 detailed logging /Library/Application Support/Perceptive Automation/Indigo 2022.2/Logs/com.karlwachs.fingscan/plugin.log
2023-05-08 10:02:07 testing logging levels, for info only:
2023-05-08 10:02:07 logger enabled for THREADDEBUG ==> TEST ONLY
2023-05-08 10:02:07 logger enabled for DEBUG ==> TEST ONLY
2023-05-08 10:02:07 logger enabled for INFO ==> TEST ONLY
2023-05-08 10:02:07 logger enabled for WARNING ==> TEST ONLY
2023-05-08 10:02:07.833 ERROR Plugin.__init__ logger enabled for ERROR ==> TEST ONLY
2023-05-08 10:02:07.833 CRITICAL Plugin.__init__ logger enabled for CRITICAL ==> TEST ONLY
2023-05-08 10:02:07 Plugin short Name fing
2023-05-08 10:02:07 my PID 40820
2023-05-08 10:02:07 Achitecture macOS-13.3.1-arm64-arm-64bit
2023-05-08 10:02:07 OS 13.3.1
2023-05-08 10:02:07 indigo V 2022.2.2
2023-05-08 10:02:07 python V 3.10.2
2023-05-08 10:02:07 using '/Library/Frameworks/Python.framework/Versions/Current/bin/python3' for utily programs
2023-05-08 10:02:07 debug settings :['StartFi']
2023-05-08 10:02:07 indigo variables initialized
2023-05-08 10:02:07 network info: {'netMask': '255.255.255.0', 'netWorkId': '192.168.1.1', 'broadcast': '192.168.1.255', 'hostRange': '192.168.1.1 - 192.168.1.254', 'maxHosts': 254}, netwType:24
2023-05-08 10:02:07 getting password
2023-05-08 10:02:07 get password done; checking if FING is installed
2023-05-08 10:02:08 loaded indigo data
2023-05-08 10:02:08 MAP2Vendor initializing with python v:3
2023-05-08 10:02:08 MAP2Vendor path for download files and json file:/Library/Application Support/Perceptive Automation/Indigo 2022.2/Preferences/Plugins/com.karlwachs.fingscan/mac2Vendor/
2023-05-08 10:02:08 MAP2Vendor initializing finished, read from mac2Vendor.json file
2023-05-08 10:02:08 Initializing parameters for FING
2023-05-08 10:02:10 FING cmd= '/Library/Frameworks/Python.framework/Versions/Current/bin/python3' '/Library/Application Support/Perceptive Automation/Indigo 2022.2/Plugins/fingscan.indigoPlugin/Contents/Server Plugin/startfing.py' '/Library/Application Support/Perceptive Automation/Indigo 2022.2/Preferences/Plugins/com.karlwachs.fingscan/paramsForStart' &
startfing 10:02:10 L:281 Lv:20 ========= start @ 2023-05-08 10:02:10.498528 ===========; params:{'ppp': '&a3!gcsQ776221#5B', 'theNetwork': '192.168.1.0', 'netwType': '24', 'logLevel': 20, 'fingEXEpath': '/usr/local/bin/fing', 'macUser': 'XXXXXXXX' 'pythonPath': '/Library/Frameworks/Python.framework/Versions/Current/bin/python3'}
startfing 10:02:10 L:235 Lv:20 get pids of old processes w cmd:ps -ef | grep 'Plugin/startfing.py' | grep -v grep | awk '{print $2}'
startfing 10:02:10 L:235 Lv:20 get pids of old processes w cmd:ps -ef | grep '/usr/local/lib/fing/fing.bin' | grep -v grep | awk '{print $2}'
startfing 10:02:10 L:235 Lv:20 get pids of old processes w cmd:ps -ef | grep '/usr/local/bin/fing' | grep -v grep | awk '{print $2}'
startfing 10:02:10 L:292 Lv:20 params: {'ppp': '&a3!gcsQ776221#5B', 'theNetwork': '192.168.1.0', 'netwType': '24', 'logLevel': 20, 'fingEXEpath': '/usr/local/bin/fing', 'macUser': 'XXXXXXX', 'pythonPath': '/Library/Frameworks/Python.framework/Versions/Current/bin/python3'}
startfing 10:02:10 L:295 Lv:20 echo 'XXXXX' | sudo -S /bin/rm '/Library/Application Support/Perceptive Automation/Indigo 2022.2/Preferences/Plugins/com.karlwachs.fingscan/fing.data'
startfing 10:02:10 L:299 Lv:20 echo 'XXXXXXX' | sudo -S /bin/rm '/Library/Application Support/Perceptive Automation/Indigo 2022.2/Preferences/Plugins/com.karlwachs.fingscan/fing.log'
startfing 10:02:10 L:303 Lv:20 echo 0 > '/Library/Application Support/Perceptive Automation/Indigo 2022.2/Preferences/Plugins/com.karlwachs.fingscan/fing.log'
startfing 10:02:10 L: 73 Lv:20 bad return for cmd:echo 'XXXXXX' | sudo -S /usr/local/bin/fing -v
ret:['']\err:Password:sudo: /usr/local/bin/fing: command not found

startfing 10:02:10 L: 40 Lv:20 fing.bin launched, version: 0, opsys: 0, with command:
cd '/Library/Application Support/Perceptive Automation/Indigo 2022.2/Preferences/Plugins/com.karlwachs.fingscan/';echo 'XXXXXXX' | sudo -S '/usr/local/bin/fing' 192.168.1.0/24 -o table,csv,fing.data log,csv,fing.log > /dev/null 2>&1 &
startfing 10:02:11 L:235 Lv:20 get pids of old processes w cmd:ps -ef | grep '/bin/sh /usr/local/bin/fing' | grep -v grep | awk '{print $2}'
startfing 10:02:11 L:235 Lv:20 get pids of old processes w cmd:ps -ef | grep 'sudo -S /usr/local/bin/fing' | grep -v grep | awk '{print $2}'
startfing 10:02:11 L:308 Lv:20 ========= stopped @ 2023-05-08 10:02:11.466040 ===========
2023-05-08 10:02:11 Waiting for first data from FING
2023-05-08 10:03:56 Initializing .. FING data file not created, return
2023-05-08 10:03:56.917 ERROR Plugin.initConfig FING not running... quit
2023-05-08 10:03:56 settings: inbetweenPingType parallel
2023-05-08 10:03:56 settings: wait seconds between cycles 1
2023-05-08 10:03:56 settings: password entered False
2023-05-08 10:03:56 settings: debugLevel ['StartFi']
2023-05-08 10:03:56 settings: FINGSCAN will scan Network broadCast192.168.1.255
2023-05-08 10:03:56

2023-05-08 10:03:56
EVENT defs:::::::::::::::::: Start :::::::::::::::: -- all
EVENT defs:::::::::::::::::: END ::::::::::::::::::

2023-05-08 10:03:56 getting vendor info..
2023-05-08 10:04:03 --> while loop break stopping ... quitNOW was: FING not running; wait with reboot
2023-05-08 10:04:03.220 ERROR Plugin.dorunConcurrentThread --> you have 2 minutes to fix config, before restart
User avatar
kw123
Posts: 8435
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Fingscan starts/quits -- loop

Post by kw123 »

it looks as if fing is not installed:

... /usr/local/bin/fing: command not found ...

use :
CLI_macOSX_5.4.0.zip attached in previous versions

or newly attached in v2022.37.95 Fing-5.5.2-osX.pkg

to install fing.


check in terminal, if this works:

Code: Select all

/usr/local/bin/fing
and with:

Code: Select all

/usr/local/bin/fing -v
you then should get: 5.5.2

Karl
EagleDTW
Posts: 79
Joined: Thu Apr 30, 2020 5:56 pm

Re: Fingscan starts/quits -- loop

Post by EagleDTW »

Hi Karl,

I received:
XXXXXX@M2-Mac-mini ~ % /usr/local/bin/fing
zsh: permission denied: /usr/local/bin/fing
XXXXXX@M2-Mac-mini ~ % sudo /usr/local/bin/fing
Password:
sudo: /usr/local/bin/fing: command not found
User avatar
kw123
Posts: 8435
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Fingscan starts/quits -- loop

Post by kw123 »

Have you tried to install fing?


Sent from my iPhone using Tapatalk
EagleDTW
Posts: 79
Joined: Thu Apr 30, 2020 5:56 pm

Re: Fingscan starts/quits -- loop

Post by EagleDTW »

Hi Karl,

Yes I tried to install Fing both desktop and brew install and had no such luck with sudo /usr/local/bin/fing -v coming up with anything but no fing installed, although fing comes up and is operational.

Thank you,
Daniel
User avatar
kw123
Posts: 8435
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Fingscan starts/quits -- loop

Post by kw123 »

Please use the dmg file that is attached to the plugin

Not the desktop.


And also try:

which fing

Karl


Sent from my iPhone using Tapatalk
EagleDTW
Posts: 79
Joined: Thu Apr 30, 2020 5:56 pm

Re: Fingscan starts/quits -- loop

Post by EagleDTW »

Hi Karl,

I don't want to be daft, but I cannot find where the dmg file is attached? Could you please link me to something?

Thank you,
Daniel
User avatar
kw123
Posts: 8435
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Fingscan starts/quits -- loop

Post by kw123 »

https://www.dropbox.com/s/ukej7la51x4xo ... X.pkg?dl=0

I hope this one works


it it somewhat hidden on the fing web site. they would like to promote their desktop version.

Karl
EagleDTW
Posts: 79
Joined: Thu Apr 30, 2020 5:56 pm

Re: Fingscan starts/quits -- loop

Post by EagleDTW »

Hi Karl,

That worked perfectly - wow that must have been insanely hidden on their website as I still can't find it at all!

Thank you for grabbing it and helping me to get up and running again!

Best regards,
Daniel
Post Reply

Return to “FINGSCAN”