CouchApp 0.5 | possible bug in push?

1 view
Skip to first unread message

BennyZen

unread,
Nov 26, 2009, 6:22:40 AM11/26/09
to CouchApp
i wasn't able to push any app with couchapp 0.5 using eg:
http://admin:pass...@example.com:5984/myapp

always gave me this backtrace:
[CRITICAL] Unable to find the server at admin:pass...@127.0.0.1
Traceback (most recent call last):
File "/usr/local/bin/couchapp", line 9, in <module>
load_entry_point('Couchapp==0.5', 'console_scripts', 'couchapp')()
File "/usr/local/lib/python2.6/dist-packages/Couchapp-0.5-py2.6.egg/
couchapp/dispatch.py", line 30, in run
exit(dispatch(sys.argv[1:]))
File "/usr/local/lib/python2.6/dist-packages/Couchapp-0.5-py2.6.egg/
couchapp/dispatch.py", line 41, in dispatch
_dispatch(ui, args)
File "/usr/local/lib/python2.6/dist-packages/Couchapp-0.5-py2.6.egg/
couchapp/dispatch.py", line 86, in _dispatch
return fun(ui, path, *args, **opts)
File "/usr/local/lib/python2.6/dist-packages/Couchapp-0.5-py2.6.egg/
couchapp/commands.py", line 68, in push
localdoc.push(dburls, opts.get('no_atomic', False))
File "/usr/local/lib/python2.6/dist-packages/Couchapp-0.5-py2.6.egg/
couchapp/localdoc.py", line 107, in push
olddoc = get_doc(dburl, self.docid)
File "/usr/local/lib/python2.6/dist-packages/Couchapp-0.5-py2.6.egg/
couchapp/http.py", line 84, in get_doc
resp = make_request(uri, "GET")
File "/usr/local/lib/python2.6/dist-packages/Couchapp-0.5-py2.6.egg/
couchapp/http.py", line 309, in make_request
raise RequestFailed("Unable to find the server at %s" % http.host)
couchapp.errors.RequestFailed: Unable to find the server at
admin:pass...@127.0.0.1

switching back to 0.4 it works like a charm. am i doing something
wrong here or did i maybe missed something?

cheers
Ben

Benoit Chesneau

unread,
Dec 2, 2009, 4:31:23 AM12/2/09
to couc...@googlegroups.com
Testing it here it worked. Are you behind a proxy ?

- benoît

Benoit Chesneau

unread,
Dec 2, 2009, 5:12:14 AM12/2/09
to couc...@googlegroups.com
On Thu, Nov 26, 2009 at 12:22 PM, BennyZen <benny....@gmail.com> wrote:
> --
>
> You received this message because you are subscribed to the Google Groups "CouchApp" group.
> To post to this group, send email to couc...@googlegroups.com.
> To unsubscribe from this group, send email to couchapp+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/couchapp?hl=en.
>
>
>
just noticed the date (googlegroups just me warning about moderated
message). Are you using last version of couchapp?

BennyZen

unread,
Dec 2, 2009, 4:53:22 PM12/2/09
to CouchApp
Salut Benoit

sry for the late reply. no, i'm not behind a proxy.

i tried to reproduce the error after installing the newest version
from source and it's definitely gone.
now everything seems fine again.

the only thing i noticed, when i tried to upgrade from 0.4 (manually
installed) to 0.5 using the OSX installer was, that i ended up with an
unusable version of couchapp. i had to run through the manual install-
procedure to get things back working. maybe someone else has
experienced this behaviour or has a clue what went wrong there? (i'm
using OSX10.6.2)

thank you and please keep up your excellent work
cheers
Ben



On Dec 2, 11:12 am, Benoit Chesneau <bchesn...@gmail.com> wrote:
> On Thu, Nov 26, 2009 at 12:22 PM, BennyZen <benny.zami...@gmail.com> wrote:
> > i wasn't able to push any app with couchapp 0.5 using eg:
> > http://admin:passw...@example.com:5984/myapp
>
> > always gave me this backtrace:
> > [CRITICAL] Unable to find the server at admin:passwo...@127.0.0.1
> > admin:passw...@127.0.0.1
>
> > switching back to 0.4 it works like a charm. am i doing something
> > wrong here or did i maybe missed something?
>
> > cheers
> > Ben
>
> > --
>
> > You received this message because you are subscribed to the Google Groups "CouchApp" group.
> > To post to this group, send email to couc...@googlegroups.com.
> > To unsubscribe from this group, send email to couchapp+u...@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/couchapp?hl=en.
Reply all
Reply to author
Forward
0 new messages