Mailman 3.0 ListArchiverSet.__init__() broken

Bug #1332918 reported by NotTheEvilOne
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Invalid
Undecided
Unassigned

Bug Description

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.

Tags: mailman3
Revision history for this message
NotTheEvilOne (ntoe) wrote :
Barry Warsaw (barry)
tags: added: mailman3
Revision history for this message
Barry Warsaw (barry) wrote :

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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.