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 possible, how to overcome this 
issue?

On Wednesday, March 14, 2012 11:32:20 PM UTC-4, rochacbruno 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.
>
> 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]
>
>

Reply via email to