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't require special app-specific handling.

> 
> 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.
> 
> On Thu, Mar 15, 2012 at 12:19 AM, Udi Milo <[email protected]> wrote:
> 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 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 <[email protected]> wrote:
> 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 
> <type 'exceptions.ImportError'> No module named api
> 
> can anyone suggest an answer to my problem?
> 


Reply via email to