-
-
Notifications
You must be signed in to change notification settings - Fork 521
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
opensnitch-ui (<= 1.6.0rc4-1.noarch) needs protobuf package to 3.20.x or lower #860
Comments
Hi @iolpltuisciaoln , Could launch the GUI from a terminal as follow?: Let me know please if the GUI show up. |
Yes GUI starts this way after about a minute. |
thank you @iolpltuisciaoln ! I'll try to reproduce it and find a solution. I've got an idea. |
@iolpltuisciaoln , could you post info of your packages I've just installed it on Fedora 38 beta and it doesn't crash. Maybe this crash is caused by a specific version of protobuf/grpcio. Fedora 38 versions: python3-grpcio 1.48.3, python3-protobuf 3.19.6 |
❯ dnf info python3-grpcio python3-protobuf Available Packages Name : python3-protobuf |
It somehow uses python 3.11: |
thank you @iolpltuisciaoln , I'll regenerate the protobuffers with 3.19.0 and will post them here for you to test them (in 8h more or less...) |
I'm unable to reproduce this issue 👎 and the current protobuffers seems to be generated with v3.20.0, so for now you'll have to use the above workaround, well adding it to your By the way, regarding the delay showing up the GUI, you'll need to install and enable the extension gnome-shell-extension-appindicator: https://github.com/evilsocket/opensnitch/wiki/Known-problems#opensnitch-icon-does-not-show-up-on-gnome-shell |
partially fixed with |
opensnitch-ui-1.5.2-1.noarch.rpm as well as opensnitch-ui-1.6.0rc4-1.noarch.f29.rpm not starting after Fedora upgrade to 37
To Reproduce
Linux localhost.localdomain 6.1.13-200.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 22 17:53:57 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
rpm -i opensnitch-ui-1.6.0rc4-1.noarch.f29.rpm
Post error logs:
❯ opensnitch-ui
Traceback (most recent call last):
File "/usr/local/bin/opensnitch-ui", line 23, in
from opensnitch.service import UIService
File "/usr/lib/python3/dist-packages/opensnitch/service.py", line 13, in
from opensnitch import ui_pb2
File "/usr/lib/python3/dist-packages/opensnitch/ui_pb2.py", line 32, in
_descriptor.EnumValueDescriptor(
File "/usr/local/lib64/python3.11/site-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:
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
The text was updated successfully, but these errors were encountered: