wld1 app do not start from TXT-GUI.
Problem Description
After deployment of WLD1 station package to Fischertechnik model, the startup
runner module is execuable via ssh
but can neither launched from TXT touchscreen nor from TXT Browser-Interface. The launch
Analysis
- The string
starting app…
instartup.py
, line 45, contains an HORIZONTAL ELLIPSIS character (UTF-8: U+2026, hex:) at the end which breaks launching the app via TXT GUI. Replace that character by three single dots:...
. - The shebang is followed by a hex: 0A (nano: ^M). This seems to be the main reason which app is not launched. Removing this let the app start.
Solution
- Fix the the string 'starting app...'
- Assert:
- either that packed
py
and other text files are transformed to unix file format with x:0D end of line instead of x:OD OA before packaging. - or that at least the shebang of
startup.py
is followed by a unix new line. The rest seems to be no problem.
- either that packed
Edited by Ralf Banning