Package Details: mugshot 0.4.3-2

Git Clone URL: https://aur.archlinux.org/mugshot.git (read-only, click to copy)
Package Base: mugshot
Description: Program to update personal user details
Upstream URL: https://github.com/bluesabre/mugshot
Licenses: GPLv3
Submitter: None
Maintainer: twa022
Last Packager: twa022
Votes: 95
Popularity: 0.38
First Submitted: 2014-10-06 21:37 (UTC)
Last Updated: 2021-11-22 04:35 (UTC)

Latest Comments

earlybird commented on 2022-05-21 11:18 (UTC)

Could you investigate if accountsservice is needed as dependency.

Seems to work fine without.

xoan commented on 2022-04-15 14:57 (UTC)

@Joel you must rebuild the package

Joel commented on 2022-04-15 14:03 (UTC) (edited on 2022-04-15 14:04 (UTC) by Joel)

Error running mugshot 0.4.3-2: Traceback (most recent call last): File "/usr/bin/mugshot", line 35, in <module> import mugshot ModuleNotFoundError: No module named 'mugshot'

qark commented on 2021-11-19 15:44 (UTC)

Mugshot doesn't depend on python-dbus since 0.4.3. Could you please remove it from PKGBUILD?

gbernard commented on 2020-12-03 08:22 (UTC)

Thank you very much for this patch and what a quick fix.

Venom1991 commented on 2020-12-02 19:33 (UTC)

Python got updated to 3.9 today and this package stopped working (a method got removed/renamed). Luckily, it is an easy fix - https://github.com/bluesabre/mugshot/commit/4f6c280f43261b45f16dea348d33bb3bf02e3ca1

The Builder.py file is located in /usr/lib/python3.9/site-packages/mugshot_lib/

Unfortunately, a new release with this commit has not yet been packaged upstream so this is the only workaround that I can think of.

TuxTech commented on 2020-05-18 04:48 (UTC)

Depreciated?

D3SOX commented on 2019-08-30 13:48 (UTC)

New URL is https://github.com/bluesabre/mugshot

michaelnix commented on 2019-07-16 17:38 (UTC)

Never mind. I guess it was a problem with pamac-aur. Yay built just fine.

michaelnix commented on 2019-07-16 11:21 (UTC)

Fails to clone files for building. Comes back null.

FredBezies commented on 2018-08-08 15:30 (UTC)

Mugshot 0.4.1 is out.

https://bluesabre.org/2018/08/08/mugshot-0-4-1-released/

KillWolfVlad commented on 2018-08-06 12:22 (UTC)

Must be rebuilt for work with python 3.7.0-3

friday13 commented on 2018-07-24 12:58 (UTC)

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 92: ordinal not in range(128) ==> ERROR: A failure occurred in package(). Aborting... 2018-07-24 15:57:13,580 - wrappers - makepkg - ERROR - makepkg query ['makepkg', '-cf', '--noconfirm'] failed in directory /home/friday13/.cache/aurman/mugshot

thaewrapt commented on 2018-03-23 13:04 (UTC)

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 (UTC)

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

jonathon commented on 2017-12-11 16:52 (UTC)

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 (UTC)

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> mugshot.main() File "/usr/lib/python3.6/site-packages/mugshot/__init__.py", line 47, in main window = MugshotWindow.MugshotWindow() File "/usr/lib/python3.6/site-packages/mugshot_lib/Window.py", line 53, in __new__ new_object.finish_initializing(builder) File "/usr/lib/python3.6/site-packages/mugshot/MugshotWindow.py", line 229, in finish_initializing self.init_user_details() File "/usr/lib/python3.6/site-packages/mugshot/MugshotWindow.py", line 273, in init_user_details user_details = self.get_user_details() File "/usr/lib/python3.6/site-packages/mugshot/MugshotWindow.py", line 665, in get_user_details as_data = self.get_accounts_service_data() File "/usr/lib/python3.6/site-packages/mugshot/MugshotWindow.py", line 717, in get_accounts_service_data name = self.split_name(name) File "/usr/lib/python3.6/site-packages/mugshot/MugshotWindow.py", line 697, in split_name parts = name.split()

