Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

couchdb-load attribute error: 'Resource' object has no attribute 'http' #194

@djc

Description

@djc

From tomas.k...@gmail.com on August 17, 2011 10:42:51

Installed couchdb-python on Ubuntu 10.10, python version 2.6.5; couchdb-dump script correctly dumps a local database, but when running the couchdb-load script, I get the following error:

couchdb-load --input=cms.json -u fake -p invalid localhost:5984/dbname

Traceback (most recent call last):
File "/usr/local/bin/couchdb-load", line 9, in
load_entry_point('CouchDB==0.9dev', 'console_scripts', 'couchdb-load')()
File "/usr/local/lib/python2.6/dist-packages/CouchDB-0.9dev-py2.6.egg/couchdb/tools/load.py", line 87, in main
password=options.password, ignore_errors=options.ignore_errors)
File "/usr/local/lib/python2.6/dist-packages/CouchDB-0.9dev-py2.6.egg/couchdb/tools/load.py", line 27, in load_db
db.resource.http.add_credentials(username, password)
AttributeError: 'Resource' object has no attribute 'http'

Original issue: http://code.google.com/p/couchdb-python/issues/detail?id=194

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions