Issue #078 [WontFix/closed] - Startup Problem While True

Posted by martin.konstantin.behrens

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 !

Files attached

Comment 1

Posted by trouch

replace "while True" with "def loop()"