incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Kuznetsov>
Subject CouchApp without app
Date Tue, 26 Oct 2010 17:22:02 GMT
Hi, everyone.

I have a question about couchapp script. It is very useful than you want to make some "web
app". If I clean up files form vendor dir (i don't need them), delete attachments. Try to
push my design doc and get this:

2010-10-26 20:40:49 [CRITICAL] {'msg': '', 'status_int': 400, 'response': <couchapp.client.CouchdbResponse
object at 0x1011a3150>}

Traceback (most recent call last):
  File "/Library/Python/2.6/site-packages/couchapp/", line 48, in dispatch
    return _dispatch(args)
  File "/Library/Python/2.6/site-packages/couchapp/", line 92, in _dispatch
    return fun(conf, conf.app_dir, *args, **opts)
  File "/Library/Python/2.6/site-packages/couchapp/", line 74, in push
    dbs = conf.get_dbs(dest)
  File "/Library/Python/2.6/site-packages/couchapp/", line 149, in get_dbs
    return [Database(dburl) for dburl in dburls]
  File "/Library/Python/2.6/site-packages/couchapp/", line 209, in __init__
  File "/Library/Python/2.6/site-packages/restkit/", line 144, in head
    return self.request("HEAD", path=path, headers=headers, **params)
  File "/Library/Python/2.6/site-packages/couchapp/", line 128, in request
    raise RequestFailed(str(e))
RequestFailed: {'msg': '', 'status_int': 400, 'response': <couchapp.client.CouchdbResponse
object at 0x1011a3150>}

How can I clean up couchapp default project to suite my needs? I want just editing design
document without copy past pain.

Without couchapp only choice that I got is to copy-past files from my IDE to design document
 Save it and finally check results. I look at ice editor from jchris. It is only viewing,
and as I see it don't frozen on May 2010.

Maybe some maven plugins or something else can be done to automate design documents development
and maintain? 
Sincerely yours,
Mikhail Kuznetsov

View raw message