armindoantunes / gh615

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

Problem when downloading tracks from gh625M (windows) #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Connecting the gps watch (gh625M)
2. Running 'gh600_console.exe c -f fitlog -m' from command line

What is the expected output? What do you see instead?

I'm getting the Error message:

Traceback (most recent call last):
  File "gh600_console.py", line 265, in <module>
  File "gh600_console.py", line 233, in main
  File "gh600.pyo", line 452, in exportTracks
  File "gh600.pyo", line 445, in exportTrack
  File "gh600.pyo", line 466, in __export
  File "ntpath.pyo", line 91, in join
TypeError: 'NoneType' object is unsubscriptable

What version of the product are you using? On what operating system?

Build_186, win 7 32bit

Provide any additional information below:

I also get the error when I change the parameters, e.g.

gh600_console.exe c -f csv

or when I try to download single tracks.

Nevertheless thanks for the program and the great effort, downloading some 
basic information e.g. 'gh600_console.exe a' works fine.

Original issue reported on code.google.com by dr.pfann...@googlemail.com on 17 Jan 2012 at 10:37

GoogleCodeExporter commented 8 years ago
I also have problem with export on win7 64 bit.

Here is the trace:

>gh600_console.exe b --track 96
DEBUG _connectSerial(515): serial connection on COM5
DEBUG _writeSerial(533): writing to serialport: 020001BFBE
DEBUG _writeSerial(537): waiting at serialport: 0
DEBUG _readSerial(543): serial port returned:
DEBUG _querySerial(556): no data at serial port, retry command #1
DEBUG _writeSerial(533): writing to serialport: 020001BFBE
DEBUG _writeSerial(537): waiting at serialport: 0
DEBUG _readSerial(543): serial port returned:
DEBUG _disconnectSerial(523): serial connection closed
DEBUG _connectSerial(515): serial connection on COM5
DEBUG _writeSerial(533): writing to serialport: 0200058000010060E4
DEBUG _writeSerial(537): waiting at serialport: 2070
DEBUG _readSerial(543): 8008120C061107280400005D8A0000... (truncated)
DEBUG getTracks(864): initalizing new track
DEBUG getTracks(869): getting trackpoints 0-135
DEBUG _writeSerial(533): writing to serialport: 0200018180
DEBUG _writeSerial(537): waiting at serialport: 1875
DEBUG _readSerial(543): 80074F0C061107280400005D8A0000... (truncated)
DEBUG getTracks(864): initalizing new track
DEBUG getTracks(881): last segment Errornous, re-requesting
DEBUG _writeSerial(533): writing to serialport: 0200018283
DEBUG _writeSerial(537): waiting at serialport: 1875
DEBUG _readSerial(543): 80074F0C061107280400005D8A0000... (truncated)
DEBUG getTracks(881): last segment Errornous, re-requesting

Original comment by novakj...@gmail.com on 20 Jun 2012 at 8:57