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

autonetkit command broken in latest release #271

Open
jdhall75 opened this issue May 15, 2022 · 0 comments
Open

autonetkit command broken in latest release #271

jdhall75 opened this issue May 15, 2022 · 0 comments

Comments

@jdhall75
Copy link

jdhall75 commented May 15, 2022

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 added a commit to jdhall75/autonetkit that referenced this issue May 15, 2022
Fixes entrypoint for autonetkit
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