[Django]-Django and Suds : 'NoneType' object has no attribute 'str' in suds

0👍

Your error is here:

s = '%s [%s] %s: %s' % (dt, record.name, record.levelname, record.getMessage())

One of these variables is None, my initial suspect is dt.

12👍

The bug is in suds but is normally silent. However the bug is exposed when using django-debug-toolbar, as the logging panel shows all the messages that have been logged.

I’ve created a patched version of suds that fixes this problem: https://github.com/bradleyayers/suds-htj

Leave a comment