Re: strange error when trying to log something

2009-07-26 Thread Peter Otten
Aahz wrote: > In article , > Peter Otten <__pete...@web.de> wrote: >> >>I have a hunch that you are triggering a reload() somewhere. Example: >> >>Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18) >>[GCC 4.3.3] on linux2 >>Type "help", "copyright", "credits" or "license" for more information.

Re: strange error when trying to log something

2009-07-25 Thread Aahz
In article , Peter Otten <__pete...@web.de> wrote: > >I have a hunch that you are triggering a reload() somewhere. Example: > >Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18) >[GCC 4.3.3] on linux2 >Type "help", "copyright", "credits" or "license" for more information. import weakref >>

Re: strange error when trying to log something

2009-07-23 Thread Peter Otten
Ryszard Szopa wrote: > Hi, > > I've recently reinstalled Python 2.6 (from DMG) on my Mac, and I am > running into very strage errors. Namely, logging seems to be badly > broken. When I open the interpreter through Django's manage.py shell > and try to use logging, I get the following error: > >>

strange error when trying to log something

2009-07-23 Thread Ryszard Szopa
Hi, I've recently reinstalled Python 2.6 (from DMG) on my Mac, and I am running into very strage errors. Namely, logging seems to be badly broken. When I open the interpreter through Django's manage.py shell and try to use logging, I get the following error: >>> logging.critical('ala') --