Skip to content

not working on Debian Stretch #384

Closed

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.

Activity

  1. ddemidov commented on Sep 28, 2017

    @ddemidov
    Member

    Related to #381

  2. hashworks commented on Sep 28, 2017

    @hashworks
    Author

    Ah, sorry. Completly missed that one

  3. WasabiFan commented on Sep 28, 2017

    @WasabiFan
    Member

    Yeah, we're currently working on an initial Stretch release. I'm hoping to get that out for testing within a week or two at most. Until then, you'll either have to download a work-in-progress version of the library for use temporarily or use ev3dev-jessie.

  4. dwalton76 commented on Oct 8, 2017

    @dwalton76
    Collaborator

    See PR #400 (assigning to Denis)

  5. dwalton76 commented on Nov 10, 2018

    @dwalton76
    Collaborator

    Any objections to closing this one? We have pretty good stretch support now.

  6. WasabiFan commented on Nov 10, 2018

    @WasabiFan
    Member

    Yeah, I think we're good to close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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