On Friday, October 6, 2017 at 4:43:18 PM UTC-7, Omi Chiba wrote:
>
> I have C:\Python27 in my "Path" System variables and I can run the pyson 
> module (*.py) from command prompt.
>


can you, at that prompt, do 
import logging
dir(logging)



?

/dps
 

>
> On Friday, October 6, 2017 at 6:15:56 PM UTC-5, Dave S wrote:
>>
>>
>>
>> On Friday, October 6, 2017 at 3:56:24 PM UTC-7, Dave S wrote:
>>>
>>>
>>>
>>> On Friday, October 6, 2017 at 3:26:14 PM UTC-7, Omi Chiba wrote:
>>>>
>>>> Help!
>>>>
>>>> I was running old version (2015) of web2py on my hosting server as our 
>>>> company's portal site and it stopped working suddenly. It's Windows 2012 
>>>> server with Uniserver(Apache). Apache start fine but shows error message. 
>>>> [...] 
>>>>
>>> AttributeError: 'module' object has no attribute 'getLogger'
>>>>
>>>
>>>
>>>
>>> The logging module is standard python for 2.7 and earlier ... what 
>>> version of python are you using, and has that changed recently?
>>>
>>>
>> Or did your PYTHONPATH variable change.
>>
>> import logging
>> dir(logging)
>>
>>
>>
>> shows getLogger in python 3.6.2, also.
>>
>> /dps
>>
>>  
>>>
>>

-- 
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/d/optout.

Reply via email to