Bug #2120

Traceback on stdout when using spread

Added by N. Köster over 8 years ago. Updated about 8 years ago.

Status:RejectedStart date:12/01/2014
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


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)


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


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


#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.

Also available in: Atom PDF