Skip to content

robertalab needs porting for ev3dev-stretch #71

@deckers

Description

@deckers

After installing the stable ev3dev stretch release (ev3dev-stretch-ev3-generic-2019-03-03.img, Kernel 4.14.96-ev3dev-2.3.2-ev3, followed by sudo apt-get update ; sudo apt-get upgrade => openrobertalab/stable,now 1.7.1+1.0.0 all) I had to notice that OpenRoberta Lab seems to produce incompatible python code.
Neither motor movement nor speech works because of missing arguments or methods/attributes:

ERROR:roberta.lab:Ooops:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/roberta/lab.py", line 278, in _exec_code
exec(compiled_code, scope)
File "/home/robot/NEPOprog.py", line 18, in <module>
'B':Hal.makeLargeMotor(ev3dev.OUTPUT_B, 'on', 'foreward'),
TypeError: makeLargeMotor() missing 1 required positional argument: 'side'

The corresponding program:
Zwischenablage01

ERROR:roberta.lab:Ooops:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/roberta/lab.py", line 278, in _exec_code
exec(compiled_code, scope)
File "/home/robot/NEPOprog.py", line 23, in <module>
hal.setLanguage("de")
AttributeError: 'Hal' object has no attribute 'setLanguage'

Do I have to use the old jessie distribution instead of stretch?

Metadata

Metadata

Assignees

No one assigned

    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