armindoantunes / gh615

Automatically exported from code.google.com/p/gh615
0 stars 0 forks source link

unable to connect to GH625 with Ubuntu #47

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I'm running Xubuntu 13.10 with packages "python" 3.3 and "python-serial" 
installed.

I  attach the GH625 to the computer with the USB cable and turn it on. 

I verify the comport and set it to ttyUSB0 in the config.ini

On the GH625 I select Configuration->Data link to PC.

I go in the terminal to the directory where I unzipped the gh600 python package 
(build_186_py.zip).

I run the python program :
  python gh600_console.py c -o /tmp/ 
          or
  python gh600_console.py a

I always get the same error message :
"Traceback (most recent call last):
  File "gh600_console.py", line 4, in <module>
    from gh600 import GH600, ExportFormat, Utilities
  File "/home/jneu/Téléchargements/Gh615/gh600.py", line 12, in <module>
    from templates import Template
  File "/home/jneu/Téléchargements/Gh615/templates.py", line 133, in <module>
    from compiler.consts import SC_LOCAL, SC_GLOBAL, SC_FREE, SC_CELL
ImportError: cannot import name SC_GLOBAL"

Can you help me ?

Best regards

Original issue reported on code.google.com by jnmu...@gmail.com on 29 May 2014 at 9:04