This is for troubleshooting both SQLAlchemy and SAContext.
Inside this troubleshooting guide, please remember that myapp may not necessarily be the name of your project. If you wish to copy and paste these documents (not recommended!), please remember to change myapp to the name of your project.
"KeyError: "no 'sqlalchemy.default.uri' variable in config file""
Occuring when running: paster setup-app myfile.ini
Error may be found in the websetup.py file
Assuming you have configured websetup.py (particularly SQLAlchemy for people in a hurry, prior to the 25th of July), check your file is configured with the following lines in order (regardless of other lines you may have added):