Bug #2120
Traceback on stdout when using spread
Status: | Rejected | Start date: | 12/01/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Python | |||
Target version: | - |
Description
There is a issue with a log statement when creating a Listener using RSB python. It ounly occurs when using spread transport and is from the file __init__.py
(line 365).
Seems like it is from the rsbspread
sub package:
... 364 def filterNotify(self, theFilter, action): 365 self.__logger.debug("Ignoring filter %s with action %s", theFilter, action) ...
Error:
Traceback (most recent call last): File "/usr/lib/python2.7/logging/handlers.py", line 76, in emit if self.shouldRollover(record): File "/usr/lib/python2.7/logging/handlers.py", line 156, in shouldRollover msg = "%s\n" % self.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 724, in format return fmt.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 464, in format record.message = record.getMessage() File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage msg = msg % self.args TypeError: __str__ returned non-string (type NoneType) Logged from file __init__.py, line 365
Versions:
In [3]: import rsb.version In [4]: rsb.version.getVersion() Out[4]: '0.11.0-gba5241b'
»» [/homes/nkoester/] cat /etc/issue Ubuntu 14.04.1 LTS \n \l »» [/homes/nkoester/] uname -a Linux hdn 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:30:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
History
#1 Updated by J. Wienke about 8 years ago
- Status changed from New to Rejected
I have no chance to debug this without having a reproduction test case. There must have been something that returned None
in its __str__
method, but no chance to tell what this was from the bug report.