[google-appengine] Re: ImportError cgi module

2011-01-23 Thread Ming
 I do use virtualenv (--no-site-packages) to get eggs installed 
locally, then symlink them into my 
project, but I do not run appengine from with in virtualenv. 

Tim, do you link the installed eggs to under the vendor directory of the 
project?

Thanks,
Ming

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] issues getting started with the SDK

2009-08-14 Thread Ming

I downloaded and unzipped SDK 1.2.4 in my linux user account.

I can run and browse helloworld just fine.  The weirdness starts when
I try something non-trivial like guestbook.  The example works fine if
I run with root, but not otherwise.

Running 'app_devserver.py guestbook/' with Python 2.5.1 or 2.5.4
installed into my user account, I get errors if I 'lynx http://localhost:8080'
from the same account (from a second terminal session) but none if I
run the same installation with a root account using the site wide
python 2.5.2 installation.

If I run 'app_devserver.py guestbook/' using root and the site wide
python, 'lynx http://localhost:8080' with the user account works fine.

This is the error I am seeing:

Traceback (most recent call last):
 File /home/X/code/python/google_appengine/google/appengine/ext/
webapp/__init__.py, line 507, in __call__
   handler.get(*groups)
 File /home/X/code/python/google_appengine/guestbook/
guestbook6_templates.py, line 18, in get
   greetings = greetings_query.fetch(10)
 File /home/ming/code/python/google_appengine/google/appengine/ext/
db/__init__.py, line 1455, in fetch
   raw = self._get_query().Get(limit, offset)
 File /home/X/code/python/google_appengine/google/appengine/api/
datastore.py, line 981, in Get
   prefetch_count=limit)._Get(limit)
 File /home/X/code/python/google_appengine/google/appengine/api/
datastore.py, line 921, in _Run
   apiproxy_stub_map.MakeSyncCall('datastore_v3', 'RunQuery', pb,
result)
 File /home/X/code/python/google_appengine/google/appengine/api/
apiproxy_stub_map.py, line 72, in MakeSyncCall
   apiproxy.MakeSyncCall(service, call, request, response)
 File /home/X/code/python/google_appengine/google/appengine/api/
apiproxy_stub_map.py, line 255, in MakeSyncCall
   rpc.CheckSuccess()
 File /home/X/code/python/google_appengine/google/appengine/api/
apiproxy_rpc.py, line 111, in CheckSuccess
   raise self.exception
OSError: [Errno 1] Operation not permitted
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Throwing IO exception while deploying on google app engine

2009-06-10 Thread ming

Try to deploy in command-line. It works. Are you using windows 7 OS?
Ming

On Apr 23, 9:36 pm, Felipe maschi...@gmail.com wrote:
 I have the same problem, but this solution not resolve it. Have you
 another ideia?

 On 15 abr, 08:59, shiv s3s...@gmail.com wrote:

  This problem is resolved now.
  Replace the ?xml ...? !Doctype..lines in theweb.xmlfile by this
   web-app xmlns=http://java.sun.com/xml/ns/javaee; version=2.5
  it will works fine.
  once u get done with this reply me on s3s...@gmail.com

  On Apr 15, 3:33 pm, Mujtaba Hassan abatju...@gmail.com wrote:

   Yes, I am also facing this problem but didn't find solution yet
   -
   2009-04-15 16:31:26.627::INFO:  Logging to STDERR via
   org.mortbay.log.StdErrLog
   Apr 15, 2009 4:31:28 PM
   com.google.apphosting.utils.config.AbstractConfigXmlReader getTopLevelNode
   SEVERE: ReceivedIOExceptionparsing the input stream for
   d:/tools/server/appengine-java-sdk-1.2.0/demos/helloworld/war\WEB-INF/web.xml
   -

   On Wed, Apr 15, 2009 at 2:53 PM, shiv s3s...@gmail.com wrote:

hi please any one has faced this problem please share your knowledge
with me..
On Apr 14, 7:21 pm, shiv s3s...@gmail.com wrote:
 An internal error occurred during: Deploying googleSampleProject to
 Google.
 ReceivedIOExceptionparsing the input stream for C:/Documents and
 Settings/shivaraja_s/GoogleWorkspace/googleSampleProject/war\WEB-INF/
web.xml



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---