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

Crash when no databases exist #11

Open
dotancohen opened this issue Jan 10, 2016 · 1 comment
Open

Crash when no databases exist #11

dotancohen opened this issue Jan 10, 2016 · 1 comment

Comments

@dotancohen
Copy link
Owner

 5. Configure databases
>> 5

 1. Add/Remove database
>> 1

Manage databases

Available databases:
Traceback (most recent call last):
  File "./burton.py", line 108, in <module>
    main(sys.argv)
  File "./burton.py", line 86, in main
    configure_databases.main(env)
  File "/home/dotancohen/burton/configure_databases.py", line 41, in main
    manage_databases()
  File "/home/dotancohen/burton/configure_databases.py", line 71, in manage_databases
    new_db_index = index + 1
UnboundLocalError: local variable 'index' referenced before assignment
@dotancohen
Copy link
Owner Author

The previous commit may or may not resolve the issue. Please triage on a machine with no databases configured.

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

No branches or pull requests

1 participant