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

urllib3 error #100

Open
Grazulex opened this issue May 2, 2023 · 1 comment
Open

urllib3 error #100

Grazulex opened this issue May 2, 2023 · 1 comment

Comments

@Grazulex
Copy link

Grazulex commented May 2, 2023

Description

/usr/local/lib/python3.7/dist-packages/requests/init.py:114: RequestsDependencyWarning: urllib3 (2.0.1) or chardet (5.1.0)/charset_normalizer (3.1.0) doesn't match a supported version!
RequestsDependencyWarning,
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 45, in
import pychromecast.pychromecast as pychromecast
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/init.py", line 12, in
from . import socket_client
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/socket_client.py", line 23, in
from . import cast_channel_pb2
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/cast_channel_pb2.py", line 36, in
type=None),
File "/usr/local/lib/python3.7/dist-packages/google/protobuf/descriptor.py", line 796, in new
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:

  1. Downgrade the protobuf package to 3.20.x or lower.
  2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
    More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

Etapes à reproduire (pour les bugs)

je suis sur une image Jeedom a jour :
Version : 4.3.17
Source : default
Branche : V4-stable
Système : diy

Tous les élements sont à jours

j'ai restarter mon serveur Jeedom et je ne sais plus démarrer les demon de Google Cast du à cette erreur.
Que dois-je faire ?

Merci

@Grazulex
Copy link
Author

Grazulex commented May 3, 2023

Pour info, j'ai fais le downgrade et cela fonctionne.

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

1 participant