Pitmairen / bryton-gps-linux

An attempt to read Bryton GPS devices on Linux
GNU General Public License v3.0
29 stars 14 forks source link

Error: Unknown type (-40) for TrackPointSegment #18

Closed ujkn closed 11 years ago

ujkn commented 11 years ago

Hi,

I try to export one of my track and I get the error when I do the command : python brytongps.py --tracks 0 --tcx

Error: Unknown type (-40) for TrackPointSegment

I have only Linux so I don't know how to send you a file to replicate.

Thanks for your work!

Pitmairen commented 11 years ago

If you can send me the output of dump.py i will try to fix it.

ujkn commented 11 years ago

I've send you the output per email.

I had to comment out the parser it has never worked with me, never been able to reach the find_device()

After that I had the error : It seems like you are using a newer device with a FAT12 filesystem, dump.py is not useful with these devices ...

Pitmairen commented 11 years ago

Ok, i forgot to ask which device model you've got?

I saw 40 in the title so i was automatically thinking you got a rider40 :)

It seems you have a newer device with FAT filesystem so dump.py is not usefull.

ujkn commented 11 years ago

sorry, it's a rider 20 plus.

Pitmairen commented 11 years ago

Could you send me the files in the TRK, SSL and GAL directories on the device? They should be in the Data/History/ folder when the device is mounted.

ujkn commented 11 years ago

In attachment.

2013/8/5 Pitmairen notifications@github.com

Could you send me the files in the TRK, SSL and GAL directories on the device? They should be in the Data/History/ folder when the device is mounted.

— Reply to this email directly or view it on GitHubhttps://github.com/Pitmairen/bryton-gps-linux/issues/18#issuecomment-22137303 .

Pitmairen commented 11 years ago

You need to send it directly to my email progrper -> gmail.com

attachments are removed when sent through github.

Pitmairen commented 11 years ago

I have update the code. It seems to be working, but i can't be 100% sure since i don't have the bdx files to compare with. You should check the output and see if everything looks ok.

Also it seems like your device is not recording any elevation data, i'm not sure if this is correct or not.

ujkn commented 11 years ago

It works, thanks a lot! Elevation data seems to be right. I've never been able to see it on my device, only when I import it on Strava or Bryton website. Thanks