Back in Time (root) hangs up and does not find previous back-up

Bug #1245600 reported by Philetjosie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Back In Time
New
Undecided
Unassigned

Bug Description

After an update to the latest release (1.0.28) from (1.0.26) on Ubuntu Saucy, BIT root does not start properly, it hangs up (grey windows). After many trials, it finally starts, but does not find the previous back-up. I restart again BIT, and eventually, it founds the previous back-ups. A bit strange !

Revision history for this message
Philetjosie (philippe-quaglia) wrote :

I also just notice that when pressing the «quit» button, BIT takes a while to close...

Revision history for this message
Germar (germar) wrote :

Please run 'backintime-gnome' from command line and post the output.

Revision history for this message
Philetjosie (philippe-quaglia) wrote :

Hi,
please find the result below. But it seems that BIT starts fine, while
BIT root does not. I do not know how to launch BIT root in command line..
Regards.

Back In Time
Version: 1.0.28

Back In Time comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type `backintime-gnome --license' for details.

Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading
configurations from ~/.fonts.conf is deprecated.
/usr/share/backintime/gnome/settingsdialog.py:57: GtkWarning: Failed to
set text from markup due to error parsing markup: Erreur à la ligne 1,
caractère 81 : L'élément « p » a été fermé, mais l'élément actuellement
ouvert est « b »
  builder.add_from_file(glade_file)
/usr/share/backintime/gnome/settingsdialog.py:1109: GtkWarning: Failed
to set text from markup due to error parsing markup: Erreur à la ligne
1, caractère 81 : L'élément « p » a été fermé, mais l'élément
actuellement ouvert est « b »
  if gtk.RESPONSE_OK == self.dialog.run():

Le 28/10/2013 19:17, Germar a écrit :
> Please run 'backintime-gnome' from command line and post the output.
>

--

Philippe

Revision history for this message
Philetjosie (philippe-quaglia) wrote : Re: [Bug 1245600] Re: Back in Time (root) hangs up and does not find previous back-up

And in fact, when I run «sudo backintime-gnome», it takes 20 s to
start-up (whereas without sudo it is instantaneous), and here is the
message I get:

philippe@philippe-desktop:~$ sudo backintime-gnome
[sudo] password for philippe:

Back In Time
Version: 1.0.28

Back In Time comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type `backintime-gnome --license' for details.

Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading
configurations from ~/.fonts.conf is deprecated.
/usr/share/backintime/gnome/settingsdialog.py:57: GtkWarning: Failed to
set text from markup due to error parsing markup: Erreur à la ligne 1,
caractère 81 : L'élément « p » a été fermé, mais l'élément actuellement
ouvert est « b »
  builder.add_from_file(glade_file)
/usr/share/backintime/gnome/settingsdialog.py:1109: GtkWarning: Failed
to set text from markup due to error parsing markup: Erreur à la ligne
1, caractère 81 : L'élément « p » a été fermé, mais l'élément
actuellement ouvert est « b »
  if gtk.RESPONSE_OK == self.dialog.run():

Best regards.
Philippe.

Le 28/10/2013 19:17, Germar a écrit :
> Please run 'backintime-gnome' from command line and post the output.
>

--

Philippe

Revision history for this message
Germar (germar) wrote :

Sorry, I don't understand the output. Can you please run it again with 'LC_ALL=C backintime-gnome' so I can see the english errormsg?

Revision history for this message
Philetjosie (philippe-quaglia) wrote :

Hello,
here is what I get, and BIT does not start...
I will be out for some days, I will be able to answer your next émails
next week.

Best regards.

philippe@philippe-desktop:~$ LC_ALL=C backintime-gnome

Back In Time
Version: 1.0.28

