-
Notifications
You must be signed in to change notification settings - Fork 14
Description
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'
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?
