$ sudo easy_install setuptools
Cheers
Jan
--
> ImportError: No module named json
>
> Hm - any idea what is wrong?
easy_install simplejson or if you use debian apt-get install python-simplejson.
- benoît
You need couchdb-python installed. Should have been detected when installing ?
--
- benoît
easy_install is platform independant, I think it should be the
preferred way to install couchapp (when it will be on pipy that's it).
Apt* way could be described as another way when you use a debian based
system imo.
- benoît
Agreed, I'd not worry about distro-specific packaging.
Cheers
Jan
--
yes .
>
> $ couchapp push . http://andy:pa...@127.0.0.1:5984/py
> httplib2.ServerNotFoundError: Unable to find the server at
> andy:pa...@127.0.0.1
>
>
> I saw that Dean had a similar problem with this "ServerNotFound" error
> in the last line. But benoît fixed it ... I think. I have the actual
> git installed
> git clone git://github.com/benoitc/couchapp.git
>
> Further ideas whats going wrong?
>
Are you using latest git (#7b5d9cdc849a8bfb28366f135a69efd0b47daf80)?
When I test :
pollen% couchapp push test http://benoitc:test@localhost:5984/test
Pushing CouchApp in /tmp/test to http://localhost:5984/test/_design/test
or
pollen% couchapp push . http://benoitc:test@localhost:5984/test
Pushing CouchApp in /tmp/test to http://localhost:5984/test/_design/test
it works here. Anyone could confirm ?
- benoît
Could you try to install python-couchdb from svn and tell me if it works ?:
svn checkout http://couchdb-python.googlecode.com/svn/trunk/ couchdb-python
cd couchdb-python && sudo python setup.py install
thanks for your feedback anyway :)
- benoît
>
> I am not really sure if couchdb-python is running. I stopped / started
> couchdb (/usr/local/etc/init.d/couchdb) after installing couchdb-
> python from svn and had still the same error from above. Do I have to
> start couchdb in a different way to get chochdb-python working? Sorry
> - I did not engage myself with couchdb-python ...
Just start couchdb as usual and make sure urls you give to couchapp work.
- benoît
pollen% sudo easy-install couchdb
pollen% sudo python setup.py install
pollen% cd /tmp
pollen% couchapp generate test
Generating a new CouchApp in /tmp/test
pollen% couchapp push test http://benoitc:te...@127.0.0.1:5984/okok
Pushing CouchApp in /tmp/test to http://127.0.0.1:5984/okok/_design/test
pollen% couchapp clone
http://benoitc:te...@127.0.0.1:5984/okok/_design/test coolest
pollen% ls coolest
_attachments foo lib show views
I would be curious what is wrong in your installation. Please tell me
if you reproduce the error.
- benoît
Ouf :) thanks for the feedback. I just tried sofa tonight and it works
here. What you have to do is :
cd sofa
couch init
couch push blogdb
and that's it :)
- benoît
s/couch/couchapp .... Time to sleep.
- benoît