Python version not available after 12.3 upgrade

Posted on
Sun May 15, 2022 1:51 pm
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Python version not available after 12.3 upgrade

I just updated to Indigo 2022.1 and then to OS 12.3.1. I was able to workaround all minor issues but I'm not sure about this one. I get the following error when INDIGOplotD starts up:
Code: Select all
   INDIGOplotD Error               FATAL error:  none of python versions 2.5 ..2.8 is installed  ==>  stooping INDIGOplotD

Then I get these errors every 10 seconds:
Code: Select all
Traceback (most recent call last):
  File "plugin.py", line 9002, in runConcurrentThread
  File "plugin.py", line 9020, in dorunConcurrentThread
  File "plugin.py", line 6549, in checkIfEventData
AttributeError: 'Plugin' object has no attribute 'DEVICE'

I thought 2022.1 had a workaround to allow Python2 based plugins to run but apparently not in this case. Any suggestions to get this great plugin working again? Thanks!

--Dave

Posted on
Sun May 15, 2022 3:49 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Python version not available after 12.3 upgrade

This is nothing to do with Indigo 2022.* as such.

The plugin checks /usr/bin for either python2.6, python2.7, python2.8

The indigo installer doesn’t delete those; you’re correct that 2022.1 still supports 2.7

Can you check that folder? Have you tidied up python or Indigo versions/folders?


Sent from my iPad using Tapatalk Pro

Posted on
Sun May 15, 2022 4:02 pm
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Python version not available after 12.3 upgrade

Yes, it worked in Indigo 2022.1 but broke when I updated to OS 12.3.1. I also saw that the error was from the Python version check and, as a test, I added Python3 to the list so it would pass the test. (There are no longer Python2 directories in /usr/bin in OS 12.3.) The check passes but the plots don't work since I assume the plugin wants Python2.

The only error I get is:
Code: Select all
INDIGOplotD Error               restarting SQL import,    it seems to hang. If this happens several times reload INDIGOplotD :

I'm perpetually confused by python installations and usually make a mess of it. In this case I didn't try to reinstall Python2 since it's my understanding that it's no longer supported in 12.3. I don't know how Indigo temporarily works around the issue but that workaround doesn't seem to work in this case.
Thanks!
--Dave
edit: BTW, I'm looking into the MatPlotlib plugin which may be a good alternative to INDIGOPlotD

Posted on
Sun May 15, 2022 4:30 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Python version not available after 12.3 upgrade

I equally ignore python versions as I’m Windows not Mac by trade.

I’ll bow out to any other devs to help.


Sent from my iPad using Tapatalk Pro

Posted on
Sun May 15, 2022 4:34 pm
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Python version not available after 12.3 upgrade

:D
thanks for the help

Posted on
Sun May 15, 2022 4:51 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Python version not available after 12.3 upgrade

Our python installs place executable symlinks in /usr/local/bin.

The plugin developer will need to address this issue. Moving it to his forum.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sun May 15, 2022 8:10 pm
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Python version not available after 12.3 upgrade

Thanks, Jay. Definitely useful info and I edited the plugin to point at that location. Unfortunately the plots still don't update and new ones don't get created. No errors in the log though so it would be really difficult to troubleshoot at this point. I'll give up for now and go back to trying to learn Matplotlib.

Posted on
Sun May 15, 2022 11:23 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Python version not available after 12.3 upgrade

I will check when I am back home on Tuesday evening

Karl


Sent from my iPhone using Tapatalk

Posted on
Sun May 15, 2022 11:26 pm
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Python version not available after 12.3 upgrade

Thanks Karl. I'm glad you're still working on it.

Posted on
Sun May 15, 2022 11:27 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Python version not available after 12.3 upgrade

Did you download the latest version?

Mine works fine w indigo 2022


Sent from my iPhone using Tapatalk

Posted on
Sun May 15, 2022 11:30 pm
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Python version not available after 12.3 upgrade

Yeah, but the problem is not with Indigo 2022. It started when I upgraded to MacOS 12.3.

Posted on
Sun May 15, 2022 11:38 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Python version not available after 12.3 upgrade

You need both
indigo 2022
Latest v of indigoplotd
For 12.3

Karl


Sent from my iPhone using Tapatalk

Posted on
Mon May 16, 2022 12:02 am
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Python version not available after 12.3 upgrade

I have all of that. When I upgraded to OS 12.3.1, I no longer had Python2 in /usr/bin so it failed the test built into the plugin. Even after I pointed the plugin where Indigo created symbolic links to Python2 in /usr/local/bin, there were no errors in the log but the plots didn't update.

Posted on
Mon May 16, 2022 12:27 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Python version not available after 12.3 upgrade

There are some libs it needs.

And when you use a private python install not everything is present


Sent from my iPhone using Tapatalk

Posted on
Mon May 16, 2022 8:03 am
DVDDave offline
Posts: 470
Joined: Feb 26, 2006
Location: San Jose, CA

Re: Python version not available after 12.3 upgrade

Is there a list available of the libraries that need to be installed?

Who is online

Users browsing this forum: No registered users and 4 guests