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

Internal error during connect: module 'dateutil' has no attribute '__version__' #198

Open
1 task done
chalb0 opened this issue Jan 27, 2025 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@chalb0
Copy link

chalb0 commented Jan 27, 2025

K-Shake&Tune module branch

  • I confirm using the main branch

Version

5.0

Describe the bug and expected behavior

On install and use of [shaketune] in printer.cfg, klipper state becomes disconnected with the error:

Klipper reports: ERROR

Internal error during connect: module 'dateutil' has no attribute 'version'

Once the underlying issue is corrected, use the "RESTART"
command to reload the config and restart the host software.
Printer is halted

However dateutil is installed with an atribute in version:

$ python3 -c "import dateutil; print(dateutil.__version__)"
2.8.2

I have attempted a reinstall.

I did notice that looking at the head of klippy.py it was showing python2, changing this for 3 still has the same issue.

$ head -n 1 /home/pi/klipper/klippy/klippy.py
#!/usr/bin/env python3

Any suggestions?

Additional information and klippy.log

No response

@chalb0 chalb0 added the bug Something isn't working label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant