Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Untitled #1

Open
timmartin opened this issue Jun 15, 2009 · 0 comments
Open

Untitled #1

timmartin opened this issue Jun 15, 2009 · 0 comments

Comments

@timmartin
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant