so let's go for all imports done prefixing them with gluon or the other one 
? I'll put it in the roadmap ^_^

On Thursday, September 12, 2013 11:26:17 PM UTC+2, Michele Comitini wrote:
>
> +1
>
>
>
> 2013/9/12 Massimo Di Pierro <[email protected] <javascript:>>
>
>> I agree. Less ambiguitiy
>>
>>
>> On Thursday, 12 September 2013 02:18:32 UTC-5, Niphlod wrote:
>>>
>>> usually this is due to gluon not being in sys.path directly.
>>>
>>> BTW: we  should adopt something standard in imports too throughout all 
>>> the code. Either we do 
>>> from gluon.module import something
>>> or
>>> from module import something
>>>
>>> I vote for the 1st option.
>>>
>>> Il giorno giovedì 12 settembre 2013 03:52:18 UTC+2, Massimo Di Pierro ha 
>>> scritto:
>>>>
>>>> In both cases print the sys.path.
>>>>
>>>> On Wednesday, 11 September 2013 16:11:07 UTC-5, Johann Spies wrote:
>>>>>
>>>>> I have (as far as I can see) identical configurations on two debian 
>>>>> computers.  On one nginx with uwsgi works.  On the other, however, I get 
>>>>> the following uwsgi-error in the logs:
>>>>>
>>>>> Wed Sep 11 22:36:40 2013 - *** Operational MODE: preforking ***
>>>>> Wed Sep 11 22:36:40 2013 - added /home/www-data/web2py/ to pythonpath.
>>>>> Wed Sep 11 22:36:40 2013 - mounting wsgihandler:application on /
>>>>> Traceback (most recent call last):
>>>>>   File "/home/www-data/web2py/**wsgihandler.py", line 33, in <module>
>>>>>     import gluon.main
>>>>>   File "/home/www-data/web2py/gluon/_**_init__.py", line 15, in 
>>>>> <module>
>>>>>     from globals import current
>>>>> ImportError: No module named 'globals'
>>>>> Wed Sep 11 22:36:40 2013 - unable to load app 0 (mountpoint='/') 
>>>>> (callable not found or import error)
>>>>>
>>>>>
>>>>> The pythonpath is correct and the web2py-installation is up to date 
>>>>> and there is a globals.py in web2py/gluon
>>>>>
>>>>> What is going on?
>>>>>
>>>>> Regards
>>>>> Johann
>>>>>
>>>>> -- 
>>>>> Because experiencing your loyal love is better than life itself, 
>>>>> my lips will praise you.  (Psalm 63:3)
>>>>>  
>>>>  -- 
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to