Maxxer
unread,Nov 2, 2008, 5:34:23 PM11/2/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gh615
Hi. I've just bought a GH615 but I cannot get it to work on Ubuntu
Intrepid.
I manage to install the requirements (like CherryPy 3.1) but still i'm
having troubles using both console and gui.
when trying to fetch all tracks via console I get this:
=>c
Export all tracks
FYI: Exporting to default format 'gpx' (see config.ini)
Traceback (most recent call last):
File "gh600_console.py", line 270, in <module>
main()
File "gh600_console.py", line 174, in main
choose()
File "gh600_console.py", line 107, in choose
tracks = gh.getAllTracks()
File "/home/maxxer/work/gh615/globalsat/src/gh600.py", line 671, in
getAllTracks
return self.getTracks(self.getAllTrackIds())
File "/home/maxxer/work/gh615/globalsat/src/gh600.py", line 667, in
getAllTrackIds
allTracks = self.getTracklist()
File "/home/maxxer/work/gh615/globalsat/src/gh600.py", line 500, in
serial_required_wrapper
return function(x, *args, **kw)
File "/home/maxxer/work/gh615/globalsat/src/gh600.py", line 850, in
getTracklist
tracklist = self._querySerial('getTracklist')
File "/home/maxxer/work/gh615/globalsat/src/gh600.py", line 562, in
_querySerial
raise GH600SerialException
gh600.GH600SerialException: <gh600.GH600SerialException instance at
0x89d3e0c>
trying to use gui I get this on the browser:
Traceback (most recent call last):
File
"/usr/lib/python2.5/site-packages/cherrypy/wsgiserver/__init__.py",
line
983, in communicate
req.parse_request()
File
"/usr/lib/python2.5/site-packages/cherrypy/wsgiserver/__init__.py",
line
304, in parse_request
self._parse_request()
File
"/usr/lib/python2.5/site-packages/cherrypy/wsgiserver/__init__.py",
line
317, in _parse_request
request_line = self.rfile.readline()
File
"/usr/lib/python2.5/site-packages/cherrypy/wsgiserver/__init__.py",
line
212, in readline
data = self.rfile.readline(256)
File
"/usr/lib/python2.5/site-packages/cherrypy/wsgiserver/__init__.py",
line
823, in readline
nl = data.find('\n', 0, size)
AttributeError: 'cStringIO.StringO' object has no attribute 'find'
as i said it's ubuntu intrepid fresh install, using a gh615. my conf:
[general]
firmware: 1
timezone: Europe/Rome ;must match the setting on the watch
[serial]
comport: /dev/ttyUSB0
baudrate: 57600
timeout: 2
[export]
default: gpx
path: export
[debug]
output: false
any ideas?
I have rw permissions on /dev/ttyUSB0