pmb-pitft icon indicating copy to clipboard operation
pmb-pitft copied to clipboard

Screen sudo python... won't execute

Open lolwhereami opened this issue 10 years ago • 6 comments

When I run the command (after everything else works), I don't get any output in terminal or are screen. Here is what the code is showing:

root@MusicBox:~# screen sudo python /root/pmb-pitft/pmb-pitft/ui.py root@MusicBox:~# dmesg | tail [ 21.084039] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup [ 21.095910] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 22.682048] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 [ 22.715451] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 33.170861] watchdog stopped [ 34.694913] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup [ 35.605459] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup [ 37.137493] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 [ 48.698345] ip_tables: (C) 2000-2006 Netfilter Core Team [ 48.731387] nf_conntrack version 0.5.0 (5944 buckets, 23776 max)

lolwhereami avatar Feb 25 '15 02:02 lolwhereami

If you run screen -rd do you then see something?

ISO-B avatar Feb 26 '15 10:02 ISO-B

still see nothing when i run that comment says there is no screen to be detached.

lolwhereami avatar Feb 28 '15 01:02 lolwhereami

since i have the capacitive screen i ran your corrections in the other thread to no avail.

lolwhereami avatar Feb 28 '15 01:02 lolwhereami

Did you changed font? I updated installing guide. Near end is help for that.

If that did not help try running sudo python /root/pmb-pitft/pmb-pitft/ui.py without screen so you can see error message.

ISO-B avatar Mar 01 '15 17:03 ISO-B

root@MusicBox:~# sudo python /root/pmb-pitft/pmb-pitft/ui.py Traceback (most recent call last): File "/root/pmb-pitft/pmb-pitft/ui.py", line 38, in pygame.mouse.set_visible(False) pygame.error: video system not initialized root@MusicBox:~#

lolwhereami avatar Mar 02 '15 02:03 lolwhereami

Which raspberry pi you are using and which version of PiTFT? What uname -a command returns? if it returns "Linux PMB 3.18.5+ ...." I would suggest to try running commands from installing guide again. Start after installing Pi MusicBox part.

ISO-B avatar Mar 02 '15 04:03 ISO-B