Yes, SQLAlchemy requires a 'sqlalchemy.url' key in the 'settings' dict when called in the way you did, and the error message is cryptic.
On Thu, Nov 13, 2014 at 7:15 AM, Rurangwa Moses <[email protected]> wrote: > Line 41 shown up is where the error seems to coming from..... > > > On Thursday, November 13, 2014 2:43:27 PM UTC+3, Rurangwa Moses wrote: >> >> This is how my error message looks like..... >> load_entry_point('beatstore==0.0', 'console_scripts', >> 'initialize_beatstore_db')() >> File >> "/home/twir/Desktop/Pyramid-Apps/Final/Store/Store/scripts/initializedb.py", >> line 41, in main >> engine = engine_from_config(settings, 'sqlalchemy.') >> >> Here is my initializedb.py >> options = parse_vars(argv[2:]) >> setup_logging(config_uri) >> settings = get_appsettings(config_uri, options=options) >> engine = engine_from_config(settings, >> 'sqlalchemy.')..........................................................line >> 41 >> DBSession.configure(bind=engine) >> Base.metadata.create_all(engine) >> >> Hope you guys help ASAP.. >> Thanks >> Moses R. > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/pylons-discuss. > For more options, visit https://groups.google.com/d/optout. -- Mike Orr <[email protected]> -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
