Package: backintime-common
Version: 1.0.36-1
Severity: grave

Hi,

I cannot use backintime-kde anymore. When I launch it, I got this error :

adrien ~/.config/backintime/ $ backintime-kde4 
WARNING: import keyring failed

Back In Time
Version: 1.0.36

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

Traceback (most recent call last):
  File "/usr/share/backintime/kde4/app.py", line 1216, in <module>
    main_window = MainWindow( cfg, app_instance, kapp, kaboutdata )
  File "/usr/share/backintime/kde4/app.py", line 353, in __init__
    mnt = mount.Mount(cfg = self.config, profile_id = profile_id, parent = self)
  File "/usr/share/backintime/common/mount.py", line 51, in __init__
    if self.config.get_password_use_cache(self.profile_id):
  File "/usr/share/backintime/common/config.py", line 555, in 
get_password_use_cache
    default = not tools.check_home_encrypt()
  File "/usr/share/backintime/common/tools.py", line 470, in check_home_encrypt
    if not check_mountpoint(home):
  File "/usr/share/backintime/common/tools.py", line 462, in check_mountpoint
    subprocess.check_call(['mountpoint', path], stdout=open(os.devnull, 'w'))
  File "/usr/lib/python2.7/subprocess.py", line 535, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] Aucun fichier ou dossier de ce type

(last line : means No such file or directoy in french).


I tried to install python-keyring (not in recommends or suggests), which 
correct the first warning message : WARNING: import keyring failed

As the error mention, I also tried to change File 
"/usr/share/backintime/common/tools.py", line 462 from :
subprocess.check_call(['mountpoint', path], stdout=open(os.devnull, 'w')
to:
subprocess.check_call(['mountpoint', path], stdout=open(os.devnull, 'w'), 
shell=True)

And now backintime start! But I am not an expert in python, and it may have 
side effects.


Kind Regards,

Adrien

--- System information. ---
Architecture: amd64
Kernel:       Linux 3.16.0-4-amd64

Debian Release: stretch/sid
  500 unstable        ftp.fr.debian.org 
  500 testing-updates ftp.fr.debian.org 
  500 testing         security.debian.org 
  500 testing         ftp.fr.debian.org 
  500 stable          download.videolan.org 
    1 experimental    ftp.fr.debian.org 

--- Package information. ---
Depends            (Version) | Installed
============================-+-==============
rsync                        | 3.1.1-3
cron                         | 3.0pl1-128
python:any     (>= 2.6.6-7~) | 


Package's Recommends field is empty.

Package's Suggests field is empty.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to