App remains stuck in "Preparing..." for hours
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Déjà Dup |
Invalid
|
Undecided
|
Unassigned |
Bug Description
After changing the backup target location to a local network drive (sftp), when starting a backup via "windows-key -> "backup" -> enter -> backup now", the app gets stuck at the "Preparing..." stage for at least two hours during which network performance was terrible.
When starting the app from the console, I get the error found in attached log file
additional info:
```
$ lsb_release -d
Description: Debian GNU/Linux 11 (bullseye)
$ deja-dup --version
deja-dup 42.7
$ dconf dump /org/gnome/
[/]
backend='remote'
delete-after=182
exclude-
include-
last-backup=
last-restore=
last-run=
nag-check=
periodic=true
periodic-period=7
prompt-
[drive]
folder=
icon='. GEmblemedIcon .%20GThemedIcon
name='backup8tb'
uuid='4dffc196-
[file]
icon='. GEmblemedIcon .%20GThemedIcon
migrated=true
name='WD Elements 10B8: 2,0 TB Volume'
path='file:
relpath=b'backup'
short-name='2,0 TB Volume'
type='volume'
uuid='20d36200-
[gcs]
folder='codex'
[gdrive]
folder=
[goa]
folder='codex'
[google]
folder='codex'
[local]
folder='sftp://
[openstack]
container='codex'
[rackspace]
container='codex'
[remote]
folder=
uri='sftp://
[s3]
folder='codex'
```
I have no idea what the "192.168.0.18" line is doing there. Other lines also look like stale config. The 8TB drive moved to remote IP ...22 and the 2TB drive? I don't have it configured.
"password" is obviously not my password.
Changed in deja-dup: | |
status: | New → Invalid |
Hello! Thank you for your report. This looks like the relevant bit from the crash log:
DUPLICITY: ERROR 30 FileNotFoundError duplicity" , line 122, in <module> duplicity" , line 108, in with_tempdir python3/ dist-packages/ duplicity/ dup_main. py", line 1522, in main ProcessCommandL ine(sys. argv[1: ]) python3/ dist-packages/ duplicity/ commandline. py", line 1187, in ProcessCommandLine get_backend( args[0] ) python3/ dist-packages/ duplicity/ backend. py", line 223, in get_backend object( url_string) python3/ dist-packages/ duplicity/ backend. py", line 209, in get_backend_object python3/ dist-packages/ duplicity/ backends/ giobackend. py", line 53, in __init__ import- error python3/ dist-packages/ gi/__init_ _.py", line 23, in <module> path(__ path__, __name__) python3. 9/pkgutil. py", line 561, in extend_path python3. 9/pkgutil. py", line 420, in get_importer path_item) _bootstrap_ external> ", line 1529, in path_hook_ for_FileFinder _bootstrap_ external> ", line 107, in _path_isdir
DUPLICITY: . Traceback (innermost last):
DUPLICITY: . File "/usr/bin/
DUPLICITY: . with_tempdir(main)
DUPLICITY: . File "/usr/bin/
DUPLICITY: . fn()
DUPLICITY: . File "/usr/lib/
DUPLICITY: . action = commandline.
DUPLICITY: . File "/usr/lib/
DUPLICITY: . config.backend = backend.
DUPLICITY: . File "/usr/lib/
DUPLICITY: . obj = get_backend_
DUPLICITY: . File "/usr/lib/
DUPLICITY: . return factory(pu)
DUPLICITY: . File "/usr/lib/
DUPLICITY: . from gi.repository import Gio # pylint: disable=
DUPLICITY: . File "/usr/lib/
DUPLICITY: . __path__ = extend_
DUPLICITY: . File "/usr/lib/
DUPLICITY: . finder = get_importer(dir)
DUPLICITY: . File "/usr/lib/
DUPLICITY: . importer = path_hook(
DUPLICITY: . File "<frozen importlib.
DUPLICITY: . File "<frozen importlib.
DUPLICITY: . FileNotFoundError: [Errno 2] No such file or directory
That looks like a problem with importing Gio. If you run the following in a terminal, do you get a similar error?
python3 -c "from gi.repository import Gio"
(the fact that this error seems to have stalled Deja Dup is another issue... but let's work on this for now)