sbackup crash on startup due to locale

Bug #1209432 reported by Olivier FAURAX
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu
Confirmed
Low
Unassigned

Bug Description

$ env LC_ALL=C sbackup
DEBUG: pgrep x-session-manager =
DEBUG: pgrep gnome-session = 1318
DEBUG: pgrep gnome-session = 1318
Desktop session gnome-session found
Updating SSH_AUTH_SOCK to: None
DEBUG: pgrep x-session-manager =
DEBUG: pgrep gnome-session = 1318
DEBUG: pgrep gnome-session = 1318
Desktop session gnome-session found
Updating GNOME_KEYRING_CONTROL to: None
DEBUG: pgrep x-session-manager =
DEBUG: pgrep gnome-session = 1318
DEBUG: pgrep gnome-session = 1318
Desktop session gnome-session found
Updating GNOME_KEYRING_PID to: None
Traceback (most recent call last):
  File "/usr/local/bin/sbackup", line 35, in <module>
    locale_dir = get_locale_dir()
  File "/usr/local/share/sbackup/sbackup/util/__init__.py", line 105, in get_locale_dir
    return get_resource_dir(constants.LOCALE_DIR)
  File "/usr/local/share/sbackup/sbackup/util/__init__.py", line 101, in get_resource_dir
    return __get_resource(resource_name, is_file = False)
  File "/usr/local/share/sbackup/sbackup/util/__init__.py", line 93, in __get_resource
    raise exceptions.ResourceFileNotFoundError("Unable to find `%s` in the resources list" % resource_name)
sbackup.util.exceptions.ResourceFileNotFoundError: Unable to find `locale` in the resources list

Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

Thank you for reporting this issue. It sounds like your installation was not properly done. Please check your installation or install from binary packages. I'm closing this bug report for now, feel free to reopen it if the error occurs again. Thanks.

Changed in sbackup:
status: New → Invalid
Revision history for this message
Olivier FAURAX (olivier-faurax) wrote :

I found this bug while trying to package it for Mageia.

It seems that Fedora has the same bug : https://bugzilla.redhat.com/show_bug.cgi?id=971359
It has been closed as "this distrib version is not supported anymore".

Can you explain what the error message is saying?

Changed in sbackup:
status: Invalid → Confirmed
Changed in sbackup:
importance: Undecided → Low
Revision history for this message
Paul Horechuk (phorechuk) wrote :

Running Kubuntu 14.04 with several desktop available, including gnome-session and ksmserver:
Attempt to launch indicator application (status icon).
DEBUG: pgrep x-session-manager =
DEBUG: pgrep gnome-session =
DEBUG: pgrep gnome-shell =
DEBUG: pgrep ksmserver =
DEBUG: pgrep xfce4-session =
No Desktop session found
No desktop session found. Indicator application is not started.
2014-08-17 12:28:14,940 - INFO: SBackupdDBusObject is being terminated.

affects: sbackup → ubuntu
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.