You are not logged in.
Hello,
I updated my Arch yesterday and GNS3 stop working.
Here's the console output when I try to run gns3 or gns3server:
Traceback (most recent call last):
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 563, in from_name
return next(cls.discover(name=name))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/gns3", line 33, in <module>
sys.exit(load_entry_point('gns3-gui==2.2.38', 'gui_scripts', 'gns3')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/gns3", line 22, in importlib_load_entry_point
for entry_point in distribution(dist_name).entry_points
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 981, in distribution
return Distribution.from_name(distribution_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 565, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for gns3-guiTraceback (most recent call last):
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 563, in from_name
return next(cls.discover(name=name))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/gns3server", line 33, in <module>
sys.exit(load_entry_point('gns3-server==2.2.38', 'console_scripts', 'gns3server')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/gns3server", line 22, in importlib_load_entry_point
for entry_point in distribution(dist_name).entry_points
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 981, in distribution
return Distribution.from_name(distribution_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 565, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for gns3-serverI look for a python package called "name" but I don't found anything like that.
I tried reinstalling gns3-gui and gns3-server but doesn't work.
I tried rebooting too without good news.
What can I do to fix this?
Thank you.
Last edited by huoda (2023-05-12 18:09:55)
Offline
Reinstalling won't work, you have to actually rebuild the packages.
Offline
I installed the git version from AUR, installed some python depencies an now it works.
python dependencies:
psutil=="5.9.4"
aiofiles=="22.1.0"
sentry-sdk=="1.17.0"Offline