Upgrade from 2.0.13 to 2.1.6 fails
Bug #266280 reported by
Boutell-users
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
New
|
Medium
|
Unassigned |
Bug Description
Produces this error:
during Traceback (most recent call last):
File "bin/update", line 781, in ?
errors = main()
File "bin/update", line 705, in main
update_
File "bin/update", line 584, in update_pending
addr = data[0].address
AttributeError: 'str' object has no attribute 'address'
My workaround: changed line 584 to addr = data[0].
data[0] seems to be a simple string containing the
email address of the user, so that works. No idea if
this is incorrect for certain other 2.0.x versions, of
course, so a correct fix would test whether data[0] is
an instance of str first.
[http://
To post a comment you must log in.
P.S. I have seen reports of this problem on various mailing
lists but this is the first solution I've seen reported for it.