couchapp refactor branch

2 views
Skip to first unread message

Benoit Chesneau

unread,
Mar 27, 2009, 11:43:29 AM3/27/09
to couc...@googlegroups.com
Hi all,

I finally had time to finish replacement of rspecs tests by python
unitests in refactor branch :

http://github.com/benoitc/couchapp/tree/refactor

So I encourage you now guys to start testing it and report bugs you
run into before to go further
and merge this branch with master. This branch is a big refactoring of
couchapp. All main features
have been splitted in different files, lot of fixes/improvments and
couchapp could be now used in your python code.


- benoît

Andy Wenk

unread,
Mar 28, 2009, 8:56:09 PM3/28/09
to CouchApp
On 27 Mrz., 16:43, Benoit Chesneau <bchesn...@gmail.com> wrote:
> Hi all,
Hi Benoit,

> So I encourage you now guys to start testing it and report bugs you
> run into before to go further
> and merge this branch with master. This branch is a big refactoring of
> couchapp. All main features
> have been splitted in different files, lot of fixes/improvments and
> couchapp could be now used in your python code.

I installed it via easy_install couchapp and via git on a fresh
machine ... no problems at all ... Sofa from JChris is running
perfectly ;-)

Cheers

Andy

Benoit Chesneau

unread,
Mar 30, 2009, 5:07:18 AM3/30/09
to couc...@googlegroups.com
2009/3/29 Andy Wenk <andy...@googlemail.com>:

Thanks for the feedback :)

- benoît

boermans

unread,
Mar 30, 2009, 7:55:26 AM3/30/09
to CouchApp
On Mar 29, 10:56 am, Andy Wenk <andy.w...@googlemail.com> wrote:

> I installed it via easy_install couchapp and via git on a fresh
> machine ... no problems at all ... Sofa from JChris is running

I have not been so lucky with easy_install - perhaps because I had an
existing install of current couchapp?
I’m uncertain how to determine how the version of what I have
currently installed compares with what is available.


After:
sudo easy_install couchapp

Which responded with:
Processing couchapp
Running setup.py -q bdist_egg --dist-dir /Users/ollie/couchapp/egg-
dist-tmp-JRTuWW
Couchapp 0.1.14 is already the active version in easy-install.pth
Installing couchapp script to /usr/local/bin

Installed /Library/Python/2.5/site-packages/Couchapp-0.1.14-py2.5.egg
Processing dependencies for Couchapp==0.1.14
Finished processing dependencies for Couchapp==0.1.14



Ran this from my home directory:
couchapp generate relax

Traceback (most recent call last):
File "/usr/local/bin/couchapp", line 8, in <module>
load_entry_point('Couchapp==0.1.14', 'console_scripts', 'couchapp')
()
File "/Library/Python/2.5/site-packages/Couchapp-0.1.14-py2.5.egg/
couchapp/bin/couchapp_cli.py", line 104, in main
generate(appname, options.verbose)
File "/Library/Python/2.5/site-packages/Couchapp-0.1.14-py2.5.egg/
couchapp/bin/couchapp_cli.py", line 28, in generate
appdir = os.path.normpath(os.path.join(os.getcwd(), appname))
OSError: [Errno 2] No such file or directory


What might be happening here?

Thanks
Ollie

Andy Wenk

unread,
Mar 30, 2009, 9:37:14 AM3/30/09
to CouchApp
Hi,

just for debugging and info. This is the content of the /Libraray/
Python/2.5/site-packages/ folder on my MAC:

CouchDB-0.5-py2.5.egg
Couchapp-0.1.10-py2.5.egg
easy-install.pth
httplib2-0.4.0-py2.5.egg
setuptools-0.6c9-py2.5.egg
setuptools.pth

As you can see I have an older version of Couchapp. I just created a
test app without problems ...
When I fire sudo easy_install -U couchapp, I do get the latest
version:

Couchapp-0.2-py2.5.egg

and

simplejson-2.0.9-py2.5-macosx-10.5-i386.egg

Creating another test app was no problem. So maybe you try upgrading
couchapp.

Cheers

Andy

> Thanks
> Ollie

Reply all
Reply to author
Forward
0 new messages