Skip to content

Instantly share code, notes, and snippets.

@quirkey
Created September 13, 2009 17:57
Show Gist options
  • Select an option

  • Save quirkey/186259 to your computer and use it in GitHub Desktop.

Select an option

Save quirkey/186259 to your computer and use it in GitHub Desktop.
[04:58 PM:swinger(master)] $ couchapp push
[INFO] Pushing CouchApp in /Users/aaronquint/Sites/__active/swinger to design doc:
http://localhost:5984/swinger/_design/swinger
[INFO] Visit your CouchApp here:
http://localhost:5984/swinger/_design/swinger/index.html
Traceback (most recent call last):
File "/usr/local/bin/couchapp", line 8, in <module>
load_entry_point('Couchapp==0.3.31', 'console_scripts', 'couchapp')()
File "/Users/aaronquint/Sites/__forked/couchapp/src/couchapp/bin/couchapp_cli.py", line 196, in main
cli.push(appdir, appname, dbstring, options=options)
File "/Users/aaronquint/Sites/__forked/couchapp/src/couchapp/bin/couchapp_cli.py", line 62, in push
cmd.push(dbstring, appname, atomic=options.atomic, export=options.export, output=options.output)
File "/Users/aaronquint/Sites/__forked/couchapp/src/couchapp/app.py", line 284, in push
self.send_attachments(db, doc)
File "/Users/aaronquint/Sites/__forked/couchapp/src/couchapp/app.py", line 347, in send_attachments
f = open(value, "rb")
TypeError: coercing to Unicode: need string or buffer, dict found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment