I noticed when printing the name in _Web2pyImporter.__call__() a lot of
modules are being called more then once. Has their been anything done to
try and optimize this?

For example loading the home page globals is sent to that method over 100
times.

On Mon, Feb 6, 2012 at 3:24 PM, Bruce Wade <bruce.w...@gmail.com> wrote:

> OK thanks,
>
> I will also look into this because it will make life easier, keep me
> posted if you find a solution I will do the same.
>
> --
> Regards,
> Bruce
>
>
> On Mon, Feb 6, 2012 at 3:20 PM, Bruno Rocha <rochacbr...@gmail.com> wrote:
>
>>
>>
>> On Mon, Feb 6, 2012 at 8:36 PM, Bruce Wade <bruce.w...@gmail.com> wrote:
>>
>>> Found the problem:
>>>
>>> from BeautifulSoup import BeautifulStoneSoup
>>>
>>> I was not using my virtualenv to run web2py so instead of reporting the
>>> import error it just prevents the module from loading. I see the good and
>>> bad with this approach is there a way to force web2py to tell about errors
>>> found when loading a module?
>>>
>>
>> This is a known issue, we are looking for a good solution, I am testing
>> "traceback" module, but it cannot catch the error message from
>> custom_importer.
>>
>> --
>>
>> Bruno Rocha
>> [http://rochacbruno.com.br]
>>
>>
>
>
> --
> --
> Regards,
> Bruce Wade
> http://ca.linkedin.com/in/brucelwade
> http://www.wadecybertech.com
> http://www.warplydesigned.com
> http://www.fitnessfriendsfinder.com
>



-- 
-- 
Regards,
Bruce Wade
http://ca.linkedin.com/in/brucelwade
http://www.wadecybertech.com
http://www.warplydesigned.com
http://www.fitnessfriendsfinder.com

Reply via email to