Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
CentralHarlemAnonymous opened this issue Jan 14, 2024 · 3 comments · Fixed by #145

Comments

@CentralHarlemAnonymous
Copy link

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

@pR0Ps
Copy link
Collaborator

pR0Ps commented Jan 14, 2024

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.

@CentralHarlemAnonymous
Copy link
Author

CentralHarlemAnonymous commented Jan 14, 2024 via email

@pR0Ps
Copy link
Collaborator

pR0Ps commented Jan 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants