Random traceback

U

user

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
++++++++++++++++++++
 
G

Gerrit Holl

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top