Random traceback

Gerrit Holl gerrit at nl.linux.org
Wed Dec 3 07:23:36 EST 2003


user at domain.invalid wrote:
> Is there any condition that would cause the following traceback:
> ++++++++++++++++++++
> Traceback (innermost last):
>   File "/tmp/multimeter.py", line 157, in ?
>     myLogger.logMessage(message)
>   File "/tmp/Logger.py", line 46, in logMessage
>     self.__logToSyslog__(message)
>   File "/tmp/Logger.py", line 85, in __logToSyslog__
>     syslog.syslog("%s" %reading)
> TypeError: [priority,] message string
> ++++++++++++++++++++

It seems like message is not a string...

yours,
Gerrit.

-- 
141. If a man's wife, who lives in his house, wishes to leave it,
plunges into debt, tries to ruin her house, neglects her husband, and is
judicially convicted: if her husband offer her release, she may go on her
way, and he gives her nothing as a gift of release. If her husband does
not wish to release her, and if he take another wife, she shall remain as
servant in her husband's house.
          -- 1780 BC, Hammurabi, Code of Law
-- 
Asperger's Syndrome - a personal approach:
	http://people.nl.linux.org/~gerrit/english/





More information about the Python-list mailing list