You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After creating a new database, with no context such as a "Database created!" message (since added) I simply pressed Enter at the unlabeled prompt. This caused a crash:
$ ./burton.py
Welcome to Burton 0.1.1!
Please select an operation:
1. Operating system statistics
2. Configure and maintain operating system
3. Configure websites
4. Configure email
5. Configure databases
6. Install applications
9. View Help, About, License, and Copyright pages
-. Exit
>> 5
Configure Databases
Please select an operation:
1. Add/Remove database
2. Add/Remove users
3. Backup databases
0. Go Back
-. Exit
>> 1
Manage databases
Available databases:
1. wordpress_clean
2. Create New Database
0. Go Back
-. Exit
>> 2
Create new database
Please enter a new database name:
>> east_west
Database created! // Actually wasn't here, but I added it to the code so I add it here for reference.
>>
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 85, in manage_databases
elif int(operation)-1 == new_db_index:
ValueError: invalid literal for int() with base 10: ''
The text was updated successfully, but these errors were encountered:
After creating a new database, with no context such as a "Database created!" message (since added) I simply pressed Enter at the unlabeled prompt. This caused a crash:
The text was updated successfully, but these errors were encountered: