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

--interactive crashes the program #50

Closed
muelli opened this issue Jan 22, 2019 · 2 comments
Closed

--interactive crashes the program #50

muelli opened this issue Jan 22, 2019 · 2 comments

Comments

@muelli
Copy link

muelli commented Jan 22, 2019

Traceback (most recent call last):
  File "calendar-cli.py", line 904, in <module>
    main()
  File "calendar-cli.py", line 772, in main
    parser.set_defaults(**defaults)
UnboundLocalError: local variable 'defaults' referenced before assignment
tobixen added a commit that referenced this issue Jan 23, 2019
@tobixen
Copy link
Owner

tobixen commented Jan 23, 2019

That code was written once, not covered by any test code, and never tested again ... probably the code around has changed a bit.

I'm really in a pinch now timewise, too much to do and too little time. I've committed a very quick attempt on fixing it in the master branch and v0.11.0.dev branch, but it's not at all tested.

@tobixen
Copy link
Owner

tobixen commented May 5, 2020

Seems to work

@tobixen tobixen closed this as completed May 5, 2020
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

No branches or pull requests

2 participants