mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-25 16:05:52 +03:00
[GH-ISSUE #20] getopt Python error on OS X 10.7.5 #617
Labels
No labels
bug
compatibility
feature request
fit for beginners
help wanted
hosting
idea
improvement
packaging
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asciinema#617
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @schmunk42 on GitHub (Oct 10, 2012).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/20
When I try run run asciiio I get a Python error:
Any ideas?
@ku1ik commented on GitHub (Oct 10, 2012):
Well, yes, that's because syntax for catching exceptions changed from python 2.5 to python 2.6. The recommended way for 2.6+ is to use this syntax with "as". For now just try changing this line to:
I'll think how to make it work on all "popular" python versions.
@schmunk42 commented on GitHub (Oct 11, 2012):
I switched my python interpreter to 2.6 (got the one from macports)
Would it be an option to choose from an interpreter with an option when running asciiio?
Sorry if it's a dumb question, but I don't know much about python - Issue is resolved for me.
btw: Where does ascii.io store files locally? Can I review them before uploading?
@ku1ik commented on GitHub (Oct 11, 2012):
Check out #21 - I described my proposal for reviewing there.