Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with the newst version of PyChromecast #40

Open
Xenomes opened this issue Dec 14, 2021 · 1 comment
Open

Error with the newst version of PyChromecast #40

Xenomes opened this issue Dec 14, 2021 · 1 comment

Comments

@Xenomes
Copy link

Xenomes commented Dec 14, 2021

Hi,
I got a some error at the start of the plug-in after update PyChromecast to the latest version. I did the update because I had memory leak using the plug-in.

Domoticz beta 2021.1 (13872)
Domoticz-Google-Plugin d17f65e
PyChromecast 10.2.1
gTTS 2.2.3

Error message in the log:

2021-12-13 22:11:05.541  Error: Google  TTS: (GoogleDevs) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/Domoticz-Google-Plugin/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'.
2021-12-13 22:11:05.542  Error: Google  TTS: Module Import failed, exception: 'AttributeError'
2021-12-13 22:11:05.542  Error: Google  TTS: Error Line details not available.
2021-12-13 22:11:05.543  Error: Google  TTS: Exception traceback:
2021-12-13 22:11:05.544  Error: Google  TTS:  ----> Line 121 in '/home/pi/domoticz/plugins/Domoticz-Google-Plugin/plugin.py', function <module>

If no fix is forthcoming, which version of PyChromecast is best to use?

I did a roll-back one by one until it work with out errors at version 9.2.1

@Kdonkers
Copy link

Easy fix for this is, unstall previous version and run python3.7 -m pip install pychromecast==9.2.1. After this worked fine for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants