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

jukebox script crash with: TypeError: keyboard_setting() takes at most 3 arguments (5 given) #7

Open
wolkstein opened this issue Sep 10, 2016 · 1 comment
Assignees
Projects

Comments

@wolkstein
Copy link

if i try to start pi-jukebox on my pi with 3,2" lcd i get this:

sudo python pi-jukebox.py 

Traceback (most recent call last):
  File "pi-jukebox.py", line 102, in <module>
    main()
  File "pi-jukebox.py", line 86, in main
    apply_settings()  # Check for first time settings and applies settings
  File "pi-jukebox.py", line 75, in apply_settings
    '/var/lib/mpd/music/')
TypeError: keyboard_setting() takes at most 3 arguments (5 given)

any ideas?
i have checked out the latest github master

@BerryVZ
Copy link

BerryVZ commented Oct 9, 2016

Have the same thing..

  • Raspberry 2B
  • Installed Jessie light (adafruit.com)
  • Installed service avahi-daemon
  • Installed git (version 2.1.4)
  • Newest python version (2.7.9 [GCC 4.9.2] on Linux2)

When first screen appears 'No Music Directory', the OK button is nearly not pressable, only after many taps on the screen, the program reacts by crashing.

Error:
TypeError: keyboard_setting() takes at most 3 arguments (5 given).

When altering the code by commenting out the last 2 arguments at keyboard_setting(), the program will not crash and show a search window. Here the onscreen keyboard reacts by printing random characters when typing. Must be because of the arguments commented out.

Touchscreen works ok when testing with
sudo TSLIB_FBDEVICE=/dev/fb1 TSLIB_TSDEVICE=/dev/input/touchscreen ts_calibrate

Am a Newbee, please help..

@mark-me mark-me added this to To do in Pi-Jukebox Jul 17, 2019
@mark-me mark-me self-assigned this Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Pi-Jukebox
  
To do
Development

No branches or pull requests

3 participants