Issue 220 in couchdb-python: _replicator database cannot be used

13 views
Skip to first unread message

couchdb...@googlecode.com

unread,
Apr 5, 2013, 11:33:07 PM4/5/13
to couchdb...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 220 by rei...@gmail.com: _replicator database cannot be used
http://code.google.com/p/couchdb-python/issues/detail?id=220

What steps will reproduce the problem?
1. Connect to the dbs (couchdb = couchdb.Server('http://localhost:5984)
2. Try to use the '_replicator' to create replication documents (db =
couch['_replicator'] . '_users' is usable so looks like the "_" is not the
problem.

What is the expected output? What do you see instead?
'_replicator' should be used without problems. This is the error:

File "<stdin>", line 1, in <module>

File "/usr/local/lib/python2.7/dist-packages/CouchDB-0.8-py2.7.egg/couchdb/client.py",
line 136, in __getitem__
db = Database(self.resource(name), validate_dbname(name))

File "/usr/local/lib/python2.7/dist-packages/CouchDB-0.8-py2.7.egg/couchdb/client.py",
line 1075, in validate_dbname
raise ValueError('Invalid database name')
ValueError: Invalid database name


What version of the product are you using? On what operating system?
CouchDB.0.8 from easy_install. OS is Mint 14, but also failed on Debian 6



--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

couchdb...@googlecode.com

unread,
Apr 5, 2013, 11:36:18 PM4/5/13
to couchdb...@googlegroups.com

Comment #1 on issue 220 by rei...@gmail.com: _replicator database cannot be
used
http://code.google.com/p/couchdb-python/issues/detail?id=220

Looks like CouchDBKit also had this problem

http://comments.gmane.org/gmane.comp.db.couchdb.couchdbkit.general/196

couchdb...@googlecode.com

unread,
Apr 6, 2013, 2:08:36 AM4/6/13
to couchdb...@googlegroups.com

Comment #2 on issue 220 by kxepal: _replicator database cannot be used
http://code.google.com/p/couchdb-python/issues/detail?id=220

Fixed in r00d6a78a44cf.

couchdb...@googlecode.com

unread,
Apr 6, 2013, 2:10:37 AM4/6/13
to couchdb...@googlegroups.com
Updates:
Status: Duplicate
Mergedinto: 188

Comment #3 on issue 220 by kxepal: _replicator database cannot be used
http://code.google.com/p/couchdb-python/issues/detail?id=220

(No comment was entered for this change.)

couchdb...@googlecode.com

unread,
Apr 6, 2013, 2:14:46 AM4/6/13
to couchdb...@googlegroups.com

Comment #4 on issue 220 by kxepal: _replicator database cannot be used
http://code.google.com/p/couchdb-python/issues/detail?id=220

Oh, actual fix was in r43d8da1f4b27, but r00d6a78a44cf solved whole problem
with system databases.

couchdb...@googlecode.com

unread,
Apr 6, 2013, 10:28:08 PM4/6/13
to couchdb...@googlegroups.com

Comment #5 on issue 220 by rei...@gmail.com: _replicator database cannot be
used
http://code.google.com/p/couchdb-python/issues/detail?id=220

Thanks for your reply. Maybe it will be need a new version release of the
lib, i've compiled the latest version and works OK
Reply all
Reply to author
Forward
0 new messages