koassim commented on 2017-04-08 13:15 (UTC)

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 (UTC)

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

hexdsl commented on 2017-02-23 16:47 (UTC)

Traceback (most recent call last): File "setup.py", line 201, in <module> cmdclass={'install': InstallAndUpdateDataDirectory} File "/usr/lib/python3.6/site-packages/DistUtilsExtra/auto.py", line 100, in setup distutils.core.setup(**attrs) File "/usr/lib/python3.6/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "setup.py", line 186, in run update_desktop_file(desktop_file, script_path) File "setup.py", line 106, in update_desktop_file for line in fin: File "/usr/lib/python3.6/encodings/ascii.py", 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(). Aborting... :: failed to build mugshot package(s) :(

Stein commented on 2016-11-16 12:44 (UTC)

I get the Error: ==> Starting package()... To build mugshot you need https://launchpad.net/python-distutils-extra ==> ERROR: A failure occurred in package(). Aborting... :: 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?

root-nix commented on 2016-10-10 15:04 (UTC)

I have updated to latest version and added accountsservice as dependency. Also mailed maintainer - so far, no response. Temporary pkgbuild can be found at https://github.com/fhdk/mugshot

Trollwut commented on 2016-09-18 04:26 (UTC) (edited on 2016-09-18 04:26 (UTC) by Trollwut)

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)

Neruson1138 commented on 2016-09-08 05:30 (UTC)

Package installs, but no longer launches (Xfce). Running "mugshot" in the terminal provides this: [neruson@archbook ~]$ mugshot /usr/lib/python3.5/site-packages/mugshot/CameraMugshotDialog.py:27: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded. from gi.repository import Gtk, GObject, Gst, GdkPixbuf Traceback (most recent call last): File "/usr/bin/mugshot", line 36, in <module> mugshot.main() File "/usr/lib/python3.5/site-packages/mugshot/__init__.py", line 46, in main window = MugshotWindow.MugshotWindow() File "/usr/lib/python3.5/site-packages/mugshot_lib/Window.py", line 52, in __new__ new_object.finish_initializing(builder) File "/usr/lib/python3.5/site-packages/mugshot/MugshotWindow.py", line 223, in finish_initializing self.init_user_details() File "/usr/lib/python3.5/site-packages/mugshot/MugshotWindow.py", line 243, in init_user_details self.set_user_image(face) File "/usr/lib/python3.5/site-packages/mugshot/MugshotWindow.py", line 288, in set_user_image pixbuf = GdkPixbuf.Pixbuf.new_from_file(filename) GLib.Error: g-file-error-quark: Failed to open file '/home/neruson/.face': No such file or directory (4) [neruson@archbook ~]$

Marsic commented on 2016-09-04 07:40 (UTC)

When I try to launch it I'm getting /usr/lib/python3.5/site-packages/mugshot/CameraMugshotDialog.py:27: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded. from gi.repository import Gtk, GObject, Gst, GdkPixbuf Traceback (most recent call last): File "/usr/bin/mugshot", line 36, in <module> mugshot.main() File "/usr/lib/python3.5/site-packages/mugshot/__init__.py", line 46, in main window = MugshotWindow.MugshotWindow() File "/usr/lib/python3.5/site-packages/mugshot_lib/Window.py", line 52, in __new__ new_object.finish_initializing(builder) File "/usr/lib/python3.5/site-packages/mugshot/MugshotWindow.py", line 223, in finish_initializing self.init_user_details() File "/usr/lib/python3.5/site-packages/mugshot/MugshotWindow.py", line 243, in init_user_details self.set_user_image(face) File "/usr/lib/python3.5/site-packages/mugshot/MugshotWindow.py", line 288, in set_user_image pixbuf = GdkPixbuf.Pixbuf.new_from_file(filename) GLib.Error: g-file-error-quark: Failed to open file '/home/lorenzo/.face': No such file or directory (4)

hexdsl commented on 2016-03-05 19:23 (UTC)

i get MANY python errors when i run this

