dtcooper / python-fitparse

Python library to parse ANT/Garmin .FIT files

Home Page:http://pythonhosted.org/fitparse/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

import fitparse fails with "SyntaxError: multiple exception types must be parenthesized"

CentralHarlemAnonymous opened this issue · comments

The offending line seems to be " except Exception, e:"

The only instance of this I can find is in the API docs, which I have fixed in #145 . These docs aren't run in any way on import so no idea why you would be seeing an error from it. Is the SyntaxError in code that you copied from the docs? Or maybe it's from a different library? I'd need to see a traceback to look any more into it.

I think you may have the wrong library. The traceback mentions the module fitparse.activity which doesn't exist.