dyvardana / webiopi

Automatically exported from code.google.com/p/webiopi
0 stars 0 forks source link

Startup Problem While True #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.add while True:
2.
3.
...

WebIOPi version used?
=>0.6.0

Python version used?
=>

Distro used? (WebIOPi has only been tested on Raspbian Wheezy)
=>Raspian Wheezy

Raspberry Pi board revision? (1 or 2)
=>2

For Javascript side bugs, Browser?
=>Firefox 26.0

Please provide any additional information below.
Ich have a pythonscript with the following Line: "while True: if 
GPIO.digitalRead(Alarm):...
that works if I start this without WebIOPi.
But if I copy this file into my folder to load this from WebIOPi. The startup 
of the Server stopped at "Loading myproject".
Please Help !

Original issue reported on code.google.com by martin.k...@googlemail.com on 22 Jan 2014 at 2:48

Attachments:

GoogleCodeExporter commented 9 years ago
replace "while True"
with "def loop()"

Original comment by tro...@trouch.com on 22 Jan 2014 at 2:51