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

Running dragon lo results in a crash #137

Open
RUGMJ opened this issue Jan 29, 2024 · 2 comments · May be fixed by #140
Open

Running dragon lo results in a crash #137

RUGMJ opened this issue Jan 29, 2024 · 2 comments · May be fixed by #140

Comments

@RUGMJ
Copy link

RUGMJ commented Jan 29, 2024

Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/home/rugmj/.local/lib/python3.11/site-packages/dragon/lo.py", line 6, in <module> from dragon.util import dprintline, OutputColors, OutputWeight ImportError: cannot import name 'dprintline' from 'dragon.util' (/home/rugmj/.local/lib/python3.11/site-packages/dragon/util.py)

After looking at the source code it seems the imports dont exist in the utils module at all not really sure whats meant to be happening here

@RUGMJ
Copy link
Author

RUGMJ commented Jan 29, 2024

seems the shared package has the correct util, changing dragon.util to shared.util would resolve this unless theres something im missing

@L1ghtmann
Copy link
Collaborator

Thanks for catching this. Will fix in an upcoming release.

If you'd like to fix it locally, you can make the edits necessary to this repo and run the dev install script.

@L1ghtmann L1ghtmann linked a pull request Jul 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants