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

TypeError: line() got an unexpected keyword argument 'joint' #11

Closed
AlfonsoGangemi opened this issue Sep 8, 2021 · 2 comments
Closed

Comments

@AlfonsoGangemi
Copy link

I get this error when I tap on the touchpad:

$ fingerpaint -o test.png
Using touchpad: SYNA3082:00 06CB:8265 Touchpad
Traceback (most recent call last):
File "$HOME/.local/bin/fingerpaint", line 8, in
sys.exit(cli())
File "$HOME/.local/lib/python3.6/site-packages/fingerpaint/fingerpaint.py", line 288, in cli
main(args)
File "$HOME/.local/lib/python3.6/site-packages/fingerpaint/fingerpaint.py", line 207, in main
make_ui(handler_loop(), scaled, devname, args)
File "$HOME/.local/lib/python3.6/site-packages/fingerpaint/fingerpaint.py", line 89, in make_ui
width=int(args.line_thickness * aa_factor), joint='curve', fill=(0, 0, 0)
TypeError: line() got an unexpected keyword argument 'joint'

@Wazzaps
Copy link
Owner

Wazzaps commented Sep 8, 2021

I'll fix this soon, in the meantime pip3 install -U Pillow should do the trick

Thanks for the report!

@Wazzaps
Copy link
Owner

Wazzaps commented Apr 19, 2022

I decided to force a newer version, now with a user-friendly error message when running an old version prompting to upgrade.

Fixed in: https://github.com/Wazzaps/fingerpaint/releases/tag/v1.2.3

@Wazzaps Wazzaps closed this as completed Apr 19, 2022
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

2 participants