OpenRoberta / robertalab-ev3dev

roberta lab connector for ev3dev
Apache License 2.0
17 stars 14 forks source link

need to update the interpreter in generated code to run via python3 #24

Closed JimZam closed 7 years ago

JimZam commented 7 years ago

Good evening. Finally open roberta works for me from the webbrowser :-) but now, if I try to run NEPOprog.py from the command line I get the following error and it doesn't work. Thank you and regards

Antonio

File "NEPOprog.py", line 4, in from roberta.ev3 import Hal

ensonic commented 7 years ago

I need to update the "#!/usr/bin/python", but that will need another release :/ I was hoping that the default python version is controlled via the alternatives system, but is not :/ /usr/bin/python is installed via python-minimal and python3-minimal installs /usr/bin/python3, meh. You can just edit it manually for now.

Also you will need to run them from the FileBrowser (Brickman), otherwise it won't get switch to a new screen and your screen output and button checks won't work.

JimZam commented 7 years ago

Thank you ensonic. That way probably i'll be able to uninstall python-ev3dev as apt-get upgrade sugests. Regards

ensonic commented 7 years ago

Yes,python-ev3dev can be removed now. I'll do more testing and release a new version in 1-2 weeks.

JimZam commented 7 years ago

Good morning Stefan. Thank you for your help.

Kind regards

 

Antonio

 

Sent: Thursday, November 10, 2016 at 9:46 PM From: "Stefan Sauer" notifications@github.com To: OpenRoberta/robertalab-ev3dev robertalab-ev3dev@noreply.github.com Cc: Antonio2001 jimzam@gmx.com, "State change" state_change@noreply.github.com Subject: Re: [OpenRoberta/robertalab-ev3dev] need to update the interpreter in generated code to run via python3 (#24)

Yes,python-ev3dev can be removed now. I'll do more testing and release a new version in 1-2 weeks.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.