Plugin FINGSCAN not working after Catalina update. Error

Posted on
Sun Dec 29, 2019 5:50 pm
PME999 offline
Posts: 54
Joined: Jul 28, 2012

Plugin FINGSCAN not working after Catalina update. Error

Hello
After update to Catalina, FINGSCAN begun with a recurrent error (see below)
The plugin starts and stops and no more working. I tried to reset devices, event, soft reset but unfortunately not working.
Can you help me
Thanks a lot
Patrice


Enabling plugin "fingscan 7.30.39"
Starting plugin "fingscan 7.30.39" (pid 15524)
Z-Wave received "ZWAVE HUM Salon" sensor update to 28%
fingscan initializing ...
fingscan path To files: =================
fingscan indigo /Library/Application Support/Perceptive Automation/
fingscan installFolder /Library/Application Support/Perceptive Automation/Indigo 7.4/
fingscan plugin.py /Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/fingscan.indigoPlugin/Contents/Server Plugin/
fingscan Plugin params /Library/Application Support/Perceptive Automation/Indigo 7.4/Preferences/Plugins/com.karlwachs.fingscan/
fingscan !!!!INFO ONLY!!!! logger enabled for INFO !!!!INFO ONLY!!!!
fingscan Warning !!!!INFO ONLY!!!! logger enabled for WARNING !!!!INFO ONLY!!!!
fingscan Error !!!!INFO ONLY!!!! logger enabled for ERROR !!!!INFO ONLY!!!!
fingscan Critical Error !!!!INFO ONLY!!!! logger enabled for CRITICAL !!!!INFO ONLY!!!!
fingscan check /Library/Application Support/Perceptive Automation/Indigo 7.4/Logs/com.karlwachs.fingscan/plugin.log <<<< for detailed logging
fingscan Plugin short Name fing
fingscan my PID 15524
fingscan set params for indigo V 7.4
Started plugin "fingscan 7.30.39"
fingscan testing if variable enableTimeTracking_fing is == on/off/print-option to enable/end/print time tracking of all functions and methods (option:'',calls,cumtime,pcalls,time)
fingscan myLogSet setting parameters -- logFileActive= standard; logFile= ; debug plugin:[]
fingscan FINGSCAN-- initializing will take ~ 2 minutes...; sending logs to
fingscan Warning leaving WiFi parameters at default, not configured in 'fingscan/Configure...'
fingscan getting password
fingscan get password done; checking if FING is installed
fingscan fing install check done
Schedule SCHEDULE Mise à jour données CONSOMMATION msql Python
fingscan loaded indigo data
fingscan network info: {'netWorkId': '192.168.0.0', 'broadcast': '192.168.0.255', 'netMask': '255.255.255.0', 'maxHosts': 254, 'hostRange': '192.168.0.1 - 192.168.0.254'}
fingscan ifind plugin: com.corporatechameleon.iFindplugBeta
fingscan MAP2Vendor initializing
fingscan FING initializing parameters
fingscan FING initializing checking if output created, old date:1577620257.0; new date:1577620257.0
fingscan FING initializing checking if output created, old date:1577620257.0; new date:1577620257.0
fingscan FING initializing checking if output created, old date:1577620257.0; new date:1577620257.0
fingscan FING initializing checking if output created, old date:1577620257.0; new date:1577620257.0
fingscan FING initializing checking if output created, old date:1577620257.0; new date:1577620257.0
fingscan Error fing not running... quit
fingscan Error --> setup config, save then a manual reload of plugin
fingscan --> while loop break stopping ... quitNOW was: setup config , waiting
fingscan Error --> you have 2 minutes to fix config, before restart-1

Posted on
Wed Jan 08, 2020 8:02 am
kw123 offline
User avatar
Posts: 8363
Joined: May 12, 2013
Location: Dallas, TX

Plugin FINGSCAN not working after Catalina update. Error

as I am home now I could looking into FINGscan issues..

for catalina:

1. we need a 64 bit FING version (==> download, that's the easy part)
2. the new FING can only create ONE file, not 2 as used in the plugin either log or table not both.
== FINGscan uses both files: the table for periodical update to get all devices, the log file for fast changes.

3. The port scan feature has been removed from fing

==> I need to rewrite how FINGscan reads the FING output, it is doable, but will take a little time


Karl

Posted on
Mon Jan 13, 2020 8:14 pm
vtmikel offline
Posts: 643
Joined: Aug 31, 2012
Location: Boston, MA

Re: Plugin FINGSCAN not working after Catalina update. Error

I updated to .48 today. I’m running Catalina. I installed the Fing version that comes with the plugin bundle. However, I’m getting this exact output that PME999 is getting with the time stamp and then a restart loop. Did I miss something I was supposed to be doing?

Posted on
Tue Jan 14, 2020 9:34 am
kw123 offline
User avatar
Posts: 8363
Joined: May 12, 2013
Location: Dallas, TX

Re: Plugin FINGSCAN not working after Catalina update. Error

Could you try:
Delete fing.log and fing.data in preference folder
And reload the plugin

Karl



Sent from my iPhone using Tapatalk

Posted on
Tue Jan 14, 2020 9:46 am
vtmikel offline
Posts: 643
Joined: Aug 31, 2012
Location: Boston, MA

Re: Plugin FINGSCAN not working after Catalina update. Error

Thank you Karl, that worked.

Posted on
Fri Jan 17, 2020 6:25 am
Betacruxis offline
Posts: 60
Joined: Apr 03, 2010

Re: Plugin FINGSCAN not working after Catalina update. Error

Today I updated to version 7.30.48 of the plug-in, but right after initializes, it gives the following error:

fingscan Error error in Line# 535 ; error=global name 'opsys' is not defined

Didi I miss something or is it the plug-in?
Thanks.

Posted on
Fri Jan 17, 2020 8:15 am
kw123 offline
User avatar
Posts: 8363
Joined: May 12, 2013
Location: Dallas, TX

Re: Plugin FINGSCAN not working after Catalina update. Error

that's a bug in a logging statement..
the message should say:

miss match version of opsys:{} and fing:{}
you need to upgrade FING to 64 bits. Download from
https://www.fing.com/products/development-toolkit use OSX button
or use
CLI_macOSX_5.4.0.zip included in the download
to install

so please run CLI_macOSX_5.4.0.zip included in the download
just for safety: Delete fing.log and fing.data in preference folder
then reload fingscan

.. will fix the logging statement

Karl

Posted on
Fri Jan 17, 2020 8:28 am
kw123 offline
User avatar
Posts: 8363
Joined: May 12, 2013
Location: Dallas, TX

Re: Plugin FINGSCAN not working after Catalina update. Error

error message should be fixed in v .50 just posted.

Karl

Posted on
Mon Jan 20, 2020 12:22 am
PME999 offline
Posts: 54
Joined: Jul 28, 2012

Re: Plugin FINGSCAN not working after Catalina update. Error

Thanks Karl
I was not at home these last days and unable to test the solution. I will do it this week and give feed back
Patrice

Posted on
Thu Feb 13, 2020 8:31 am
Betacruxis offline
Posts: 60
Joined: Apr 03, 2010

Re: Plugin FINGSCAN not working after Catalina update. Error

Hello again.
I did all there was indicates. Installed the new CLI, deleted both Fing files from the Indigo folder and restarted the plugin, but still have the following error.
I did was I supposed was a manual setup in the plugin menu, saved it and restarted it, but sill caught in the same loop:

Loading plugin "fingscan 7.31.53"
Starting plugin "fingscan 7.31.53" (pid 5936)
fingscan ========================= initializing ==============================================
fingscan path To files: ==================
fingscan indigo /Library/Application Support/Perceptive Automation/
fingscan installFolder /Library/Application Support/Perceptive Automation/Indigo 7.4/
fingscan plugin.py /Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/fingscan.indigoPlugin/Contents/Server Plugin/
fingscan Plugin params /Library/Application Support/Perceptive Automation/Indigo 7.4/Preferences/Plugins/com.karlwachs.fingscan/
fingscan !!!!INFO ONLY!!!! logger enabled for INFO !!!!INFO ONLY!!!!
fingscan Warning !!!!INFO ONLY!!!! logger enabled for WARNING !!!!INFO ONLY!!!!
fingscan Error !!!!INFO ONLY!!!! logger enabled for ERROR !!!!INFO ONLY!!!!
fingscan Critical Error !!!!INFO ONLY!!!! logger enabled for CRITICAL !!!!INFO ONLY!!!!
fingscan check /Library/Application Support/Perceptive Automation/Indigo 7.4/Logs/com.karlwachs.fingscan/plugin.log <<<< for detailed logging
fingscan Plugin short Name fing
fingscan my PID 5936
fingscan set params for indigo V 7.4
Started plugin "fingscan 7.31.53"
fingscan testing if variable enableTimeTracking_fing is == on/off/print-option to enable/end/print time tracking of all functions and methods (option:'',calls,cumtime,pcalls,time)
fingscan myLogSet setting parameters -- logFileActive= standard; logFile= ; debug plugin:[]
fingscan FINGSCAN-- initializing will take ~ 2 minutes...; sending logs to
fingscan Warning leaving WiFi parameters at default, not configured in 'fingscan/Configure...'
fingscan getting password
fingscan get password done; checking if FING is installed
fingscan fing install check done
fingscan loaded indigo data
fingscan Warning network info: {'netWorkId': '10.0.1.0', 'broadcast': '10.0.1.255', 'netMask': '255.255.255.0', 'maxHosts': 254, 'hostRange': '10.0.1.1 - 10.0.1.254'}
fingscan ifind plugin: com.corporatechameleon.iFindplugBeta
fingscan FING initializing parameters
fingscan FING waiting for first data

13 Feb 2020 11:27:39
fingscan FING initializing checking if output created, old timeStamp:1581603983.84; new timeStamp:1581604043.53
fingscan FING initialized .. created new data waiting ~ 1 minute for stable operation
fingscan Warning FING pids after step3 = ['6035']
fingscan Warning (re)started FING
fingscan Warning FING initialized
fingscan Error error in Line# 743 ; error='Plugin' object has no attribute 'M2V'

fingscan Error --> setup config, save then a manual reload of plugin
fingscan --> while loop break stopping ... quitNOW was: please setup config , waiting
fingscan Error --> you have 2 minutes to fix config, before restart
fingscan Error --> do a manual reload of plugin
Reloading plugin "fingscan 7.31.53"
Stopping plugin "fingscan 7.31.53" (pid 5936)
fingscan Warning stopConcurrentThread called 2
fingscan runConcurrentThread stopping plugin due to: ::::: no :::::
Plugin restart request ignored (plugin is currently stopping or starting)
fingscan killing 2
Stopped plugin "fingscan 7.31.53"
Starting plugin "fingscan 7.31.53" (pid 6095)
fingscan ========================= initializing ==============================================
fingscan path To files: ==================
fingscan indigo /Library/Application Support/Perceptive Automation/
fingscan installFolder /Library/Application Support/Perceptive Automation/Indigo 7.4/
fingscan plugin.py /Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/fingscan.indigoPlugin/Contents/Server Plugin/
fingscan Plugin params /Library/Application Support/Perceptive Automation/Indigo 7.4/Preferences/Plugins/com.karlwachs.fingscan/
fingscan !!!!INFO ONLY!!!! logger enabled for INFO !!!!INFO ONLY!!!!
fingscan Warning !!!!INFO ONLY!!!! logger enabled for WARNING !!!!INFO ONLY!!!!
fingscan Error !!!!INFO ONLY!!!! logger enabled for ERROR !!!!INFO ONLY!!!!
fingscan Critical Error !!!!INFO ONLY!!!! logger enabled for CRITICAL !!!!INFO ONLY!!!!
fingscan check /Library/Application Support/Perceptive Automation/Indigo 7.4/Logs/com.karlwachs.fingscan/plugin.log <<<< for detailed logging
fingscan Plugin short Name fing
fingscan my PID 6095
fingscan set params for indigo V 7.4
Started plugin "fingscan 7.31.53"
fingscan testing if variable enableTimeTracking_fing is == on/off/print-option to enable/end/print time tracking of all functions and methods (option:'',calls,cumtime,pcalls,time)
fingscan myLogSet setting parameters -- logFileActive= standard; logFile= ; debug plugin:[]
fingscan FINGSCAN-- initializing will take ~ 2 minutes...; sending logs to
fingscan Warning leaving WiFi parameters at default, not configured in 'fingscan/Configure...'
fingscan getting password
fingscan get password done; checking if FING is installed
fingscan fing install check done
fingscan loaded indigo data
fingscan Warning network info: {'netWorkId': '10.0.1.0', 'broadcast': '10.0.1.255', 'netMask': '255.255.255.0', 'maxHosts': 254, 'hostRange': '10.0.1.1 - 10.0.1.254'}
fingscan ifind plugin: com.corporatechameleon.iFindplugBeta
fingscan FING initializing parameters
fingscan FING waiting for first data

13 Feb 2020 11:28:34
fingscan FING initializing checking if output created, old timeStamp:1581604043.53; new timeStamp:1581604098.39
fingscan FING initialized .. created new data waiting ~ 1 minute for stable operation
Disabling plugin "fingscan 7.31.53"
Stopping plugin "fingscan 7.31.53" (pid 6095)
fingscan Warning FING pids after step3 = ['6193']
fingscan Warning (re)started FING
fingscan Warning FING initialized
fingscan Error error in Line# 743 ; error='Plugin' object has no attribute 'M2V'
fingscan Warning stopConcurrentThread called 1

13 Feb 2020 11:28:50
Error process (pid 6095) failed to quit after polite request -- forcing it to quit now
Stopped plugin "fingscan 7.31.53"

Posted on
Thu Feb 13, 2020 8:56 am
kw123 offline
User avatar
Posts: 8363
Joined: May 12, 2013
Location: Dallas, TX

Re: Plugin FINGSCAN not working after Catalina update. Error

It a bug I will fix later today.

When the Mac to vendor lookup is disabled it causes the error and the plugin does not start, but restarts.

A intermediate remedy:
QUICKLY after start go into config and set MAX# to vendor look up = anything but disable. Then save.

Karl

Posted on
Thu Feb 13, 2020 10:52 am
kw123 offline
User avatar
Posts: 8363
Joined: May 12, 2013
Location: Dallas, TX

Re: Plugin FINGSCAN not working after Catalina update. Error

fixed in v .54

Posted on
Thu Feb 13, 2020 11:04 am
Betacruxis offline
Posts: 60
Joined: Apr 03, 2010

Re: Plugin FINGSCAN not working after Catalina update. Error

Although the temporary solution of setting MAC# to vendor lookup to something other than disabled did not stop the error and the reloading of the plugin, the version .54 seems to work perfectly.
Thank you very much for this and all your work!

Regards,
Alejandro

Posted on
Tue Oct 27, 2020 1:17 pm
BillC offline
Posts: 237
Joined: Mar 09, 2008

Re: Plugin FINGSCAN not working after Catalina update. Error

FINGSCAN installed and working well, then uprgraded to Catalina from Mojave, Did this:
Code: Select all
you need to upgrade FING to 64 bits. Download from
https://www.fing.com/products/development-toolkit use OSX button
or use
CLI_macOSX_5.4.0.zip included in the download
to install

so please run CLI_macOSX_5.4.0.zip included in the download
just for safety: Delete fing.log and fing.data in preference folder
then reload fingscan

FINGSCAN then reported that it couldn't find the deleted file fing.data:
Code: Select all
 fingscan Error                  error in  Line# 2952 ;  error=[Errno 2] No such file or directory: '/Library/Application Support/Perceptive Automation/Indigo 7.4/Preferences/Plugins/com.karlwachs.fingscan/fing.data'
   fingscan Error                   FING not running... quit

 fingscan                        switching off SQL logging for variables
 :ipDevsLastDevChangedIndigoName; ipDevsLastUpdate; ipDevsNewDeviceNo; ipDevsNewIPNumber;
   fingscan                        switching off SQL logging for variables END

   fingscan Error                  -->  setup config, save, then a manual reload of plugin
   fingscan                        --> while loop break  stopping ...  quitNOW was: please setup config , waiting
   fingscan Error                  --> you have 2 minutes to fix config, before restart


For unrelated reasons, had to revert to Mojave. Same error as above. Deleted ALL fingscan plugin files. (kept fing CLI_macOSX_5.4.0.) Reinstalled plugin; same error. Doesn't seem to be creating the fing.data file. Tried "touch fing.data" in terminal, enabled plugin, FINGSCAN deleted the "fing.data" file and again complained it was missing.

Note that devices remain in Indigo and some were updated today during the above trials. Error repeats as long as plugin is active.
FINGSCAN 731.61, Indigo 7.4.1, MacOS 10.14.6.

Posted on
Tue Oct 27, 2020 1:49 pm
kw123 offline
User avatar
Posts: 8363
Joined: May 12, 2013
Location: Dallas, TX

Re: Plugin FINGSCAN not working after Catalina update. Error

could you open a terminal and copy and paste:

Code: Select all
sudo /usr/local/bin/fing

stop w CTL-C

then check if
'/Library/Application Support/Perceptive Automation/Indigo 7.4/Preferences/Plugins/com.karlwachs.fingscan/paramsForStart'
exists
then
Code: Select all
/usr/bin/python2.7 '/Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/fingscan.indigoPlugin/Contents/Server Plugin/startfing.py' '/Library/Application Support/Perceptive Automation/Indigo 7.4/Preferences/Plugins/com.karlwachs.fingscan/paramsForStart'


and post the results


Karl

Who is online

Users browsing this forum: No registered users and 1 guest