Closed deadbroker closed 6 months ago
I have solved it with the following command:
$ pip install protobuf==3.20.*
I had to downgrade protobuf
https://stackoverflow.com/questions/72899948/how-to-downgrade-protobuf
Hi @deadbroker ,
great you were able to fix it, thank you for letting us know!
I've updated the wiki with this info.
https://github.com/evilsocket/opensnitch/wiki/GUI-known-problems
Hi there
I migrated from Ubuntu 20 to Ubuntu 22.04.4 LTS and Opensnitch doesn't work (version 1.6.5).
I tried opening it from the application launcher in Ubuntu but nothing happens when I click the icon.
I ran
$ opensnitch-ui
and got the following error:`Traceback (most recent call last): File "/usr/bin/opensnitch-ui", line 41, in
from opensnitch.service import UIService
File "/usr/lib/python3/dist-packages/opensnitch/service.py", line 15, in
from opensnitch import ui_pb2
File "/usr/lib/python3/dist-packages/opensnitch/ui_pb2.py", line 32, in
_descriptor.EnumValueDescriptor(
File "/usr/local/lib/python3.10/dist-packages/google/protobuf/descriptor.py", line 914, in new
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot 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`
Any clue what's happening here?