Skip to content
This repository

Can't push without naming the environment #53

Closed
ejeklint opened this Issue · 1 comment

2 participants

Per Ejeklint Couchapp
Per Ejeklint

I upgraded to latest couchapp and now can't do couchapp push. Get this error:

2010-07-24 13:18:46 [CRITICAL] 'NoneType' object has no attribute 'startswith'

Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/Couchapp-0.6.3-py2.6.egg/couchapp/dispatch.py", line 48, in dispatch
return _dispatch(args)
File "/Library/Python/2.6/site-packages/Couchapp-0.6.3-py2.6.egg/couchapp/dispatch.py", line 88, in _dispatch
return fun(conf, conf.app_dir, *args, **opts)
File "/Library/Python/2.6/site-packages/Couchapp-0.6.3-py2.6.egg/couchapp/commands.py", line 78, in push
dbs = conf.get_dbs(dest)
File "/Library/Python/2.6/site-packages/Couchapp-0.6.3-py2.6.egg/couchapp/config.py", line 129, in get_dbs
if db_string.startswith("http://") or \
AttributeError: 'NoneType' object has no attribute 'startswith'

Workaround is to name the default environment: couchapp push default.

Running on Mac OS X 10.6.4.

Couchapp

fixed in last head. Thanks :)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.