More information on this:
I backed up to version 0.6.2 using the tags in git, and everything
works. Then I applied up to git commit id
ccb8a6492b3f6d5945d3e0f57d3500d44da1995c
and then
sudo python setup.py install
and everything worked fine. Then I incrementally applied the git
commits that affected the file couchapp/client.py, installing the new
change at every step of the way, and it worked fine every step of the
way all the way up to the latest commit.
So, I checked another machine that is on 0.6.2. I did a git pull, and
then
sudo python setup.py install
here is the tail end of the output of that
...
Installed /usr/lib64/python2.6/site-packages/Couchapp-0.7.0-
py2.6.egg
Processing dependencies for Couchapp==0.7.0
Searching for restkit>=2.1.0
Reading
http://pypi.python.org/simple/restkit/
Reading
http://bitbucket.org/benoitc/restkit/
Reading
http://benoitc.github.com/restkit
Best match: restkit 2.1.0
Downloading
http://pypi.python.org/packages/source/r/restkit/restkit-2.1.0.tar.gz#md5=f6672cfa1bad1615e5f3887c4eb65321
Processing restkit-2.1.0.tar.gz
Running restkit-2.1.0/setup.py -q bdist_egg --dist-dir /tmp/
easy_install-_y4YdV/restkit-2.1.0/egg-dist-tmp-PyWIAd
warning: no files found matching 'distribute_setup.py'
Adding restkit 2.1.0 to easy-install.pth file
Installing restcli script to /usr/bin
Installed /usr/lib64/python2.6/site-packages/restkit-2.1.0-
py2.6.egg
Finished processing dependencies for Couchapp==0.7.0
But then on this machine, once again I get the error:
couchapp
Traceback (most recent call last):
File "/usr/bin/couchapp", line 9, in <module>
load_entry_point('Couchapp==0.7.0', 'console_scripts', 'couchapp')
()
File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line
299, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line
2229, in load_entry_point
... (as before)
This time I tried going backwards through the commits shown by
git log master couchapp/client.py
and each time it failed to run couchapp until I got to
ccb8a6492b3f6d5945d3e0f57d3500d44da1995c
commit ccb8a6492b3f6d5945d3e0f57d3500d44da1995c
Author: Benoit Chesneau <
bche...@gmail.com>
Date: Tue Jul 20 19:55:29 2010 +0200
update retskit to last stable version and bumlp version number
Then couchapp once again ran after installing. Then I immediately
did
git merge master
sudo python setup.py install
and again, couchapp works fine.
So my guess is something isn't getting installed properly in master
that gets installed along the way after commit
ccb8a6492b3f6d5945d3e0f57d3500d44da1995c.
That's about all the help I can give on this one.
Regards,
James