AttributeError: 'module' object has no attribute 'UserDesc' Private: (?)
No
When adding members via InviteNewMember, and he/she
receives the emails asking for confirmation, this is the
message shown when clicking:
Also happens when trying to post a message to the list.
It seems the problem is UserDesc class is defined to be empty, which it should not be.
Logged In: YES
user_id=1042734
Originator: NO
Now the pending.pck file is corrupt. Someone else filed a bug report:
https:/ /sourceforge. net/tracker/ ?func=detail& atid=100103& aid=911648& group_id= 103
AttributeError: 'module' object has no attribute 'UserDesc' Private: (?)
No
When adding members via InviteNewMember, and he/she
receives the emails asking for confirmation, this is the
message shown when clicking:
Also happens when trying to post a message to the list.
It seems the problem is UserDesc class is defined to be empty, which it should not be.
Sample Invite from Web - pending.pck:
(dp1 9a4a7f4fdef09ce c7b1ed8188f3'
S'32cd350628684
p2
(S'S'
(iMailman.UserDesc
UserDesc
p3
(dp4
S'language'
p5
S'en'
p6
sS'address'
p7
S'me@mydomain'
p8
sS'invitation'
p9
S'listname'
p10
sS'fullname'
p11
V
sS'password'
p12
S'ozwetuut'
p13
sS'digest'
p14
I0
sbtp15
sS'evictions'
p16
(dp17
g2
F1187031528.2229049
ssS'version'
p18
Sample from script:
(dp1 36aa678196525e7 61559f96ecc9'
S'evictions'
p2
(dp3
S'8341fdb4bb703
p4
F1187031624.769033
ssg4
(S'S'
(i__main__
UserDesc
p5
(dp6
S'fullname'
p7
S''
sS'invitation'
p8
S'listname'
p9
sS'digest'
p10
I0
sS'address'
p11
S'me@mydomain'
p12
sbtp13
sS'version'
p14
I2
s.
It has been suggested that:
(i__main__
UserDesc
is the error.
It was suggested to change: (from a similar error) http:// mail.python. org/pipermail/ mailman- users/2005- December/ 048056. html
Add
from Mailman.UserDesc import UserDesc
Remove
class UserDesc: pass
and that seems to solve the problem.