PoMoCo on Ubuntu

Currently unable to launch PoMoCo running under Ubuntu (well technically Xubuntu 12.04 - xfce desktop environment). Python and PySerial at 2.7.3 and 2.6 respectively.

First launch attempt stated that I was missing the python-tk package. Simple fix there:

Trying to launch again gives the following error:

Traceback (most recent call last): File "PoMoCo.py", line 9, in <module> import servotorComm File "PoMoCo/servotorComm.py", line 4, in <module> import serial.tools.list_ports ImportError: No module named tools.list_ports

I’m totally new to Python and am at a loss. Any advice? Thanks, Rob

I had to tackle this last night. See my other post

I assume from your post you have downloaded pySerial 2.6, but have you installed it?

To do so from the terminal prompt change into the directory where you have extracted pyserial2.6 to and type the following:

Restart python and you should be right!

Bingo!

Thanks for the help. I thought I’d checked the forums for this, must have missed your post.

To clarify, I had Python installed and noted that the command:

Stated that the package was already installed, but clearly the main Python package was unaware of this until I issued the command in the previous post.

Now the PoMoCo GUI loads. New problem is that I’m using an old netbook with a screen resolution of only about 1000x600 pixels, so all the buttons didn’t fit onto my display (and you can’t scroll the GUI). Fixed by adding the parameter:

to each of the Buttons and Labels etc in the file GUI.py.

Fantastic! Glad it worked for you :smiley: