Does the attached patch help your problem? (Also without your debugging patch?)
** Attachment added: "Check if the groupid provided is none, don't crash." http://librarian.launchpad.net/5646912/check-for-None-groupid.diff -- userconfig crashes while loading group id's https://launchpad.net/bugs/69200 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs