autonetkit icon indicating copy to clipboard operation
autonetkit copied to clipboard

autonetkit command broken in latest release

Open jdhall75 opened this issue 2 years ago • 0 comments

Hello,

I just installed version 0.12.3 from pypi and got the following error running the autonetkit command.

(.venv) jdhall@thinker ~/projects/autonetkit/autonetkit $ autonetkit
Traceback (most recent call last):
  File "/home/jdhall/projects/Kathara/.venv/bin/autonetkit", line 11, in <module>
    load_entry_point('autonetkit', 'console_scripts', 'autonetkit')()
  File "/home/jdhall/projects/Kathara/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/jdhall/projects/Kathara/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
    return ep.load()
  File "/home/jdhall/projects/Kathara/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2443, in load
    return self.resolve()
  File "/home/jdhall/projects/Kathara/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2449, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
ModuleNotFoundError: No module named 'autonetkit.console'
(.venv) jdhall@thinker ~/projects/autonetkit/autonetkit $ 

I can't find autonetkit.console, but I have found autonetkit.entry which seems to contain the logic for loading the topology from the .graphml files.

I plan to submit a PR to fix this, but I would like to know if you plan to keep support legacy Python? I would like to contribute more to the project.

jdhall75 avatar May 15 '22 01:05 jdhall75