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. On Thu, Mar 15, 2012 at 12:19 AM, Udi Milo <udim...@gmail.com> 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 <udim...@gmail.com> 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? >>> >> >> >> >> -- >> >> Bruno Rocha >> [http://rochacbruno.com.br] >> >> -- Bruno Rocha [http://rochacbruno.com.br]