-
Notifications
You must be signed in to change notification settings - Fork 997
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
Pen, DrawLines and others take integers, fix a TypeError on Python 3.10+ #1224
Conversation
I will test this and see if there are no other obvious cases like this., |
There are more:
|
3d4a77d
to
d4c39f3
Compare
d4c39f3
to
120205b
Compare
Ok, there are plenty of more :( |
d545516
to
e6dac82
Compare
This fix is very dirty, but I think it works. We might want to actually change some logic to count with integers, but I didn't want to do that here. |
Note: originally, I've started with |
e6dac82
to
faade5b
Compare
This has been confirmed as at least mostly working in #1225 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope we got them all but I suspect there will be more. Other than the one thing I commented on I have no objections, feel free to merge at your convenience.
Hi @pmead7399, #1225 is a known error which I assume is what you are experiencing. Sadly, the latest package of Printrun does not contain this fix yet as it hasn't been released.
To use Python 3.9 instead:
$ ls -l /usr/bin/python3.9
-rwxr-xr-x 1 root root 5442952 May 14 06:57 /usr/bin/python3.9
- #!/usr/bin/python3
+ #!/usr/bin/python3.9 If you go down this route, please remember to revert the change or remove and re-install the package once the fix is implemented. |
Hello, i don't have python3.9, i have python3.10. I try to follow guides to install python3.9 and miss. ¿Is the only way to fix the problem? ¿there is some new notice or update?. i don't speack good english, but i spend to many days to fix this problem and i can't do it. >:(, i have the last lubuntu, i don't know whats is wrong. I only see "mention to #1277" and i don't know whats this means. This is the only place where i found information and not work. Kind regards |
Hi @Fedetecnico07, sorry it took me this long to reply. I assume you run (L)ubuntu 22.04 or older. I'm afraid the only other easy alternatives are:
|
@rockstorm101 |
Fedora user report: https://bugzilla.redhat.com/show_bug.cgi?id=2022732