Package Details: mugshot 0.4.0-1

Git Clone URL: (read-only)
Package Base: mugshot
Description: Program to update personal user details
Upstream URL:
Licenses: GPLv3
Submitter: None
Maintainer: twa022
Last Packager: twa022
Votes: 69
Popularity: 1.365978
First Submitted: 2014-10-06 21:37
Last Updated: 2018-04-25 00:30

Latest Comments

thaewrapt commented on 2018-03-23 13:04

Seems like this package intended to work with Python2, not Python3. So, fixing all dependencies to python2-* ones is more convenient way to deal with locale error (and any others possible).

burningbronx commented on 2018-01-17 19:45

Another way to fix the "UnicodeDecodeError" is to set encoding='UTF-8' where the open() method is invoked in Build compiles.

jonathon commented on 2017-12-11 16:52

Looks like "UnicodeDecodeError" is due to a default C locale instead of a UTF8 locale. One workaround is to edit /etc/locale.gen and enable en_US.UTF8, then run locale-gen, then export LC_ALL=en_US.UTF8. Build will complete after that.

Not sure if that's in the scope of a PKGBUILD? It kind of sounds like a bug in the upstream code...

seantum commented on 2017-08-10 22:20

mugshot doesn't start in vanilla Arch (also using xfce4)

Here is the log from the terminal:

[thomas@arch-xfce ~]$ mugshot

** (mugshot:908): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-7X4l9ckp17: Verbindungsaufbau abgelehnt
Traceback (most recent call last):
File "/usr/bin/mugshot", line 36, in <module>
File "/usr/lib/python3.6/site-packages/mugshot/", line 47, in main
window = MugshotWindow.MugshotWindow()
File "/usr/lib/python3.6/site-packages/mugshot_lib/", line 53, in __new__
File "/usr/lib/python3.6/site-packages/mugshot/", line 229, in finish_initializing
File "/usr/lib/python3.6/site-packages/mugshot/", line 273, in init_user_details
user_details = self.get_user_details()
File "/usr/lib/python3.6/site-packages/mugshot/", line 665, in get_user_details
as_data = self.get_accounts_service_data()
File "/usr/lib/python3.6/site-packages/mugshot/", line 717, in get_accounts_service_data
name = self.split_name(name)
File "/usr/lib/python3.6/site-packages/mugshot/", line 697, in split_name
parts = name.split()

koassim commented on 2017-04-08 13:15

accountsservice is not optional for me (using xfce4). Without it mugshot flat out refuses to run (there is a ~/.face file)

Megver83 commented on 2017-03-27 13:54

@hexdsl I'm having the same issue in a clear chroot, but not on my OS.

hexdsl commented on 2017-02-23 16:47

Traceback (most recent call last):
File "", line 201, in <module>
cmdclass={'install': InstallAndUpdateDataDirectory}
File "/usr/lib/python3.6/site-packages/DistUtilsExtra/", line 100, in setup
File "/usr/lib/python3.6/distutils/", line 148, in setup
File "/usr/lib/python3.6/distutils/", line 955, in run_commands
File "/usr/lib/python3.6/distutils/", line 974, in run_command
File "", line 186, in run
update_desktop_file(desktop_file, script_path)
File "", line 106, in update_desktop_file
for line in fin:
File "/usr/lib/python3.6/encodings/", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 92: ordinal not in range(128)
==> ERROR: A failure occurred in package().
:: failed to build mugshot package(s)


Stein commented on 2016-11-16 12:44

I get the Error:

==> Starting package()...
To build mugshot you need
==> ERROR: A failure occurred in package().
:: failed to build mugshot package(s)

but my python-distutils-extra is up to date:
pacaur -Ss python-distutils
community/python-distutils-extra 2.39-1 [installed]
Enhancements to the Python build system

Some of the other AUR packages had problem with my Anaconda installation, this package is not in conda. So I think this might not be this problem. How do I fix this?

fhdk commented on 2016-10-10 15:04

I have updated to latest version and added accountsservice as dependency.
Also mailed maintainer - so far, no response.
Temporary pkgbuild can be found at

Trollwut commented on 2016-09-18 04:26

For those who can't start `mugshot`, closing with the following error:

> GLib.Error: g-file-error-quark: Failed to open file '/home/cedric/.face': No such file or directory (4)

Installing `extra/accountsservice` fixed it for me. :) (Running with XFCE)

All comments