{{{
File "/home/michael/launchpad/lp-branches/598464-qa-fix/lib/lp/registry/model/person.py", line 2505, in getOrCreateByOpenID
Identifier
return IPerson(account), db_updated
TypeError: ('Could not adapt', <Account 'Joe Bloggs' (Active account)>, <InterfaceClass lp.registry.interfaces.person.IPerson>)
}}}
But I'm not certain that the cause is correct. I can't see how it could be that the person doesn't exist when the adaption takes place, as it's all within a MasterStorePolicy block. I'll wait to hear from Gary (or someone with more insight), but if this is the case, then this would fix it: http://pastebin.ubuntu.com/467034/
If I apply: http:// pastebin. ubuntu. com/467028/ and then run:
$ bin/test -vv -m test_personset -t test_no_ account_ or_email
I can force a similar error:
{{{ michael/ launchpad/ lp-branches/ 598464- qa-fix/ lib/lp/ registry/ model/person. py", line 2505, in getOrCreateByOpenID interfaces. person. IPerson> )
File "/home/
Identifier
return IPerson(account), db_updated
TypeError: ('Could not adapt', <Account 'Joe Bloggs' (Active account)>, <InterfaceClass lp.registry.
}}}
But I'm not certain that the cause is correct. I can't see how it could be that the person doesn't exist when the adaption takes place, as it's all within a MasterStorePolicy block. I'll wait to hear from Gary (or someone with more insight), but if this is the case, then this would fix it: http:// pastebin. ubuntu. com/467034/