You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Noah Tye <no...@tyes.us> on 2008/06/30 07:05:25 UTC

load dumped database

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.

-- 
''=~('(?{'.('/))./@'^'_[@@[`').'"'.('./](@{"[^'^'`@<@`/[>|').',$/})')
noah@tyes.us | http://noah.tyes.us
"They copied all they could follow, but they couldn't copy my mind,
And I left 'em sweating and stealing a year and a half behind."

Re: load dumped database

Posted by Christopher Lenz <cm...@gmx.de>.
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/