couchapp/couchapp — Issue #115: Couchapp 'push' returning critical error
Author: idha
Created: 2011-11-27 17:08:38+00:00
State: open

On Mac OS X Lion, Python 2.7, Couchapp v1.0.1.

couchapp push http://localhost:5984/db

2011-11-28 01:06:39 [CRITICAL] Expecting , delimiter: line 5 column 3 (char 19)

Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/couchapp/dispatch.py", line 48, in dispatch
return _dispatch(args)
File "/Library/Python/2.7/site-packages/couchapp/dispatch.py", line 92, in _dispatch
return fun(conf, conf.app_dir, *args, **opts)
File "/Library/Python/2.7/site-packages/couchapp/commands.py", line 69, in push
docid=opts.get('docid'))
File "/Library/Python/2.7/site-packages/couchapp/localdoc.py", line 435, in document
return LocalDoc(path, create=create, docid=docid, is_ddoc=is_ddoc)
File "/Library/Python/2.7/site-packages/couchapp/localdoc.py", line 64, in __init__
util.remove_comments(f.read())
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 326, in loads
return _default_decoder.decode(s)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 360, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 376, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting , delimiter: line 5 column 3 (char 19)