Re: logging - string formating problems

2009-04-06 Thread Vinay Sajip
On Apr 6, 1:58 pm, "Werner F. Bruhin" wrote: > I am fully aware that the problem is in my code, however as getMessage > inlogging.__init__.py does not catch the exception it is pretty > difficult to find the problem without manually inspecting > anylogging.something statements. > > My hack oflogg

Re: logging - string formating problems

2009-04-06 Thread MRAB
Werner F. Bruhin wrote: I am fully aware that the problem is in my code, however as getMessage in logging.__init__.py does not catch the exception it is pretty difficult to find the problem without manually inspecting any logging.something statements. My hack of logging.py is really a hack an

Re: logging - string formating problems

2009-04-06 Thread Werner F. Bruhin
I am fully aware that the problem is in my code, however as getMessage in logging.__init__.py does not catch the exception it is pretty difficult to find the problem without manually inspecting any logging.something statements. My hack of logging.py is really a hack and I know that this can no

Re: logging - string formating problems

2009-04-06 Thread Peter Otten
Werner F. Bruhin wrote: > Werner F. Bruhin wrote: >> I see the following exception with a string formating problem. >> >> TypeError: not all arguments converted during string formatting >> Traceback (most recent call last): >> File "/usr/lib/python2.5/logging/__init__.py", line 744, in emit >>

Re: logging - string formating problems

2009-04-06 Thread Steven D'Aprano
On Mon, 06 Apr 2009 11:11:37 +0200, Werner F. Bruhin wrote: > Werner F. Bruhin wrote: >> I see the following exception with a string formating problem. >> >> TypeError: not all arguments converted during string formatting >> Traceback (most recent call last): >> File "/usr/lib/python2.5/logging/_

Re: logging - string formating problems

2009-04-06 Thread Werner F. Bruhin
Werner F. Bruhin wrote: I see the following exception with a string formating problem. TypeError: not all arguments converted during string formatting Traceback (most recent call last): File "/usr/lib/python2.5/logging/__init__.py", line 744, in emit msg = self.format(record) File "/usr/lib

Re: logging - string formating problems

2009-04-05 Thread MRAB
Werner F. Bruhin wrote: I see the following exception with a string formating problem. TypeError: not all arguments converted during string formatting Traceback (most recent call last): File "/usr/lib/python2.5/logging/__init__.py", line 744, in emit msg = self.format(record) File "/usr/lib

logging - string formating problems

2009-04-05 Thread Werner F. Bruhin
I see the following exception with a string formating problem. TypeError: not all arguments converted during string formatting Traceback (most recent call last): File "/usr/lib/python2.5/logging/__init__.py", line 744, in emit msg = self.format(record) File "/usr/lib/python2.5/logging/__init