I don't think my hosting company did something on python but it looks like
my python is broken just like you ahowd me... I will reinstall python and
add in modules next Monday. Thank you for your help!!!

On Oct 6, 2017 7:48 PM, "Dave S" <snidely....@gmail.com> wrote:

>
>
> On Friday, October 6, 2017 at 5:21:22 PM UTC-7, Omi Chiba wrote:
>>
>> Really????
>>
>
> And even more entries for the 3.6 version.
>
>
>>
>> Do you think I should uninstall and reinstall the same version of python?
>>
>>
> Worth looking at.  Was that touched when  your hosts were updated?
>
> /dps
>
>
>> On Friday, October 6, 2017 at 7:19:10 PM UTC-5, Dave S wrote:
>>>
>>>
>>>
>>> On Friday, October 6, 2017 at 4:54:53 PM UTC-7, Omi Chiba wrote:
>>>>
>>>> Python comand console?
>>>>
>>>> Yes, it looks ok I think.
>>>> http://prntscr.com/gu94ns
>>>>
>>>
>>> Not so good.
>>>
>>> It should be more like
>>>
>>> >> dir(logging)
>>> ['BASIC_FORMAT', 'BufferingFormatter', 'CRITICAL', 'DEBUG', 'ERROR',
>>> 'FATAL', 'FileHandler', 'Filter', 'Filterer', 'Formatter', 'Handler',
>>> 'INFO', 'LogRecord', 'Logger', 'LoggerAdapter', 'Manager', 'NOTSET',
>>> 'NullHandler', 'PlaceHolder', 'RootLogger', 'StreamHandler', 'WARN',
>>> 'WARNING', '__all__', '__author__', '__builtins__', '__date__',
>>> '__doc__', '__file__', '__name__', '__package__', '__path__',
>>> '__status__', '__version__', '_acquireLock', '_addHandlerRef',
>>> '_checkLevel', '_defaultFormatter', '_handlerList', '_handlers',
>>> '_levelNames', '_lock', '_loggerClass', '_releaseLock',
>>> '_removeHandlerRef', '_showwarning', '_srcfile', '_startTime',
>>> '_unicode', '_warnings_showwarning', 'addLevelName', 'atexit',
>>> 'basicConfig', 'cStringIO', 'captureWarnings', 'codecs', 'critical',
>>> 'currentframe', 'debug', 'disable', 'error', 'exception', 'fatal',
>>> 'getLevelName', 'getLogger', 'getLoggerClass', 'info', 'log',
>>> 'logMultiprocessing', 'logProcesses', 'logThreads', 'makeLogRecord',
>>> 'os', 'raiseExceptions', 'root', 'setLoggerClass', 'shutdown', 'sys',
>>> 'thread', 'threading', 'time', 'traceback', 'warn', 'warning',
>>> 'warnings', 'weakref']
>>> >>>
>>>
>>>
>>>  /dps
>>>
>>>
>>>>
>>>> On Friday, October 6, 2017 at 6:50:44 PM UTC-5, Dave S wrote:
>>>>>
>>>>>
>>>>>
>>>>> 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/web2py/6vmk64T1810/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to