Scifabric / pybossa

PYBOSSA is the ultimate crowdsourcing framework (aka microtasking) to analyze or enrich data that can't be processed by machines alone.
http://pybossa.com
GNU Affero General Public License v3.0
745 stars 269 forks source link

AttributeError: 'module' object has no attribute 'create_engine' #221

Closed arthurlutz closed 12 years ago

arthurlutz commented 12 years ago

$ python cli.py db_create Twitter singin disabled <type 'exceptions.KeyError'> ('FACEBOOK_APP_ID',) 'FACEBOOK_APP_ID' Facebook singin disabled <type 'exceptions.KeyError'> ('GOOGLE_CLIENT_ID',) 'GOOGLE_CLIENT_ID' Google singin disabled Traceback (most recent call last): File "cli.py", line 92, in _main(locals()) File "cli.py", line 87, in _main _methodsmethod File "cli.py", line 16, in db_create engine = model.create_engine(dburi) AttributeError: 'module' object has no attribute 'create_engine'

nigelbabu commented 12 years ago

I know what's wrong. Fixing in 5 to 10 minutes.

nigelbabu commented 12 years ago

I just tested, it works now. Sorry about the breakage :)

teleyinex commented 12 years ago

I think we should update the docs, because with Alembic is even easier :-D What do you think? Do we still support cli.py or do we embrace alembic?

arthurlutz commented 12 years ago

@teleyinex if there is another way of setting up pybossa without using cli.py I'm happy to beta test the new documentation.