incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Lenz <cml...@gmx.de>
Subject Re: load dumped database
Date Mon, 30 Jun 2008 09:15:37 GMT
On 30.06.2008, at 07:05, Noah Tye wrote:
> When I try to load a database dumped with the Python script, I get  
> this:
>
>    Loading document '05A72D81C379482F61981BBF859CCB03'id
>    [info] [<0.72.0>] HTTP Error (code 404): not_found
>    [info] [<0.72.0>] 127.0.0.1 - - "PUT
> /notes/05A72D81C379482F61981BBF859CCB03" 404
>    Traceback (most recent call last):
>      File "/usr/bin/couchdb-load", line 8, in <module>
>        load_entry_point('CouchDB==0.5dev-r88', 'console_scripts',
> 'couchdb-load')()
>      File "build/bdist.linux-i686/egg/couchdb/tools/load.py", line  
> 67, in main
>      File "build/bdist.linux-i686/egg/couchdb/tools/load.py", line
> 45, in load_db
>      File "build/bdist.linux-i686/egg/couchdb/client.py", line 263,
> in __setitem__
>      File "build/bdist.linux-i686/egg/couchdb/client.py", line 657,  
> in put
>      File "build/bdist.linux-i686/egg/couchdb/client.py", line 688,  
> in _request
>    couchdb.client.ResourceNotFound: (u'not_found', u'missing')
>
> The error message reminded me of this issue:
> <http://code.google.com/p/couchdb-python/issues/detail?id=3>, but the
> patch didn't help.  Any ideas?
>
> Thanks in advance.

Did you create an empty database to dump into? Note that the script  
will not create one for you.

Cheers,
--
Christopher Lenz
   cmlenz at gmx.de
   http://www.cmlenz.net/


Mime
View raw message