Hello Owen,
I experienced the same issue with LDAP users. But it works with local users.
Reading the lines above 252 in MugshotWindow.py, it can be seen that the
program only looks in the passwd file to get user info, and doesn't expect the
user to be outside of it. That's why it crashes.
The program should use "getent passwd username" or an equivalent for Python to
get user information.
It should inform the user, too, it can't handle distant users.
As a dirty patch, you could add those two lines after the instruction "break"
at line 248:
else:
name, office, office_phone, home_phone = 'User Unknown', '',
'', ''
It displays the right dialog, though you can't validate any changes.
Xubuntu 14.04 amd64, mugshot 0.2.3-1, python3 3.4.0-0ubuntu2
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1353530
Title:
mugshot produces python errors
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mugshot/+bug/1353530/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs