Page 1 of 1

SOLVED!! Error after updating to Indigo 2022.1 INDIGOplotD

PostPosted: Fri Sep 09, 2022 1:15 pm
by VincentS
Hi,

I have got this message after updating to Indigo 2022.1

INDIGOplotD Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
INDIGOplotD Error Error in plugin execution runConcurrentThread:

File "plugin.py", line 8829, in runConcurrentThread
File "plugin.py", line 8876, in dorunConcurrentThread
File "plugin.py", line 9448, in removeDeletedIndigoPlots
type: 'Plugin' object has no attribute 'PLOT'

Any idea how to solve this?

kind regards
Vincent

Re: Error after updating to Indigo 2022.1

PostPosted: Fri Sep 09, 2022 2:38 pm
by kw123
did you upgrade the plugin?

any other log message

also in /Library/Application Support/Perceptive Automation/Indigo 2022.1/Logs/com.karlwachs.INDIGOplotD/plugin.log

?

Re: Error after updating to Indigo 2022.1

PostPosted: Fri Sep 09, 2022 2:39 pm
by VincentS
Yes I did,

But no result on the positive side

Re: Error after updating to Indigo 2022.1

PostPosted: Fri Sep 09, 2022 2:50 pm
by kw123
any other log message

also in /Library/Application Support/Perceptive Automation/Indigo 2022.1/Logs/com.karlwachs.INDIGOplotD/plugin.log

?

self.PLOT is initialized in the plugin in startup. these errors might happen when startup does not run until the end due to an error

Re: Error after updating to Indigo 2022.1

PostPosted: Fri Sep 09, 2022 3:14 pm
by VincentS
Just this..

2022-09-09 20:47:14 initializing ...
2022-09-09 20:47:14 path To files: =================
2022-09-09 20:47:14 indigo /Library/Application Support/Perceptive Automation/
2022-09-09 20:47:14 installFolder /Library/Application Support/Perceptive Automation/Indigo 2022.1/
2022-09-09 20:47:14 plugin.py /Library/Application Support/Perceptive Automation/Indigo 2022.1/Plugins/INDIGOplotD.indigoPlugin/Contents/Server Plugin/
2022-09-09 20:47:14 indigo /Library/Application Support/Perceptive Automation/
2022-09-09 20:47:14 detailed logging /Library/Application Support/Perceptive Automation/Indigo 2022.1/Logs/com.karlwachs.INDIGOplotD/plugin.log
2022-09-09 20:47:14 testing logging levels, for info only:
2022-09-09 20:47:14 logger enabled for THREADDEBUG ==> TEST ONLY
2022-09-09 20:47:14 logger enabled for DEBUG ==> TEST ONLY
2022-09-09 20:47:14 logger enabled for INFO ==> TEST ONLY
2022-09-09 20:47:14 logger enabled for WARNING ==> TEST ONLY
2022-09-09 20:47:14.669 ERROR Plugin.__init__ logger enabled for ERROR ==> TEST ONLY
2022-09-09 20:47:14.669 CRITICAL Plugin.__init__ logger enabled for CRITICAL ==> TEST ONLY
2022-09-09 20:47:14 Plugin short Name INDIGOplotD
2022-09-09 20:47:14 my PID 5000
2022-09-09 20:47:14 Achitecture macOS-10.15.7-x86_64-i386-64bit
2022-09-09 20:47:14 OS 10.15.7
2022-09-09 20:47:14 indigo V 2022.1.2
2022-09-09 20:47:14 python V 3.10.2
2022-09-09 20:47:14 using '/Library/Frameworks/Python.framework/Versions/Current/bin/python3' for utily programs
2022-09-09 20:47:15 initializing ... ; debuglevel=[], apiversion:3.1
2022-09-09 20:47:15 number of days per bin category are: [8, 38, 390] for [days, hours, minutes] data
2022-09-09 20:47:15.057 CRITICAL Plugin.startup Fatal error could not create indigoplot PNG file Directory
indigoMPplot 2022-09-09 20:48:09.827977 ---- INDIGO matplot started Version 6.8; pid:5031; sys.version_info(major=3, minor=10, micro=2, releaselevel='final', serial=0) ------
2022-09-09 20:53:19 command: InstallGnuplot
2022-09-09 20:53:55 command: debug OFF
2022-09-09 20:55:26.226 ERROR Plugin.pickExistingOrNewDeviceCALLBACK 'Plugin' object has no attribute 'oldDevNo'line#,Module,Statement:(6040, 'pickExistingOrNewDeviceCALLBACK', 'if devNo ==\tself.oldDevNo:')
2022-09-09 20:55:45.725 ERROR Plugin.pickExistingOrNewDeviceCALLBACK 'Plugin' object has no attribute 'oldDevNo'line#,Module,Statement:(6040, 'pickExistingOrNewDeviceCALLBACK', 'if devNo ==\tself.oldDevNo:')
2022-09-09 20:55:52.578 ERROR Plugin.pickExistingOrNewDeviceCALLBACK 'Plugin' object has no attribute 'oldDevNo'line#,Module,Statement:(6040, 'pickExistingOrNewDeviceCALLBACK', 'if devNo ==\tself.oldDevNo:')
2022-09-09 20:57:01.793 ERROR Plugin.startMAT 'Plugin' object has no attribute 'PLOT'line#,Module,Statement:(9494, 'plotNow', 'for nPlot in self.PLOT:')
2022-09-09 20:57:01 command: switch to MATPLOT
indigoMPplot 2022-09-09 20:57:05.976583 ---- INDIGO matplot started Version 6.8; pid:5497; sys.version_info(major=3, minor=10, micro=2, releaselevel='final', serial=0) ------
2022-09-09 20:57:15 command: switch to GNUPLOT
2022-09-09 20:57:37 stop_concurrent_thread called
2022-09-09 20:57:37 stop_concurrent_thread called
2022-09-09 21:08:01 initializing ...
2022-09-09 21:08:01 path To files: =================
2022-09-09 21:08:01 indigo /Library/Application Support/Perceptive Automation/
2022-09-09 21:08:01 installFolder /Library/Application Support/Perceptive Automation/Indigo 2022.1/
2022-09-09 21:08:01 plugin.py /Library/Application Support/Perceptive Automation/Indigo 2022.1/Plugins/INDIGOplotD.indigoPlugin/Contents/Server Plugin/
2022-09-09 21:08:01 indigo /Library/Application Support/Perceptive Automation/
2022-09-09 21:08:01 detailed logging /Library/Application Support/Perceptive Automation/Indigo 2022.1/Logs/com.karlwachs.INDIGOplotD/plugin.log
2022-09-09 21:08:01 testing logging levels, for info only:
2022-09-09 21:08:01 logger enabled for THREADDEBUG ==> TEST ONLY
2022-09-09 21:08:01 logger enabled for DEBUG ==> TEST ONLY
2022-09-09 21:08:01 logger enabled for INFO ==> TEST ONLY
2022-09-09 21:08:01 logger enabled for WARNING ==> TEST ONLY
2022-09-09 21:08:01.844 ERROR Plugin.__init__ logger enabled for ERROR ==> TEST ONLY
2022-09-09 21:08:01.844 CRITICAL Plugin.__init__ logger enabled for CRITICAL ==> TEST ONLY
2022-09-09 21:08:01 Plugin short Name INDIGOplotD
2022-09-09 21:08:01 my PID 6069
2022-09-09 21:08:01 Achitecture macOS-10.15.7-x86_64-i386-64bit
2022-09-09 21:08:01 OS 10.15.7
2022-09-09 21:08:01 indigo V 2022.1.2
2022-09-09 21:08:01 python V 3.10.2
2022-09-09 21:08:01 using '/Library/Frameworks/Python.framework/Versions/Current/bin/python3' for utily programs
2022-09-09 21:08:01 initializing ... ; debuglevel=[], apiversion:3.1
2022-09-09 21:08:01 number of days per bin category are: [8, 38, 390] for [days, hours, minutes] data
2022-09-09 21:08:01.923 CRITICAL Plugin.startup Fatal error could not create indigoplot PNG file Directory
2022-09-09 21:15:14 stop_concurrent_thread called
2022-09-09 21:15:14 stop_concurrent_thread called

Re: Error after updating to Indigo 2022.1

PostPosted: Fri Sep 09, 2022 4:36 pm
by kw123
the cause is:
2022-09-09 20:47:15.057 CRITICAL Plugin.startup Fatal error could not create indigoplot PNG file Directory

the default is:
indigo.server.getInstallFolderPath()+u"/Preferences/Plugins/"+self.pluginId+"/"
==
/Library/Application Support/Perceptive Automation/Indigo 2022.1/Preferences/Plugins/com.karlwachs.INDIGOplotD

could you check if that exists, if not create it, then restart the plugin

if that was changed before (last version) it is in the pluginprefs (as indigoPNGdir)THAT directory must exist

you can check in :
/Library/Application Support/Perceptive Automation/Indigo 2022.1/Preferences/Plugins/com.karlwachs.INDIGOplotD.indiPref
mine is defined as
<indigoPNGdir type="string">/Users/karlwachs/Plots/</indigoPNGdir>
you can do in a terminal:
cat '/Library/Application Support/Perceptive Automation/Indigo 2022.1/Preferences/Plugins/com.karlwachs.INDIGOplotD.indiPref'
with the quotes to look at the whole file.

and
cat '/Library/Application Support/Perceptive Automation/Indigo 2022.1/Preferences/Plugins/com.karlwachs.INDIGOplotD.indiPref' | grep indigoPNGdir
to show just that line


Karl




Karl

Re: Error after updating to Indigo 2022.1

PostPosted: Sat Sep 10, 2022 2:53 pm
by VincentS
Indeed Karl.. It seemed It was the problem.

The solution was not to reload the file.. After checking the date on the prefs file it looked it was still an old file from my previous versions..

After serval attempts the solution was deleting the prefs file and reinstall the plugin.. and it created a new one..

Thanks for the help!!

Vincent

Re: SOLVED!! Error after updating to Indigo 2022.1 INDIGOplo

PostPosted: Sat Sep 10, 2022 3:21 pm
by kw123
this looks like a rights issue.
The plugin should be able to create the directories and create the files. If that does not work then the environment is bad.

glad that you could clean it up

Karl