[Python-apps-team] Bug#855157: mugshot is not starting

Dmitri thedrunkyardkeeper at gmail.com
Tue Feb 14 19:23:09 UTC 2017


Package: mugshot
Version: 0.3.1-1
Severity: normal

Dear Maintainer,
The application is not starting
   * What led up to the situation?
#: aptitude install mugshot -t sid
The following NEW packages will be installed:
  cheese-common{a} gir1.2-cheese-3.0{a} gir1.2-clutter-1.0{a}
gir1.2-cogl-1.0{a} gir1.2-coglpango-1.0{a} gir1.2-gtkclutter-1.0{a}
gir1.2-json-1.0{a} libcheese8{a} libclutter-gst-3.0-0{a} mugshot
python3-pexpect{a} python3-ptyprocess{a}
[Y]
Preparing to unpack .../11-mugshot_0.3.1-1_all.deb ...
Unpacking mugshot (0.3.1-1) ...

$: mugshot -v
DEBUG:mugshot: init_user_details() 'Checking for ~/.face profile image'
DEBUG:mugshot: init_user_details() 'Checking AccountsService for profile image'
DEBUG:mugshot: init_user_details() 'Found profile image: False'
DEBUG:mugshot: set_user_image() 'Setting user profile image to None'
DEBUG:mugshot: get_libreoffice_data() 'Getting settings from
/home/noroot/.config/libreoffice/4/user/registrymodifications.xcu'
Traceback (most recent call last):
  File "/usr/bin/mugshot", line 36, in <module>
    mugshot.main()
  File "/usr/lib/python3/dist-packages/mugshot/__init__.py", line 47, in main
    window = MugshotWindow.MugshotWindow()
  File "/usr/lib/python3/dist-packages/mugshot_lib/Window.py", line 52, in
__new__
    new_object.finish_initializing(builder)
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 228, in
finish_initializing
    self.init_user_details()
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 271, in
init_user_details
    user_details = self.get_user_details()
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 654, in
get_user_details
    as_data = self.get_accounts_service_data()
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 706, in
get_accounts_service_data
    name = self.split_name(name)
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 686, in
split_name
    parts = name.split()
AttributeError: 'bool' object has no attribute 'split'

$: mv
/home/noroot/.config/libreoffice/4/user/{registrymodifications.xcu,registrymodifications.xcu.bk}

$: mugshot -v
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'crop_center',
'toggled', 'on_crop_changed''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'crop_left',
'toggled', 'on_crop_changed''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'crop_right',
'toggled', 'on_crop_changed''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design
'image_from_stock', 'activate', 'on_image_from_stock_activate''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design
'image_from_camera', 'activate', 'on_menu_camera_activate''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design
'image_from_browse', 'activate', 'on_image_from_browse_activate''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'image_remove',
'activate', 'on_image_remove_activate''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'first_name',
'activate', 'entry_focus_next''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'last_name',
'activate', 'entry_focus_next''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'initials',
'activate', 'entry_focus_next''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'initials',
'grab-focus', 'initials_entry_focused''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'home_phone',
'activate', 'entry_focus_next''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'home_phone',
'changed', 'filter_numbers''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'email',
'activate', 'entry_focus_next''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'office_phone',
'activate', 'entry_focus_next''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'office_phone',
'changed', 'filter_numbers''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'fax',
'changed', 'filter_numbers''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'help_button',
'clicked', 'on_help_activate''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design
'cancel_button', 'clicked', 'on_cancel_button_clicked''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'apply_button',
'clicked', 'on_apply_button_clicked''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design
'filechooserdialog', 'update-preview', 'on_filechooserdialog_update_preview''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design
'stock_browser', 'delete-event', 'on_stock_browser_delete_event''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design
'stock_iconview', 'item-activated', 'on_stock_iconview_item_activated''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design
'stock_iconview', 'selection-changed', 'on_stock_iconview_selection_changed''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'stock_cancel',
'clicked', 'on_stock_cancel_clicked''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'stock_ok',
'clicked', 'on_stock_ok_clicked''
DEBUG:mugshot_lib: do_connect() 'connect builder by name
'stock_iconview','selection_changed', 'on_stock_iconview_selection_changed''
DEBUG:mugshot_lib: do_connect() 'connect builder by name
'stock_iconview','item_activated', 'on_stock_iconview_item_activated''
DEBUG:mugshot_lib: do_connect() 'connect builder by name
'mugshot_window','destroy', 'on_destroy''
DEBUG:mugshot_lib: do_connect() 'connect builder by name
'stock_browser','delete_event', 'on_stock_browser_delete_event''
DEBUG:mugshot_lib: log_unconnected_functions() 'Not connected to builder
'on_preferences_changed''
DEBUG:mugshot_lib: log_unconnected_functions() 'Not connected to builder
'on_camera_dialog_apply''
DEBUG:mugshot: init_user_details() 'Checking for ~/.face profile image'
DEBUG:mugshot: init_user_details() 'Checking AccountsService for profile image'
DEBUG:mugshot: init_user_details() 'Found profile image: False'
DEBUG:mugshot: set_user_image() 'Setting user profile image to None'
Traceback (most recent call last):
  File "/usr/bin/mugshot", line 36, in <module>
    mugshot.main()
  File "/usr/lib/python3/dist-packages/mugshot/__init__.py", line 47, in main
    window = MugshotWindow.MugshotWindow()
  File "/usr/lib/python3/dist-packages/mugshot_lib/Window.py", line 52, in
__new__
    new_object.finish_initializing(builder)
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 228, in
finish_initializing
    self.init_user_details()
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 271, in
init_user_details
    user_details = self.get_user_details()
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 654, in
get_user_details
    as_data = self.get_accounts_service_data()
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 706, in
get_accounts_service_data
    name = self.split_name(name)
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 686, in
split_name
    parts = name.split()
AttributeError: 'bool' object has no attribute 'split'


$: mv
/home/noroot/.config/libreoffice/4/user/{registrymodifications.xcu.bk,registrymodifications.xcu}

Tried to find a solution on the internet, no succes, the same thing with
package versions from
http://ppa.launchpad.net/mugshot-dev/daily/ubuntu/pool/main/m/mugshot/
and
https://bugs.launchpad.net/ubuntu/zesty/amd64/mugshot/0.3.2-0ubuntu1
tried to upgrade dependencies
aptitude upgrade ~Rmugshot -t sid, and even -t experimental, still getting this
error.
So, it might be something system-specified, but i can not imagine what exactly.

Best regards,
Dmitri



-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (900, 'testing'), (800, 'experimental'), (500,
'stable'), (1, 'oldoldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-8.1-liquorix-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mugshot depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.26.0-2
ii  gconf-gsettings-backend [gsettings-backend]  3.2.6-4
ii  gir1.2-gdkpixbuf-2.0                         2.36.5-1
ii  gir1.2-glib-2.0                              1.50.0-1
ii  gir1.2-gst-plugins-base-1.0                  1.11.1-1
ii  gir1.2-gstreamer-1.0                         1.10.3-1
ii  gir1.2-gtk-3.0                               3.22.7-2
ii  python3-cairo                                1.10.0+dfsg-5+b1
ii  python3-dbus                                 1.2.4-1
ii  python3-pexpect                              4.2.1-1
pn  python3:any                                  <none>

Versions of packages mugshot recommends:
ii  gir1.2-cheese-3.0      3.22.1-1
ii  gir1.2-gtkclutter-1.0  1.8.2-1

Versions of packages mugshot suggests:
ii  gstreamer1.0-plugins-good  1.10.3-1



More information about the Python-apps-team mailing list