pethead commented on 2016-01-22 04:18 (UTC)

Solved. I forgot to define export LANG=en_US.UTF-8

pethead commented on 2016-01-22 03:43 (UTC)

File "/usr/lib/python3.5/encodings/ascii.py", 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(). Aborting... ==> ERROR: Makepkg was unable to build mugshot.

SpotlightKid commented on 2015-11-22 17:08 (UTC)

Another Python traceback: http://pastebin.com/kmrFDsVV

Stary2001 commented on 2015-11-13 16:01 (UTC)

patch applied and updated to 3.0

debwoo commented on 2015-11-07 08:42 (UTC)

@mikekeen thanks man the patch worked perfectly with the new version 3.0 as well.

mikekeen commented on 2015-11-05 16:57 (UTC)

This patch fixes the python errors reported here: http://pastebin.com/4mNVqJhs

debwoo commented on 2015-10-10 10:19 (UTC)

I tried building the new package and its got same errors as already reported here.

debwoo commented on 2015-10-06 09:10 (UTC)

out of date 3.0 latest

GreenRaccoon23 commented on 2015-08-26 12:42 (UTC)

I'm getting a python error: http://pastebin.com/cZcF9WHU Would any python gurus be able and willing to help me figure out which python dependency package I need to install?

sickpuppy commented on 2015-08-17 16:43 (UTC)

Select a profile picture. Select Apply. Enter password. Get Error message that changes could not be applied. Last DEBUG entry: DEBUG:mugshot: process_terminal_password() 'Executing: /usr/bin/chfn -w "none" sickpuppy' According to my man page there is no -w option for the chfn command.

pixelrazor commented on 2015-06-02 17:23 (UTC)

Here's what happens when i try to use it: http://pastebin.com/S7yWg5Xr

lukypie commented on 2015-04-10 18:55 (UTC)

Btw, it works (changing profile picture) if I create a new user without changing the name from mugshot.

lukypie commented on 2015-04-10 18:53 (UTC)

I have a problem with password authentication, it fails if I modify the Name and/or the Surname, but before doing that, changing the profile picture is working flawlessly. So, after modifying the name, changing profile picture also asks for password and fails (eventhough the error modifying the name still works after and before, but after the first time you do it, you won't be able to modifying the profile picture) I can't manage how to fix it, because after deleting everything from che home folder (.face, .config, Music, Documents etc.) the problem persists. Sorry for my bad english

coolpyrofreak commented on 2015-03-20 00:44 (UTC)

@Jristz - Install accountsservice. I was getting the same errors, but installing accountsservice made them go away. The package probably needs to be updated to include it as a mandatory dependency, not optional.

commented on 2015-03-14 14:30 (UTC)

Traceback (most recent call last): File "/usr/bin/mugshot", line 36, in <module> mugshot.main() File "/usr/lib/python3.4/site-packages/mugshot/__init__.py", line 46, in main window = MugshotWindow.MugshotWindow() File "/usr/lib/python3.4/site-packages/mugshot_lib/Window.py", line 51, in __new__ new_object.finish_initializing(builder) File "/usr/lib/python3.4/site-packages/mugshot/MugshotWindow.py", line 216, in finish_initializing self.init_user_details() File "/usr/lib/python3.4/site-packages/mugshot/MugshotWindow.py", line 236, in init_user_details self.set_user_image(face) File "/usr/lib/python3.4/site-packages/mugshot/MugshotWindow.py", line 281, in set_user_image pixbuf = GdkPixbuf.Pixbuf.new_from_file(filename) GLib.Error: g-file-error-quark: Failed to open file '/home/coffee/.face': File or directory not exist (4) Or you miss a dep or a wrong shebang or something else, but I can't make it work

aboe commented on 2015-03-08 16:10 (UTC)

Don't know why this is flagged out of date the latest release on launchpad is 0.2.5 and it builds on archlinux without problems..

commented on 2015-02-20 21:07 (UTC)

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 92: ordinal not in range(128) ==> ERROR: A failure occurred in package(). Aborting... ==> ERROR: Makepkg was unable to build mugshot.