Wazzaps / fingerpaint

Draw using your laptop's touchpad
GNU General Public License v2.0
140 stars 6 forks source link

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

Closed AlfonsoGangemi closed 2 years ago

AlfonsoGangemi commented 3 years ago

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 commented 3 years ago

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

Thanks for the report!

Wazzaps commented 2 years ago

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