PoMoCo GUI error on Mint

Hello,

I have a serious problem to continue with Hexy. There is really few documentation for beginners and now de PoMoCo GUI doesn’t run properly. When I start it on terminal I only get a cross and after four clickings I get next message:

PoMoCo-1.0 $ ./PoMoCo.py

./PoMoCo.py: line 5: sys.dont_write_bytecode: command not found
./PoMoCo.py: line 6: syntax error near unexpected token 'Moves'' ./PoMoCo.py: line 6:sys.path.append(‘Moves’) # include the moves folder’

I’m also block on knowing what is really on hexy, because Arduino doesn’t return anything with V command.

Sorry for my horrible English, and thank you for your atention.

What OS are you using? Do you know what version of Python you have installed?

At a guess, it looks like you’re trying to execute PoMoCo as a script, this isn’t correct. It must be run through Python with a command that looks something like this:

If you’re using Linux, you may need to run this command as root to give python the necessary privileges.

Come back if you have any other problems, chances are someone’s already got a solution for you.

Thank you,

I think I ready have tried
phyton PoMoCo.py

but however I have instaled python and piserial it returns error too. I’m not at home but I will try your recomendations sun.

Thank you again.

Hello again,

I don’t know how continue,

I added

#!/usr/bin/python

like first line on PoMoCo.py

I have changed PATH variable

export PATH=/home/eneko/Documentos/eskarneVBox/Hexy/PoMoCo-1.0:$PATH

I execute
user$ /usr/bin/env python

Python 2.7.3 (default, Apr 10 2013, 05:13:16)
[GCC 4.7.2] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.

and

I get

PoMoCo
Traceback (most recent call last):
File “”, line 1, in
NameError: name ‘PoMoCo’ is not defined

PoMoCo.py
Traceback (most recent call last):
File “”, line 1, in
NameError: name ‘PoMoCo’ is not defined

Any sugestion?

Thanks you very much.

Eskimal

Hello,

10 minute to run it on Debian… I’ll continue with Debian.

Thank you very much.

That would be why we only officially support Ubuntu…

Seriously. Go look around the forums at how many weird software errors people get by trying to use all these different linux flavors or alternative flavors of arduino.

Hello,

today it runs on Mint, perhaps any update…

PoMoCo runs, but my Hexy doesn’t move! :slight_smile:

What seems to be the problem? Does ithe GUI come up, but the serial fails to connect? How much time did you give it to connect?