Closed GoogleCodeExporter closed 9 years ago
Did you specify Source=Path ?
https://code.google.com/p/kalenji-gps-watch-reader/wiki/ConfigurationFile#Suppor
t_of_OnMove_510_and_OnMove_710
If not, this may be the issue.
Original comment by colin.pi...@gmail.com
on 31 Jul 2014 at 3:23
thanks for your prompt reply!
source=Path + path=/media/... was not in the configuration file, so I added
them. still no change.
Here is my cfg file, just in case I would have set something else wrong.
The config file is actually read, because I see the applied filters in the
output.
T.
Original comment by ctomtom...@gmail.com
on 31 Jul 2014 at 6:27
Attachments:
I understand your problem.
It comes from your configuration file:
outputs=GPX,GoogleMap,KML,Kalenji
Kalenji outputs allows to upload a session (usually from a GPX file) to a
Kalenji watch (W Kalenji 300 GPS, CW Kalenji 700 GPS, On Move 500, On Move 700
and Keymaze 700 Trail).
In your case, it tries to export your sessions in all the output format
specified (GPX, HTML, KML) and then upload to such a watch, which fails as
there is no matching watch connected.
You can fix your issue by removing Kalenji from output list in your
configuration file.
However, I'll keep the issue open to catch the error and improve both the error
message and the behaviour in such a case.
Regards,
Colin
Original comment by colin.pi...@gmail.com
on 2 Aug 2014 at 9:27
OH! ok!
This is what happens when trying to want more!
It now works like a charm!
I also have "OVER_QUERY_LIMIT" error from GoogleAPI... I bet I shall add the
right filter to reduce the number of points to 200.
Thank you very much!
Thomas.
Original comment by ctomtom...@gmail.com
on 2 Aug 2014 at 12:37
You shouldn't use the ReducePoints filter when importing data. It is only aimed
for uploading a session to the watch, because Kalenji watches have strict
limitations on this (200 points max).
The OVER_QUERY_LIMIT should only happen after importing a lot of sessions or
some very long ones, or importing multiple times the same sessions. Typically,
I have it when I run my tests 10 or 20 times.
It shouldn't happen in normal usage, except if you do a long session (> few
hours) or only import occasionally. The total duration that you should be able
to import without error is ~7 hours with 1 point per second.
Limitations are detailed here:
https://developers.google.com/maps/documentation/elevation/#Limits
If you have it more often, it may be due to the 10 requests per second
limitation. If this is the case, I should add a small wait between each query
to ensure this limits is never reached.
I also thought once to reduce a bit the risk of reaching this error by adding
an option to only request every X points and interpolate in between, maybe
mixing with elevation data coming from the watch.
Concerning your initial problem, I patched the code to be more resilient. The
output would now be:
Creating /tmp/20140802_130908.kml
Error: couldn't export to output Kalenji:USB device not found !
Creating /tmp/20140802_130908.gpx
and the process continues (all other files are created correctly) instead of
the initial obscure error you had that stopped the processing.
Regards,
Colin
Original comment by colin.pi...@gmail.com
on 2 Aug 2014 at 2:23
Marking this bug as fixed (in SVN).
I also patched to slow down the queries made to Google Elevation API to ensure
the limit of 10 queries per second is never reached.
This will slightly slow down the application of the filter but this should be
more robust. Tell me if you still have issue with it in SVN version.
Regards,
Colin
Original comment by colin.pi...@gmail.com
on 2 Aug 2014 at 2:29
Sorry, 404!
https://kalenji-gps-watch-reader.googlecode.com/svn/downloads/sources/kalenji-gp
s-watch-reader-4.8.tar.gz is "not found".
Thomas.
Original comment by ctomtom...@gmail.com
on 5 Aug 2014 at 4:29
Yes, this is an issue with Google Code:
http://code.google.com/p/support/issues/detail?id=33479
I hope they will fix it soon. In the mean time, you can use svn to retrieve the
source code:
svn checkout http://kalenji-gps-watch-reader.googlecode.com/svn/trunk/
kalenji-gps-watch-reader
(you need to have the package subversion or svn installed)
Regards,
Colin
Original comment by colin.pi...@gmail.com
on 5 Aug 2014 at 9:01
Sorry I did not get your "in SVN" right the first time! Got the new version,
compiled it, run it.
It is working much better, though I still had a GoogleAPI OVER_QUERY_LIMIT
between import #10 and import #11.
Anyway, I admit importing more than 5-7 sessions must be really exceptional! In
my opinion, it could remain as it is now.
Thanks a lot for your time and corrections!
Best regards,
Thomas.
Original comment by ctomtom...@gmail.com
on 5 Aug 2014 at 9:16
Attachments:
Original issue reported on code.google.com by
ctomtom...@gmail.com
on 31 Jul 2014 at 1:56