couchapp generate test - FAILS
PROBLEM:
C:\stux> couchapp generate test
Traceback (most recent call last):
File "C:\dev\RAD\Tools\Python25\Scripts\couchapp-script.py", line 8, in
C:\stux>
ENVIRONMENT: C:\stux>python Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information.
SOLUTION: Here's the patch that works for me:
*** couchapp\utils.py Wed Jun 10 09:29:17 2009
--- couchapp\utils.py.changed Wed Jun 10 09:30:26 2009
***************
*** 49,55 ****
path = os.path.join(home, '.couchapprc')
userprofile = [os.environ.get('USERPROFILE')]
if userprofile:
! path.append(os.path.join(userprofile, '.couchapprc'))
return path
else:
def user_rcpath():
--- 49,55 ----
path = os.path.join(home, '.couchapprc')
userprofile = [os.environ.get('USERPROFILE')]
if userprofile:
! path = os.path.join(userprofile, '.couchapprc')
return path
else:
def user_rcpath():
I there a way for me to upload the patch ? I'm working on a couchdb/python project and I'll try using couchapp. I've been working in python since 1995 so if you need a hand let me know...
Thanos