Skip to content

not working on Debian Stretch #384

@hashworks

Description

@hashworks

Hi, how is the progress of ev3dev-lang-python for Debian Stretch?

I'm using images that descend from the ev3dev-stretch-ev3-generic docker builds on ev3 bricks.

When starting robertlab I get a File not found error since it tries to use /dev/input/by-path/platform-gpio-keys.0-event, which apperently got replaced by /dev/input/by-path/platform-gpio_keys-event.
Since both linked to /dev/input/event0 I can simply add that file, but then I get another error:

INFO:roberta:--- starting ---
INFO:roberta.lab:python path: /usr/bin:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabi:/usr/lib/python3.5/lib-dynload:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages

INFO:roberta.lab:status changed: disconnected
Traceback (most recent call last):
  File "/usr/bin/openrobertalab", line 41, in <module>
    main()
  File "/usr/bin/openrobertalab", line 36, in main
    service = Service('/org/openroberta/Lab1')
  File "/usr/lib/python3/dist-packages/roberta/lab.py", line 88, in __init__
    self.hal.clearDisplay()
  File "/usr/lib/python3/dist-packages/roberta/ev3.py", line 179, in clearDisplay
    self.lcd.update()
  File "/usr/lib/python3/dist-packages/ev3dev/core.py", line 3135, in update
    self.mmap[:] = self._img.tobytes("raw", "1;IR")
IndexError: mmap slice assignment is wrong size
INFO:roberta:--- done ---

I opened an issue on the robertalab repo, but @ensonic told me this needs to be updated first before he can do anything.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions