Coder Social home page Coder Social logo

Comments (8)

tcgoetz avatar tcgoetz commented on July 17, 2024

Try 1.2.2: https://github.com/tcgoetz/GarminDB/releases/tag/v1.2.2

from garmindb.

christian-ho avatar christian-ho commented on July 17, 2024

Same error with version 1.2.2.

from garmindb.

tcgoetz avatar tcgoetz commented on July 17, 2024

Maybe there is still an error, but it can't be the same error. The code is different. Can you post the error?

from garmindb.

christian-ho avatar christian-ho commented on July 17, 2024

Only the line numbers changed:

Processing FileType.activity FIT data from /home/christian/HealthData/FitFiles/Activities
Traceback (most recent call last):
  File "garmin.py", line 389, in <module>
    main(sys.argv[1:])
  File "garmin.py", line 382, in main
    analyze_data(debug)
  File "garmin.py", line 225, in analyze_data
    analyze.get_stats()
  File "/home/christian/Projekte/GarminDB/analyze_garmin.py", line 173, in get_stats
    self.__get_activities_stats()
  File "/home/christian/Projekte/GarminDB/analyze_garmin.py", line 94, in __get_activities_stats
    stat_logger.info("Sports: %s", ', '.join(sports) if sports is not None else '')
TypeError: sequence item 6: expected str instance, NoneType found
Command exited with non-zero status 1
/usr/bin/time
Makefile:121: recipe for target 'update_garmin' failed
make: *** [update_garmin] Error 1

from garmindb.

tcgoetz avatar tcgoetz commented on July 17, 2024

try v1.2.3: https://github.com/tcgoetz/GarminDB/releases/tag/v1.2.3

from garmindb.

christian-ho avatar christian-ho commented on July 17, 2024

Thanks for your efforts Tom, now I get another error message (after generating tables):

Traceback (most recent call last):
  File "garmin.py", line 389, in <module>
    main(sys.argv[1:])
  File "garmin.py", line 382, in main
    analyze_data(debug)
  File "garmin.py", line 227, in analyze_data
    analyze.create_dynamic_views()
  File "/home/christian/Projekte/GarminDB/analyze_garmin.py", line 304, in create_dynamic_views
    course_ids = gc_config.course_views('steps')
  File "/home/christian/Projekte/GarminDB/garmin_connect_config_manager.py", line 71, in course_views
    return self.config['course_views'][type]
KeyError: 'course_views'
Command exited with non-zero status 1
/usr/bin/time
Makefile:121: recipe for target 'update_garmin' failed
make: *** [update_garmin] Error 1

from garmindb.

tcgoetz avatar tcgoetz commented on July 17, 2024

try: https://github.com/tcgoetz/GarminDB/releases/tag/v1.2.4

from garmindb.

christian-ho avatar christian-ho commented on July 17, 2024

Now it runs without errors, thanks.

from garmindb.

Related Issues (20)

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.