Running 'couchapp push' results in error with .couchappignore file.

28 views
Skip to first unread message

bwinfrey

unread,
Feb 29, 2012, 1:05:50 PM2/29/12
to CouchApp
.couchappignore

[
".*~$", ".*\\.swp$", ".*\\.bak$", ".*\\.coffee$"
]


CouchApp Push

2012-02-29 09:58:39 [CRITICAL] u'script.js~'

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/couchapp/dispatch.py", line
48, in dispatch
return _dispatch(args)
File "/usr/lib/python2.7/site-packages/couchapp/dispatch.py", line
92, in _dispatch
return fun(conf, conf.app_dir, *args, **opts)
File "/usr/lib/python2.7/site-packages/couchapp/commands.py", line
79, in push
doc.push(dbs, noatomic, browse, force)
File "/usr/lib/python2.7/site-packages/couchapp/localdoc.py", line
122, in push
doc = self.doc(db, force=force)
File "/usr/lib/python2.7/site-packages/couchapp/localdoc.py", line
218, in doc
del attachments[name]
KeyError: u'script.js~'


Exited: 65280


If I delete the temporary files (.*~$) or comment the .couchappignore
entries the push succeeds.

Do I have something setup wrong?

bwinfrey

unread,
Feb 29, 2012, 2:03:30 PM2/29/12
to CouchApp
I was mistaken in my previous post. Deleting temp files and/or
commenting couchappignore did not help.

It appears that this had to do with the couchapp generated manifest.
-- I don't know exactly what. I deleted the couchapp node from the
design doc the push went successfully.

Is there some maintenance required on my part for this?

Reply all
Reply to author
Forward
0 new messages