scubajorgen / TomTomWatch

Tool for exporting GPS files from TomTom Sports Watches
75 stars 16 forks source link

activity is there, not showing on left panel #37

Closed evil-oz closed 8 months ago

evil-oz commented 8 months ago

hello, first of all thank you for this wonderful tool.

i did two walk test with my spark and your tool downloaded them correctly.

Today went for a walk, the program says "downloading 1 file" but then the consolle reports an exception

D:\TomTomWatch>java -jar TomTomWatch.jar i 2023-10-14 12:37:35 Settings read i 2023-10-14 12:37:35 debugLevel=error i 2023-10-14 12:37:35 debuggingMenu=false i 2023-10-14 12:37:35 debugFilePath=.\working\files\ i 2023-10-14 12:37:35 gpxFilePath=.\working\gpx\ i 2023-10-14 12:37:35 routeFilePath=.\working\routes i 2023-10-14 12:37:35 ttbinFilePath=.\working\ttbin i 2023-10-14 12:37:35 autoSaveTtbin=true i 2023-10-14 12:37:35 waypointLogTimeout=5000 i 2023-10-14 12:37:35 simulation=false i 2023-10-14 12:37:35 simulationPath=.\working\simulation\ i 2023-10-14 12:37:35 trackSmoothingEnabled=true i 2023-10-14 12:37:35 trackSmoothingQFactor=2.0 i 2023-10-14 12:37:35 trackCompressionEnabled=false i 2023-10-14 12:37:35 trackCompressionMaxError=0.3 i 2023-10-14 12:37:35 heightService=none i 2023-10-14 12:37:35 heightServiceKey=none i 2023-10-14 12:37:35 mapService=osm i 2023-10-14 12:37:35 mapServiceKey=none i 2023-10-14 12:37:35 quickFixDays=7 i 2023-10-14 12:37:35 downloadAll=true i 2023-10-14 12:37:35 ugotmeGpxExtensions=false i 2023-10-14 12:37:35 garminGpxExtensions=true Exception in thread "Thread-41" java.lang.NullPointerException at net.studioblueplanet.ttbin.Activity.parseRecordPrecision(Activity.java:723) at net.studioblueplanet.ttbin.Activity.parseRecord(Activity.java:947) at net.studioblueplanet.ttbin.TomTomReader.readTtbinFile(TomTomReader.java:378) at net.studioblueplanet.ttbin.TomTomReader.readTtbinFile(TomTomReader.java:483) at net.studioblueplanet.tomtomwatch.CommunicationProcess.downloadActivityFiles(CommunicationProcess.java:998) at net.studioblueplanet.tomtomwatch.CommunicationProcess.lambda$pushCommand$3(CommunicationProcess.java:167) at net.studioblueplanet.generics.SerialExecutor.lambda$execute$0(SerialExecutor.java:55) at java.lang.Thread.run(Unknown Source)

why is that? it is a freestyle activity. I did another fake run of few seconds and it went perfectly. Can manually get the ttbin from some temp directory and troubleshoot it?

Big thanks again and keep up the super work!

image

evil-oz commented 8 months ago

i notice now that in the top screenshot the serial is missing, dunno why... never happened. Just ran it again and its there (but still not showing the walk).

image

scubajorgen commented 8 months ago

Hi

Please send me the TTBin file so I can analyze

Regards

Jörgen

⁣Get BlueMail for Android ​

On 14 Oct 2023, 12:49, at 12:49, evil-oz @.***> wrote:

hello, first of all thank you for this wonderful tool.

i did two walk test with my spark and your tool downloaded them correctly.

Today went for a walk, the program says "downloading 1 file" but then the consolle reports an exception

