20 Apr
2022
20 Apr
'22
4:17 p.m.
On 4/20/22 02:00, Stephan Krinetzki wrote:
Mark Sapiro wrote:
You might be able to fix this with something like
for mbr in m.regular_members.members: ... if mbr.address is None: ... mbr.address = mbr.user.preferred_address or member.user.addresses[0] ... commit()
This fix didn't worked. It returned a "Index out of bounds" exception.
Apparently these Users have no associated Addresses at all. Do you have any idea how these Users got created/subscribed to the list?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan