Giter VIP home page Giter VIP logo

qgis-fit-plugin's Issues

Works well with Edge 520 Plus fit files

I guess all of the devices in the Edge 5xx series would use the same core firmware, but just for completeness, I can say that the Edge 520 Plus files import fine. Thanks for the plugin!

Error on import

When importing a FIT-File I get the following Python error:

TypeError: '>=' not supported between instances of 'datetime.datetime' and 'NoneType'
Traceback (most recent call last):
File "C:\Users//AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis-fit-plugin\fit.py", line 694, in opendialog
self.import_fit()
File "C:\Users/
/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis-fit-plugin\fit.py", line 776, in import_fit
self.fit2gpx_and_sqlite(infile)
File "C:\Users/****/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis-fit-plugin\fit.py", line 602, in fit2gpx_and_sqlite
if not r_timestamp==None and r_timestamp>=session_start_time and r_timestampTypeError: '>=' not supported between instances of 'datetime.datetime' and 'NoneType'

File opens without issues in GPXSee.

PermissionError: [Errno 13] Permission denied: '/layer_styles.csv'

I get the following error after filling in the first to fields (required) on the 'FIT file importer', the first pointing to the wahoo elemnt exports folder and the second one a folder within my ubuntu documents, then click OK:

newlayerstylesfile = open(os.path.join(os.path.dirname(tempfile.gettempdir()),"layer_styles.csv"), "w+")
PermissionError: [Errno 13] Permission denied: '/layer_styles.csv'
Python version: 3.8.10 (default, Jun 22 2022, 20:18:18) [GCC 9.4.0]
QGIS version: 3.26.2-Buenos Aires Buenos Aires, feec3d3b12

FIT file importer cannot see .fit in lower case

On the wahoo elemnt, FIT files are named with a lower case file extension, the file importer expect upper case *.FIT and cannot see the files.
Workaround: renaming the FIT file with an upper case extension allow the FIT file importer to see the files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.