Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Geschrieben

Hallo zusammen,

 

Ich habe das Weater Station gekauft. Ich möchte Sie mit Raspberry Pi benutzen. Dafür möchte ich dass ein Python Script automatisch nach dem boot ausgeführt wird. (in /etc/rc.local des PI eingegeben)

 

Ich bekomme dieser Fehler.

 

Traceback (most recent call last):

  File "/home/pi/tinkerforge/ws-callback.py", line 99 in <module>

    raw_input('Press key to exit\n')

EOFError: EOF when reading a line

Exception in thread Disconnect-Prober (Most likely raised during interpreter shutdown) :Exception in thread Brick-Receiver (most likely rtaised during interpreter shutdown):

Traceback (most recent call last):

  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner

  File "/usr/lib/python2.7/threading.py", line 505, in run   

Traceback (most recent call last):

  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner  File "/home/pi/tinkerforge/ws-callback.py", line 681, in receive_loop

  File "/usr/lib/python2.7/threading.py", line 505, in run   

<type exception'exceptions.TypeError'>: 'NoneType? object is not collalbe

  File "/home/pi/tinkerforge/ws-callback.py", line 816, in disconnect_probe_loop

 

  File "/usr/lib/python2.7/Queue.py" lione 174, in get

<type 'exceptions.TypeError'> 'NoneType' object is not collable

 

jede Hilfe wird dankbar sein

 

Entschuldigen mein Deutsch ist noch nicht sehr gut.

 

tchüss

 

 

 

Geschrieben

Ein über init-Skript ausgeführtes Programm hat kein stdin und kein stdout (bzw. diese sind "geschlossen").

 

Das passt auch zur Fehlermeldung: EOF when reading a line.

 

Du musst den "raw_input" ausbauen und durch einen anderen Warte-Mechanismus ersetzen.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.