Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Issue 146 in couchdb-python: Up-to-dated view server
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
couchdb-pyt...@googlecode.com  
View profile  
 More options May 22 2011, 12:39 pm
From: couchdb-pyt...@googlecode.com
Date: Sun, 22 May 2011 16:39:03 +0000
Local: Sun, May 22 2011 12:39 pm
Subject: Re: Issue 146 in couchdb-python: Up-to-dated view server

Comment #24 on issue 146 by kxepal: Up-to-dated view server
http://code.google.com/p/couchdb-python/issues/detail?id=146

tested on android 2.3.4 Google Nexus One using Py4A application. To share  
my happiness do next things:
1. copy couchdb package folder to  
/sdcard/com.googlecode.pythonforandroid/extras/python (query server imports  
are absolute and uses couchdb package as root)
2. create file on sdcard, for example /sdcard/couchpy, and place next code  
into it:
PYTHONPATH=/data/data/com.googlecode.pythonforandroid/files/python/lib/pyth on2.6/lib-dynload
PYTHONPATH=${PYTHONPATH}:/mnt/sdcard/com.googlecode.pythonforandroid/extras /python
export PYTHONPATH
export PYTHONHOME=/data/data/com.googlecode.pythonforandroid/files/python
export  
LD_LIBRARY_PATH=/data/data/com.googlecode.pythonforandroid/files/python/lib
/data/data/com.googlecode.pythonforandroid/files/python/bin/python  
/mnt/sdcard/com.googlecode.pythonforandroid/extras/python/couchdb/view.py  
--couchdb-version=1.0.0
3. add next line to query_servers section in CouchDB configuration:
python = sh -e /sdcard/couchpy
4. ...
5. now you could use pythonic design documents on android(:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.