jchris / couchapp

The official repo is now at http://github.com/couchapp/couchapp
http://wiki.github.com/couchapp/couchapp
157 stars 123 forks source link

problem pushing a couchapp with extjs lib #12

Open TomTomaso opened 13 years ago

TomTomaso commented 13 years ago

hi,

i got an Error while pushing a fresh couchapp with a ExtJs lib as attachment to my couch.

couchapp: Couchapp (version 0.7.1) couchdb: Apache CouchDB 1.0.1 ubuntu: ubuntu: 10.10, 2.6.35-22-generic python: Python 2.6.6 ExtJS:

sry, i habe no experience with python/couchapp, so i have no starting point to fix this problem, i tried it a few days ago at work with a couchapp-eclipse plugin, it had a similar Problem, i avoided it, by splitting the extjs package in smaller pieces. I suppose, the ext lib has too much args for couchapp. I hope it will help you. Great work!

so long tom

PS: Error log: 2010-11-22 20:25:55 [CRITICAL] unknown error [[Errno 111] Connection refused]

Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/couchapp/dispatch.py", line 48, in dispatch return _dispatch(args) File "/usr/local/lib/python2.6/dist-packages/couchapp/dispatch.py", line 92, in _dispatch return fun(conf, conf.app_dir, _args, _opts) File "/usr/local/lib/python2.6/dist-packages/couchapp/commands.py", line 77, in push doc.push(dbs, noatomic, browse, force) File "/usr/local/lib/python2.6/dist-packages/couchapp/localdoc.py", line 102, in push db.save_doc(doc, force_update=True) File "/usr/local/lib/python2.6/dist-packages/couchapp/client.py", line 281, in save_doc resp = self.res.put(docid, payload=json.dumps(doc), _params) File "/usr/local/lib/python2.6/dist-packages/restkit/resource.py", line 179, in put headers=headers, params_dict=params_dict, *_params) File "/usr/local/lib/python2.6/dist-packages/couchapp/client.py", line 130, in request raise RequestFailed("unknown error [%s]" % str(e)) RequestFailed: unknown error [[Errno 111] Connection refused]