Re: [web2py] Modules on Google App Engine

2012-03-15 Thread Bruno Rocha
requests module does not runs on python 2.5 https://github.com/kennethreitz/requests/issues/427 On Fri, Mar 16, 2012 at 1:52 AM, howesc wrote: > if the library is self-contained, is not written in C, and does not use > un-permitted features, you can just put the library in site-packages inside >

Re: [web2py] Modules on Google App Engine

2012-03-15 Thread howesc
if the library is self-contained, is not written in C, and does not use un-permitted features, you can just put the library in site-packages inside web2py and it will upload with your app. On Thursday, March 15, 2012 5:56:49 AM UTC-7, Udi Milo wrote: > > I found the problem (which leads to a new

Re: [web2py] Modules on Google App Engine

2012-03-15 Thread Bruno Rocha
It is not possible on gae. You have to change your app to use urllib or fetch http://zerp.ly/rochacbruno Em 15/03/2012 09:56, "Udi Milo" escreveu: > I found the problem (which leads to a new problem). > my module was using "import requests" > requests is http://docs.python-requests.org/en/v0.10.

Re: [web2py] Modules on Google App Engine

2012-03-15 Thread Udi Milo
I found the problem (which leads to a new problem). my module was using "import requests" requests is http://docs.python-requests.org/en/v0.10.7/index.html that I have installed on my machine. I guess I need to tell web2py to install it when it deploys. do you know how I do that? and if its not p

Re: [web2py] Modules on Google App Engine

2012-03-14 Thread Jonathan Lundell
On Mar 14, 2012, at 8:32 PM, Bruno Rocha wrote: > I guess your module is trying to do something denied in GAE, some python std > modules are not available on GAE, and also you cannot access filesystem. One thing to try would be to put the modules in site-packages, so they're in sys.path and don'

Re: [web2py] Modules on Google App Engine

2012-03-14 Thread Bruno Rocha
I guess your module is trying to do something denied in GAE, some python std modules are not available on GAE, and also you cannot access filesystem. Another common problem is incompatibility with Python2.5 Take a look at LOG tab at your google app engine admin page, may be the traceback is there

Re: [web2py] Modules on Google App Engine

2012-03-14 Thread Udi Milo
The thing is that locally, it works. only when I deploy to GAE it is missing... which files do you recommend I look into to try and find the reason for this weird problem? On Tuesday, March 13, 2012 5:32:52 PM UTC-4, rochacbruno wrote: > > Maybe you have a syntax error or an error with imports i

Re: [web2py] Modules on Google App Engine

2012-03-13 Thread Bruno Rocha
Maybe you have a syntax error or an error with imports inside the api module, the web2py custom importer does not shows complete traceback for that cases. On Tue, Mar 13, 2012 at 10:48 AM, Udi Milo wrote: > Hi all, > > I've added a new api.py file to the /modules directory. > I've also added a c

[web2py] Modules on Google App Engine

2012-03-13 Thread Udi Milo
Hi all, I've added a new api.py file to the /modules directory. I've also added a call from my default.py "from api import Api" working locally, everything is fine. when deploying to GAE, I get No module named api can anyone suggest an answer to my problem?