Hi Lucas, I guess you are using the reserved word "URL" in your model. What does your model look like? Kind regards Cornelius
Am 02.05.2012 um 05:42 schrieb Lukasz Szybalski <[email protected]>: > Hello, > In pyramid I'm trying to initialize a database model but I'm getting this > error: > > > initialize_myapp_db development.ini > Traceback (most recent call last): > File "/home/lucas/tmp/pyramid/pyramid_env/bin/initialize_myapp_db", > line 9, in <module> > load_entry_point('myapp==0.0', 'console_scripts', 'initialize_myapp_db')() > File "/home/lucas/tmp/pyramid/myapp/myapp/scripts/initializedb.py", > line 30, in main > engine = engine_from_config(settings, 'sqlalchemy.') > File > "/home/lucas/tmp/pyramid/pyramid_env/local/lib/python2.7/site-packages/SQLAlchemy-0.7.6-py2.7-linux-x86_64.egg/sqlalchemy/engine/__init__.py", > line 344, in engine_from_config > url = opts.pop('url') > KeyError: 'url' > > > > my development.ini has > > sqlalchemy.url = sqlite:///%(here)s/myapp.db > > Any idea what this issue might be? > > Thanks, > Lucas > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