D:\TomTomWatch>java -jar TomTomWatch.jar i 2023-10-14 12:37:35 Settings read i 2023-10-14 12:37:35 debugLevel=error i 2023-10-14 12:37:35 debuggingMenu=false i 2023-10-14 12:37:35 debugFilePath=.\working\files\ i 2023-10-14 12:37:35 gpxFilePath=.\working\gpx\ i 2023-10-14 12:37:35 routeFilePath=.\working\routes i 2023-10-14 12:37:35 ttbinFilePath=.\working\ttbin i 2023-10-14 12:37:35 autoSaveTtbin=true i 2023-10-14 12:37:35 waypointLogTimeout=5000 i 2023-10-14 12:37:35 simulation=false i 2023-10-14 12:37:35 simulationPath=.\working\simulation\ i 2023-10-14 12:37:35 trackSmoothingEnabled=true i 2023-10-14 12:37:35 trackSmoothingQFactor=2.0 i 2023-10-14 12:37:35 trackCompressionEnabled=false i 2023-10-14 12:37:35 trackCompressionMaxError=0.3 i 2023-10-14 12:37:35 heightService=none i 2023-10-14 12:37:35 heightServiceKey=none i 2023-10-14 12:37:35 mapService=osm i 2023-10-14 12:37:35 mapServiceKey=none i 2023-10-14 12:37:35 quickFixDays=7 i 2023-10-14 12:37:35 downloadAll=true i 2023-10-14 12:37:35 ugotmeGpxExtensions=false i 2023-10-14 12:37:35 garminGpxExtensions=true Exception in thread "Thread-41" java.lang.NullPointerException at net.studioblueplanet.ttbin.Activity.parseRecordPrecision(Activity.java:723) at net.studioblueplanet.ttbin.Activity.parseRecord(Activity.java:947) at net.studioblueplanet.ttbin.TomTomReader.readTtbinFile(TomTomReader.java:378) at net.studioblueplanet.ttbin.TomTomReader.readTtbinFile(TomTomReader.java:483) at net.studioblueplanet.tomtomwatch.CommunicationProcess.downloadActivityFiles(CommunicationProcess.java:998) at net.studioblueplanet.tomtomwatch.CommunicationProcess.lambda$pushCommand$3(CommunicationProcess.java:167) at net.studioblueplanet.generics.SerialExecutor.lambda$execute$0(SerialExecutor.java:55) at java.lang.Thread.run(Unknown Source)

why is that? it is a freestyle activity. I did another fake run of few seconds and it went perfectly. Can manually get the ttbin from some temp directory and troubleshoot it?

Big thanks again and keep up the super work!

image

-- Reply to this email directly or view it on GitHub: https://github.com/scubajorgen/TomTomWatch/issues/37 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

evil-oz commented 8 months ago

as i cannot "see" the run, i cannot download it. I dont know where i can get the TTBIN file.

as soon as i try to download, two files appears in my %appdata%\temp folder, maybe its one of these two? They get both deleted as soon as i exit the app.

if there is another way to retrieve ttbin files, let me know, i will try.

thanks for support

tempfiles.zip

scubajorgen commented 8 months ago

Hi

TTBIN files are automatically saved in .\working\ttbin However, because of the exception, the ttbin file won't get saved.

Under what activity did you log the walk?? You need to log it under an activity that tracks the GPS.

You can save the TTBIN as follows:

  1. enable debugging menu in tomtomwatch.properties by setting debuggingMenu=true; you now get a debugging option in the menu bar

  2. Choose List all files. This shows a list of all files on the watch. Track files are numbered from 0x00910000, so like 0x00910000 125247 0x00910001 729614 0x00910002 211096 ... First logged file is 0x00910000, second you log is 0x00910001, etc

  3. Choose 'Download file'. Now select the file that contains the error and enter the number. For example, if it is the last file you logged and the last 0x0091nnnn file is 0x00910003, then enter: '0x00910003' File is saved to: .\working\files\0x00910003.bin

  4. Send me this file please

Jorgen

On Mon, Oct 16, 2023 at 5:36 AM evil-oz @.***> wrote:

as i cannot "see" the run, i cannot download it. I dont know where i can get the TTBIN file.

as soon as i try to download, two files appears in my %appdata%\temp folder, maybe its one of these two? They get both deleted as soon as i exit the app.

if there is another way to retrieve ttbin files, let me know, i will try.

thanks for support

tempfiles.zip https://github.com/scubajorgen/TomTomWatch/files/12911791/tempfiles.zip

— Reply to this email directly, view it on GitHub https://github.com/scubajorgen/TomTomWatch/issues/37#issuecomment-1763673894, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGIC7GSJUQDT5DO4R25KWSDX7STTXANCNFSM6AAAAAA6AFQEHI . You are receiving this because you commented.Message ID: @.***>

--


                           O
      ><{(°>               o
                            <°)><
evil-oz commented 8 months ago

list files gives a long list

there is only one starting with 0x0091

here it is

0x00910000.zip

hope i did all right

big thanks again. btw.. let me know if there is a way to repay your time with a small donation, will be more than happy to give few bucks for the effort..

scubajorgen commented 8 months ago

You certainly did. I solved the issue. Apparently you did shopping @ Bosco in Trieste ;-)

evil-oz commented 8 months ago

You certainly did. I solved the issue. Apparently you did shopping @ Bosco in Trieste ;-)

yup! was short on milk!

as soon as the binary is up on the website will try it out. Thanks alot :D