Back In Time comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type `backintime-gnome --license' for details.

Traceback (most recent call last):
  File "/usr/share/backintime/gnome/app.py", line 1272, in <module>
    app_instance = guiapplicationinstance.GUIApplicationInstance(
cfg.get_app_instance_file(), raise_cmd )
  File "/usr/share/backintime/common/guiapplicationinstance.py", line
40, in __init__
    self.start_application()
  File "/usr/share/backintime/common/guiapplicationinstance.py", line
82, in start_application
    file = open( self.pid_file, 'wt' )
IOError: [Errno 13] Permission denied:
'/home/philippe/.local/share/backintime/app.lock.pid'

Le 29/10/2013 19:13, Germar a écrit :
> Sorry, I don't understand the output. Can you please run it again with
> 'LC_ALL=C backintime-gnome' so I can see the english errormsg?
>

--

Philippe

Revision history for this message
Germar (germar) wrote :

Hi Philippe,

please make sure no backintime instance is running anymore. Run 'ps ax | grep [b]ackintime'. If there are any processes listed please kill them with 'kill <PID>' (or 'kill -9 <PID>' if they don't exit) where <PID> is the first number in the list.

After that is done please remove app.lock.pid with 'sudo rm /home/philippe/.local/share/backintime/app.lock.pid'

If it still doesn't work after this please post the output of 'LC_ALL=C backintime-gnome' again.

Kind regards,
Germar

Revision history for this message
Philetjosie (philippe-quaglia) wrote :
Download full text (3.2 KiB)

Hello,
thanks a lot for your help.
I did what you propose.
After removing the file app.lock.pid, I tried again to start backintime
[root], but it does not starts. If I try backintime, however, it starts
properly, but as all my backups where made with backintime [root], it
does not find my configuration and my previous files. It is really
annoying...

If I make

LC_ALL=C backintime-gnome, it starts backintime, as previously, but not in root mode. I do not have error messages, execpted this one:

Back In Time
Version: 1.0.28

Back In Time comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type `backintime-gnome --license' for details.

Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.

But if i run «sudo backintime» (which i guess is the same than launching backintime (root) from the launcher), here are the error messages I get:

