FrameOS / frameos

Operating system for single function smart frames
https://frameos.net/
Apache License 2.0
331 stars 9 forks source link

No compiling #94

Closed semml0r closed 3 months ago

semml0r commented 3 months ago

Thanks for creating this tool, so far I could not get it compiled.

Host used: I tried using host via Unraid Docker. I also tried using standalone Docker on my MacBook using the latest image.

Display used: Raspberry Pi Zero W with Waveshare 7.5 800x480 b&w e-Ink display attached to it.

Creating a single scene to just display time, using a template on both host systems results in the same issue:

2024-06-05 08:11:18
/tmp/tmpg_54cb4q/frameos/src/lib/httpclient.nim(345, 35) Hint: 'code' cannot raise 'OverflowDefect' [XCannotRaiseY]
2024-06-05 08:11:18
/tmp/tmpg_54cb4q/frameos/src/lib/httpclient.nim(345, 35) Hint: 'code' cannot raise 'OverflowDefect' [XCannotRaiseY]
2024-06-05 08:11:18
/opt/nim/lib/pure/asyncmacro.nim(361, 14) Hint: 'await' is declared but not used [XDeclaredButNotUsed]
2024-06-05 08:11:18
..........................
2024-06-05 08:11:18
/tmp/tmpg_54cb4q/frameos/src/scenes/scene_f4d9654c6963478ebb658aee63f90ca5.nim(104, 9) Error: expected: ')', but got: 'size'
2024-06-05 08:11:18
The command exited with status 1
2024-06-05 08:11:18
Error in src/scenes/scene_f4d9654c6963478ebb658aee63f90ca5.nim:104:9
2024-06-05 08:11:18
Line 104: size: 2.0
2024-06-05 08:11:18
..................^
2024-06-05 08:11:18
Failed to generate frameos sources
2024-06-05 08:11:18
SSH connection closed
semml0r commented 3 months ago

update: I disabled "QR Control Code" and now it seems to compile, at least it is at 6/132. Will post updates.

semml0r commented 3 months ago

it compiles once "QR Control Code" is disabled.