[Bug 1332918] [NEW] Mailman 3.0 ListArchiverSet.__init__() broken
Public bug reported: Hi, I'm currently developing an alternative archiver for Mailman 3.0 and ran into the following issue: Jun 21 21:27:13 2014 (23814) Uncaught runner exception: Expected unicode, found <type 'str'>: 'my_archiver_name' Jun 21 21:27:13 2014 (23814) Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/mailman/core/runner.py", line 169, in _one_iteration self._process_one_file(msg, msgdata) File "/usr/lib/python2.7/dist-packages/mailman/core/runner.py", line 252, in _process_one_file keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/lib/python2.7/dist-packages/mailman/runners/pipeline.py", line 36, in _dispose process(mlist, msg, msgdata, pipeline) File "/usr/lib/python2.7/dist-packages/mailman/core/pipelines.py", line 66, in process handler.process(mlist, msg, msgdata) File "/usr/lib/python2.7/dist-packages/mailman/handlers/rfc_2369.py", line 120, in process process(mlist, msg, msgdata) File "/usr/lib/python2.7/dist-packages/mailman/handlers/rfc_2369.py", line 87, in process archiver_set = IListArchiverSet(mlist) File "/usr/lib/python2.7/dist-packages/zope/component/_api.py", line 156, in adapter_hook return sitemanager.queryAdapter(object, interface, name, default) File "/usr/lib/python2.7/dist-packages/zope/component/registry.py", line 228, in queryAdapter return self.adapters.queryAdapter(object, interface, name, default) File "/usr/lib/python2.7/dist-packages/mailman/model/mailinglist.py", line 591, in __init__ ListArchiver.name == archiver_name)).one() File "/usr/lib/python2.7/dist-packages/storm/expr.py", line 412, in __eq__ other = getattr(self, "variable_factory", Variable)(value=other) File "/usr/lib/python2.7/dist-packages/storm/variables.py", line 396, in parse_set % (type(value), value)) Please find attached a patch. ** Affects: mailman Importance: Undecided Status: New ** Patch added: "Convert "archiver_name" into unicode in "ListArchiverSet.__init__()"" https://bugs.launchpad.net/bugs/1332918/+attachment/4136576/+files/0002-mail... -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1332918 Title: Mailman 3.0 ListArchiverSet.__init__() broken To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1332918/+subscriptions
** Tags added: mailman3 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1332918 Title: Mailman 3.0 ListArchiverSet.__init__() broken To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1332918/+subscriptions
This may no longer be valid after the port to SQLAlchemy. I'll mark it as such, but if you can still reproduce with current bzr head, please do re-open. ** Changed in: mailman Status: New => Invalid -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1332918 Title: Mailman 3.0 ListArchiverSet.__init__() broken To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1332918/+subscriptions
participants (2)
-
Barry Warsaw
-
NotTheEvilOne