philippe@philippe-desktop:~$ sudo backintime
[sudo] password for philippe:
ERROR:dbus.proxies:Introspect error on :1.1:/org/freedesktop/secrets/aliases/default: dbus.exceptions.DBusException: org.freedesktop.Secret.Error.NoSuchObject: The '/org/freedesktop/secrets/aliases/default' object does not exist
Traceback (most recent call last):
  File "/usr/share/backintime/common/backintime.py", line 26, in <module>
    import config
  File "/usr/share/backintime/common/config.py", line 30, in <module>
    import tools
  File "/usr/share/backintime/common/tools.py", line 27, in <module>
    import keyring
  File "/usr/lib/python2.7/dist-packages/keyring/__init__.py", line 9, in <module>
    from core import (set_keyring, get_keyring, set_password, get_password,
  File "/usr/lib/python2.7/dist-packages/keyring/core.py", line 166, in <module>
    init_backend()
  File "/usr/lib/python2.7/dist-packages/keyring/core.py", line 65, in init_backend
    keyrings.sort(key = lambda x: -x.supported())
  File "/usr/lib/python2.7/dist-packages/keyring/core.py", line 65, in <lambda>
    keyrings.sort(key = lambda x: -x.supported())
  File "/usr/lib/python2.7/dist-packages/keyring/backends/SecretService.py", line 23, in supported
    secretstorage.Collection(bus)
  File "/usr/lib/python2.7/dist-packages/secretstorage/collection.py", line 43, in __init__
    self.collection_props_iface.Get(COLLECTION_IFACE, 'Label')
  File "/usr/lib/python2.7/dist-packages/secretstorage/util.py", line 27, in function_out
    raise ItemNotFoundException(e.get_dbus_message())
secretstorage.exceptions.ItemNotFoundException: The '/org/freedesktop/secrets/aliases/default' object does not exist
philippe@philippe-desktop:~$

Best regards.

Philippe.

Le 30/10/2013 20:58, Germar a écrit :
> Hi Philippe,
>
> please make sure no backintime instance is running anymore. Run 'ps ax |
> grep [b]ackintime'. If there are any processes listed please kill them
> with 'kill <PID>' (or 'kill -9 <PID>' if they don't exit) where <PID> is
> the first number in the list.
>
> After that is done please remove app.lock.pid with 'sudo rm
> /home/philippe/.local/share/backintime/app.lock.pid'
>
> If it still doesn't work after this ple...

Read more...

Revision history for this message
Germar (germar) wrote :

Hi Philippe,

the command for root version is 'gksu backintime-gnome' (or to have english errmsg 'LC_ALL=C gksu backintime-gnome')

You are using Ubuntu 13.10 with Unity Desktop and all updates, is that correct? Is it a fresh install or updated from previous Ubuntu version?
Please post the output of:
dpkg -l | grep "python-keyring\|python-gnomekeyring\|python-secretstorage"

If 'python-secretstorage' is installed you can also try if removing this will help ('sudo apt-get remove python-secretstorage').

Revision history for this message
Philetjosie (philippe-quaglia) wrote :

Hello, here is the result of the command:

philippe@philippe-desktop:~$ *LC_ALL=C gksu backintime-gnome*
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading
configurations from ~/.fonts.conf is deprecated.
Traceback (most recent call last):
  File "/usr/share/backintime/gnome/app.py", line 41, in <module>
import backintime
  File "/usr/share/backintime/common/backintime.py", line 26, in
<module> import config
  File "/usr/share/backintime/common/config.py", line 30, in <module>
    import tools
  File "/usr/share/backintime/common/tools.py", line 27, in <module>
import keyring
  File "/usr/lib/python2.7/dist-packages/keyring/__init__.py", line 9,
in <module> from core import (set_keyring, get_keyring, set_password,
get_password,
  File "/usr/lib/python2.7/dist-packages/keyring/core.py", line 166, in
<module> init_backend()
  File "/usr/lib/python2.7/dist-packages/keyring/core.py", line 65, in
init_backend keyrings.sort(key = lambda x: -x.supported())
  File "/usr/lib/python2.7/dist-packages/keyring/core.py", line 65, in
<lambda> keyrings.sort(key = lambda x: -x.supported())
  File
"/usr/lib/python2.7/dist-packages/keyring/backends/SecretService.py",
line 23, in supported secretstorage.Collection(bus)
  File "/usr/lib/python2.7/dist-packages/secretstorage/collection.py",
line 43, in __init__self.collection_props_iface.Get(COLLECTION_IFACE,
'Label')
  File "/usr/lib/python2.7/dist-packages/secretstorage/util.py", line
27, in function_out raise ItemNotFoundException(e.get_dbus_message())
secretstorage.exceptions.ItemNotFoundException: The
'/org/freedesktop/secrets/aliases/default' object does not exist

Yes I'm using Ubuntu 13.10 with Unity desktop, and it is updated every
time I'm online (almost dayly). However, it is not a fresh install, I do
not remember when was the fresh install, but it may be two or 3 releases
ago.

Command dpkg -l | grep
"python-keyring\|python-gnomekeyring\|python-secretstorage behave
strangely, I did not get an output, but the «>» sign, as if it was
waiting for an input. I did not know how to get out of this, and I
closed the terminal.

Therefore, I was not sure it was safe to remove

python-secretstorage. It did the command, just to be sure that it exist (it does !) but I cancel it. Can you confirm that it is safe (I will not loose some passwords or wathever ?).

Thanks a lot and best regards.

Le 08/11/2013 23:03, Germar a écrit :
> Hi Philippe,
>
> the command for root version is 'gksu backintime-gnome' (or to have
> english errmsg 'LC_ALL=C gksu backintime-gnome')
>
> You are using Ubuntu 13.10 with Unity Desktop and all updates, is that correct? Is it a fresh install or updated from previous Ubuntu version?
> Please post the output of:
> dpkg -l | grep "python-keyring\|python-gnomekeyring\|python-secretstorage"
>
> If 'python-secretstorage' is installed you can also try if removing this
> will help ('sudo apt-get remove python-secretstorage').
>

--

Philippe

Revision history for this message
Philetjosie (philippe-quaglia) wrote :

Just one thought: I'm using an encrypted disk for my backups, I first
connect it, I prompted to enter my secret code, then the disk is mounted.
Then I launch backintime root.
I'm doing the same since years, in the same disc, and up to now, it has
always work...

Best regards.

Le 08/11/2013 23:03, Germar a écrit :
> Hi Philippe,
>
> the command for root version is 'gksu backintime-gnome' (or to have
> english errmsg 'LC_ALL=C gksu backintime-gnome')
>
> You are using Ubuntu 13.10 with Unity Desktop and all updates, is that correct? Is it a fresh install or updated from previous Ubuntu version?
> Please post the output of:
> dpkg -l | grep "python-keyring\|python-gnomekeyring\|python-secretstorage"
>
> If 'python-secretstorage' is installed you can also try if removing this
> will help ('sudo apt-get remove python-secretstorage').
>

--

Philippe

Revision history for this message
Germar (germar) wrote :

This is a duplicate of bug #1242412. It is save to remove python-secretstorage and this will fix your problems. Your passwords will stay save.

BTW: '>' indicates that the shell is waiting for more input from you. This was because you missed the double-quote at the end.

Revision history for this message
Philetjosie (philippe-quaglia) wrote :

Hello,
many thanks !
It works again, after deleting python secretstorage !!
I'm doing a new back-up right now !

Best regards.
Philippe.

Le 10/11/2013 21:30, Germar a écrit :
> *** This bug is a duplicate of bug 1242412 ***
> https://bugs.launchpad.net/bugs/1242412
>
> This is a duplicate of bug #1242412. It is save to remove python-
> secretstorage and this will fix your problems. Your passwords will stay
> save.
>
> BTW: '>' indicates that the shell is waiting for more input from you.
> This was because you missed the double-quote at the end.
>
> ** This bug has been marked a duplicate of bug 1242412
> '/org/freedesktop/secrets/aliases/default' object does not exist
>

--

Philippe

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.