Page 1 of 1

RevPI Compact after flash Buster plc commander does not start

Posted: 26 Apr 2023, 12:50
by novofer
Hi,

I tried to upgrade from Stretch to Buster so I download the latest image and flash it to a Compact.
The initial setup has finished, I set up webstatus, enabled the revpipyload as described: https://revolutionpi.com/tutorials/soft ... h-compact/ and setup/save io config at pictory too: https://revolutionpi.com/tutorials/was-ist-pictory-3/
I tried to start the formerly named "RevPI PLC Control" program via web interface (RevPI PLC Commander) but it has not start.
Any suggestion?

BR, Zsolt

Re: RevPI Compact after flash Buster plc commander does not start

Posted: 27 Apr 2023, 13:27
by u.biakoup
Hi novofer,
could please post here the Error message coming from RevPi PLC Commander?

Best Regards

Ulrich Kouatang Biakoup | Technical Support

Re: RevPI Compact after flash Buster plc commander does not start

Posted: 27 Apr 2023, 21:23
by novofer
Hi,
Thanks, here is the error message:

Code: Select all

Traceback (most recent call last):
  File "/usr/share/revpicommander/revpicommander.py", line 18, in <module>
    from avahisearch import AvahiSearch
  File "/usr/share/revpicommander/avahisearch.py", line 11, in <module>
    from zeroconf import IPVersion, ServiceBrowser, Zeroconf
ImportError: cannot import name 'IPVersion' from 'zeroconf' (/usr/lib/python3/dist-packages/zeroconf.py)
BR, Zsolt

Re: RevPI Compact after flash Buster plc commander does not start

Posted: 28 Apr 2023, 10:12
by RevPiModIO
Hi novofer!

This seems to have something to do with a too old version of the zeroconf library, which is available in Buster. We once created a backport package, which you can please test.

Download: http://revpimodio.org/dnl/python3-zeroconf_0.26.1-1~bpo10+1_all.deb

Download and installation via cli on your RevPi

Code: Select all

# Download package
wget http://revpimodio.org/dnl/python3-zeroconf_0.26.1-1~bpo10+1_all.deb

# Install package
sudo dpkg -i python3-zeroconf_0.26.1-1~bpo10+1_all.deb

Please let us know if the RevPi Commander is running after installation.

Greeting
Sven

Re: RevPI Compact after flash Buster plc commander does not start

Posted: 28 Apr 2023, 17:47
by novofer
Hi Sven,

It works well, thank you very much!

BR, Zsolt