jchris / sofa

Standalone CouchDB Blog, used by the O'Reilly CouchDB book
http://books.couchdb.org
371 stars 61 forks source link

Untitled #1

Open timmartin opened 15 years ago

timmartin commented 15 years ago

When I try and push sofa to a CouchDB repository, I get the following error:

Traceback (most recent call last):
  File "/usr/bin/couchapp", line 8, in <module>
    load_entry_point('Couchapp==0.3.1', 'console_scripts', 'couchapp')()
  File "/usr/lib/python2.5/site-packages/Couchapp-0.3.1-py2.5-linux-x86_64.egg/couchapp/bin/couchapp_cli.py", line 179, in main
    cli.push(appdir, appname, dbstring, options=options)
  File "/usr/lib/python2.5/site-packages/Couchapp-0.3.1-py2.5-linux-x86_64.egg/couchapp/bin/couchapp_cli.py", line 62, in push
    cmd.push(dbstring, appname)
  File "/usr/lib/python2.5/site-packages/Couchapp-0.3.1-py2.5-linux-x86_64.egg/couchapp/app.py", line 182, in push
    self.send_attachments(db, design_doc)
  File "/usr/lib/python2.5/site-packages/Couchapp-0.3.1-py2.5-linux-x86_64.egg/couchapp/app.py", line 216, in send_attachments
    content_length=content_length)
  File "/usr/lib/python2.5/site-packages/Couchapp-0.3.1-py2.5-linux-x86_64.egg/couchapp/ui.py", line 232, in put_attachment
    db.put_attachment(doc, content, fname, content_length=content_length)
  File "/usr/lib/python2.5/site-packages/Couchapp-0.3.1-py2.5-linux-x86_64.egg/couchapp/contrib/couchdb.py", line 484, in put_attachment
    headers=headers, rev=doc['_rev'])
  File "/usr/lib/python2.5/site-packages/Couchapp-0.3.1-py2.5-linux-x86_64.egg/couchapp/contrib/couchdb.py", line 898, in put
    **params)
  File "/usr/lib/python2.5/site-packages/Couchapp-0.3.1-py2.5-linux-x86_64.egg/couchapp/contrib/couchdb.py", line 945, in _request
    raise ServerError((status_code, error))
couchapp.contrib.couchdb.ServerError: (500, ('unknown_error', 'normal'))

This happens repeatably. I'm afraid I don't know enough about CouchDB or Python to debug this - I only got here because I was attempting to follow the tutorial in "CouchDB: The definitive guide". If this is a bogus error caused by a one-off server problem, please ignore.