Skip to content

"AssertionError" / Stuck at #134

Open
@OnStandBi00

Description

@OnStandBi00

Using Raspberry Pi Zero 2 W and a small HD screen (before doing the wiring).
Upon booting, the pi shows the boot image, but then doesn't do anything else.
On the logs, I see the following messages roughly every 30 seconds:
"
main Starting Train Departure Display v0.5.5
main Traceback (most recent call last):
File "/usr/src/app/src/main.py", line 517, in
virtual.refresh()
File "/usr/src/python-packages/luma/core/virtual.py", line 123, in refresh
im = self._backing_image.crop(box=self._crop_box())
^^^^^^^^^^^^^^^^
File "/usr/src/python-packages/luma/core/virtual.py", line 135, in _crop_box
assert 0 <= top <= bottom <= self.height
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
Service exited 'main sha256:66d96cf4132b46a60c1c17e210f9d64ffc50a58879cd73fd459334d4a43a1c26'
Restarting service 'main sha256:66d96cf4132b46a60c1c17e210f9d64ffc50a58879cd73fd459334d4a43a1c26'
"
If there is any suggestions, I have tried reformatting the SD card, redeploying the fleet, fiddling with the variables and trying to deploy both as Personal and Development. Nothing has seemed to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions