Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deja-dup: BackendException: Could not initialize backend: cannot import name Gio, introspection typelib not found #310492

Closed
jdev082 opened this issue May 10, 2024 · 3 comments · Fixed by #310514
Labels
0.kind: bug 6.topic: GNOME GNOME desktop environment and its underlying platform

Comments

@jdev082
Copy link

jdev082 commented May 10, 2024

Describe the bug

Upon attempting to start the backup process, the following error is shown, resulting in the backup failing to start:

BackendException: Could not initialize backend: cannot import name Gio, introspection typelib not found

Steps To Reproduce

Steps to reproduce the behavior:

  1. Open deja-dup (Backups)
  2. Attempt to create a backup

Expected behavior

Backup run properly without issues

Screenshots

image

Additional context

Similar to #310408, but with a different Python library (Gio)

Notify maintainers

@jtojnar

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 6.8.9, NixOS, 24.05 (Uakari), 24.05.20240507.b211b39`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - nixpkgs: `/nix/store/f0ssy3p6898x9k880l23mhd0fl6rvrb2-source`

Add a 👍 reaction to issues you find important.

@jdev082
Copy link
Author

jdev082 commented May 10, 2024

I have located the derivation files for both the working and non-working version.

working: g903578rcwznx3v4mlsi8918kxkajqfs-deja-dup-45.2.drv

Derive([("out","/nix/store/iaqb8fvz6h9zr7vfr7n2fr12r0y0ws9k-deja-dup-45.2","","")],[("/nix/store/09bs4iiqlddgrj52w5nwwsrrhdxmv96z-pkg-config-wrapper-0.29.2.drv",["out"]),("/nix/store/46y8i21scnrmq2r6gniysi2xhqn890cj-glib-2.78.4.drv",["dev"]),("/nix/store/5aws7nq063hn8y9dl0g77sqm3ydmrj6l-duplicity-2.2.3.drv",["out"]),("/nix/store/6vsam3p53g5c2rwwxhvacqsj2ybq1zaa-json-glib-1.8.0.drv",["dev"]),("/nix/store/806qvx6isvzs0riwa6i3fs03l2kqmknb-itstool-2.0.7.drv",["out"]),("/nix/store/8hrgriy5kv3vc2bxk0byzcx98ki81m9k-vala-0.56.14.drv",["out"]),("/nix/store/96j7mvs5427kbfbg02zbf3586gnsr7b6-stdenv-linux.drv",["out"]),("/nix/store/ady1kzw5mnsgxbj9qyggzc10p2pa2ggj-source.drv",["out"]),("/nix/store/b7sy3z8xvpi8054gafnzr1a2qwv6fzz1-fix-paths.patch.drv",["out"]),("/nix/store/bgd8gsjrwh6il5liknzazi38rxq0vkhv-gtk4-4.12.5.drv",["dev"]),("/nix/store/cjiw653rjms9c5f3bq9ng7y18jq04ibv-ninja-1.11.1.drv",["out"]),("/nix/store/dq5738y758dr0q049v6nhp5a8a72jccb-libsecret-0.21.4.drv",["dev"]),("/nix/store/jnm2249gyarbs1nir7mzam257fgamrpf-bash-5.2p26.drv",["out"]),("/nix/store/lbab1csmvjgkq6wxsjcmk5wz6l3gq09k-meson-1.4.0.drv",["out"]),("/nix/store/lsal7hz78r4biszlvn357blzn1yi96qi-libgpg-error-1.48.drv",["dev"]),("/nix/store/pcnwik5qdqarff0535i3v52cbszhcgqb-desktop-file-utils-0.27.drv",["out"]),("/nix/store/pd8r6hjkvvxykrx1zakzfm4621wdw3xz-wrap-gapps-hook.drv",["out"]),("/nix/store/pm3r0asn8y4dn9dldf497xj9x83ifhld-gettext-0.21.1.drv",["out"]),("/nix/store/qhbg72gfhhs6dqhsckcad2vnblqlp0bi-libadwaita-1.4.4.drv",["dev"]),("/nix/store/vfswvzcbb528zlnw1ksdjrfq6a32pa8k-libsoup-3.4.4.drv",["dev"])],["/nix/store/v6x3cs394jgqfbi0a42pam708flxaphh-default-builder.sh"],"x86_64-linux","/nix/store/dy2z01kpnxn7dn2kgfdxs4fm8xy9mb89-bash-5.2p26/bin/bash",["-e","/nix/store/v6x3cs394jgqfbi0a42pam708flxaphh-default-builder.sh"],[("__structuredAttrs",""),("buildInputs","/nix/store/6h65sff0i0pf6vf4lcaf5hqwd5xqm1lm-libsoup-3.4.4-dev /nix/store/hfa0jcamap6fyq1jlfxvn0dhaa3yrv8y-glib-2.78.4-dev /nix/store/8nvmrvwzb40a1l7hd8s8ihlgallrcdwx-gtk4-4.12.5-dev /nix/store/m6m1wgaw8cvjg7wy8jklrxa59q6prjwh-libsecret-0.21.4-dev /nix/store/lvxcn47ld7m9ihiqllckivmgsl2pdil5-libadwaita-1.4.4-dev /nix/store/jndrsyis6bsyg06rbqzqkrz4brg116mx-libgpg-error-1.48-dev /nix/store/adv2chl0mqyifr6v9aa8kgfhmfdaqizy-json-glib-1.8.0-dev"),("builder","/nix/store/dy2z01kpnxn7dn2kgfdxs4fm8xy9mb89-bash-5.2p26/bin/bash"),("cmakeFlags",""),("configureFlags",""),("depsBuildBuild",""),("depsBuildBuildPropagated",""),("depsBuildTarget",""),("depsBuildTargetPropagated",""),("depsHostHost",""),("depsHostHostPropagated",""),("depsTargetTarget",""),("depsTargetTargetPropagated",""),("doCheck",""),("doInstallCheck",""),("mesonFlags","-Dduplicity_command=/nix/store/cfj8zd4d1gdcri8fgkyi6bf8gwf741ch-duplicity-2.2.3/bin/duplicity"),("name","deja-dup-45.2"),("nativeBuildInputs","/nix/store/68d2plpqcg915a0hxrghpmbf0si8lrln-meson-1.4.0 /nix/store/wvxpsf8xbyz31j0j2azjkndn1wbmh5ia-ninja-1.11.1 /nix/store/39nq7p6jcm9m3xqqm99skwmgsqw4pbbg-pkg-config-wrapper-0.29.2 /nix/store/vmipskrzjrym2dl8mx5nx5awkhjw525b-vala-0.56.14 /nix/store/1mccb37pvl03i6hg5g8914r6zjd6n09b-gettext-0.21.1 /nix/store/8q4r1mzp3ir1nry7kd9v4hs4vmaddg6n-itstool-2.0.7 /nix/store/1ndnpld5bvhydiw3g5w00z5b0ppbihv9-desktop-file-utils-0.27 /nix/store/1v19rbda2f2lripb6g7sjk8zb74hyfsc-wrap-gapps-hook"),("out","/nix/store/iaqb8fvz6h9zr7vfr7n2fr12r0y0ws9k-deja-dup-45.2"),("outputs","out"),("patches","/nix/store/f38zyafn32ws16n7n4yqn8dmzahqg0qr-fix-paths.patch"),("pname","deja-dup"),("propagatedBuildInputs",""),("propagatedNativeBuildInputs",""),("src","/nix/store/w4z0rzglpb7hw6vilnxsqvvn53kcz1is-source"),("stdenv","/nix/store/9wnvhjyxjykwn5y06xc9a2h8rs5fbfia-stdenv-linux"),("strictDeps",""),("system","x86_64-linux"),("version","45.2")])

non-working: hg23364m3blilrh3kq6g7lqih4vx7gmf-deja-dup-45.2.drv

Derive([("out","/nix/store/7f2r4kcgrqw4dw8033qg4r0b3ng0qh5r-deja-dup-45.2","","")],[("/nix/store/234adj7mk2lx23jbk5xgwfx8fa66f5j5-libadwaita-1.5.0.drv",["dev"]),("/nix/store/44hqlzrlpjy55ghz2g9avd9f8c0mh8iy-libgpg-error-1.48.drv",["dev"]),("/nix/store/56282jpv4i88jnsw4n7ccf15dh6hfyjl-json-glib-1.8.0.drv",["dev"]),("/nix/store/7qzbw83pjypjkkywpp4a9ka216h3d6nh-vala-0.56.17.drv",["out"]),("/nix/store/aq4ldx6pajndi61jnyvnnb6sph930nj5-desktop-file-utils-0.27.drv",["out"]),("/nix/store/f7s0l7masww8vrnklfmcvcaml4nlpcq5-libsecret-0.21.4.drv",["dev"]),("/nix/store/g00hf2xsd4siz5apyj3l30gdz294rc9g-stdenv-linux.drv",["out"]),("/nix/store/g4qqqwnmzz3j3ngwnrjsk20b8gk555r5-source.drv",["out"]),("/nix/store/g6lcfmdjlanl4c9zg6kv6sj4a1mpswjz-pkg-config-wrapper-0.29.2.drv",["out"]),("/nix/store/kcbmfrr9hyr5b72hr34p38f47pihg9dq-gettext-0.21.1.drv",["out"]),("/nix/store/khbw0ym0fpbrd3hk5kscfymr9kcdnxm8-libsoup-3.4.4.drv",["dev"]),("/nix/store/l6wyi4nsxj0mx55nlk66h30qp2zls3qy-itstool-2.0.7.drv",["out"]),("/nix/store/lmjsi4i5rqk6nhb46cim7is3bv8l3s75-wrap-gapps-hook.drv",["out"]),("/nix/store/ni73m0gnrkzbq1b3qj4f8sn9i666zfdj-gtk4-4.14.3.drv",["dev"]),("/nix/store/pvkl9ifdzyjykq721qa0qz1f62hpbm3g-bash-5.2p26.drv",["out"]),("/nix/store/q8v2z5lkwba6km3i0xks0h4jghh27a2w-duplicity-2.2.3.drv",["out"]),("/nix/store/s6lxs90g1x0h4046imgbvvkj9xva1i2v-meson-1.4.0.drv",["out"]),("/nix/store/wadmjd2hv8w7x6ph6gh20z9wpipjyshr-fix-paths.patch.drv",["out"]),("/nix/store/xvnsjzphjazcjrk8d4c45bga1791da33-glib-2.80.0.drv",["dev"]),("/nix/store/ypayiv42v9bxjd5kyhikzk4wdwlfa0lg-ninja-1.11.1.drv",["out"])],["/nix/store/v6x3cs394jgqfbi0a42pam708flxaphh-default-builder.sh"],"x86_64-linux","/nix/store/h3bhzvz9ipglcybbcvkxvm4vg9lwvqg4-bash-5.2p26/bin/bash",["-e","/nix/store/v6x3cs394jgqfbi0a42pam708flxaphh-default-builder.sh"],[("__structuredAttrs",""),("buildInputs","/nix/store/9apbv226bz4zibnsaj83dw4c6wpvkvyh-libsoup-3.4.4-dev /nix/store/zgnn357b7q3513bzmh17k6rcfp0c8vfz-glib-2.80.0-dev /nix/store/4dxzfqhkw6z2z2bjwf6a35lqd6srag99-gtk4-4.14.3-dev /nix/store/dc2nqv5d3qn9qaqcjmfg2a7hqmzpx4f6-libsecret-0.21.4-dev /nix/store/460dhn815ilwlsnk6ksm74n1ka0cfb5j-libadwaita-1.5.0-dev /nix/store/i2njfq2nrwhpxyaz784yjz2ccxmanvd9-libgpg-error-1.48-dev /nix/store/hnyd78fq5nkw65i3866fgp13qhss082q-json-glib-1.8.0-dev"),("builder","/nix/store/h3bhzvz9ipglcybbcvkxvm4vg9lwvqg4-bash-5.2p26/bin/bash"),("cmakeFlags",""),("configureFlags",""),("depsBuildBuild",""),("depsBuildBuildPropagated",""),("depsBuildTarget",""),("depsBuildTargetPropagated",""),("depsHostHost",""),("depsHostHostPropagated",""),("depsTargetTarget",""),("depsTargetTargetPropagated",""),("doCheck",""),("doInstallCheck",""),("mesonFlags","-Dduplicity_command=/nix/store/57vjrjpb8ljf456hfa5z7fzg3zi4dwhz-duplicity-2.2.3/bin/duplicity"),("name","deja-dup-45.2"),("nativeBuildInputs","/nix/store/ykjhz2wqms7fb6jnwdj9282qibm682d7-meson-1.4.0 /nix/store/47qj6ra6ihb54ryfa8281y5rkb0cfzc0-ninja-1.11.1 /nix/store/vbk2n3094zyl9ywijks6a3d7s2i6wnfm-pkg-config-wrapper-0.29.2 /nix/store/2xdhzqhh1wbfdfs07q9sc9fm8lckigy4-vala-0.56.17 /nix/store/15lzdmjwrvkml0xxms4a0q91mpianf8g-gettext-0.21.1 /nix/store/r4zs9ipdc47fwsd3dkln77bs9x3cmnp1-itstool-2.0.7 /nix/store/lcg3z0a0axpx2cwv0qkdr91qc504n6c0-desktop-file-utils-0.27 /nix/store/4z8wpgvcfh2nqz7xb8hh76d5bxpf2ym1-wrap-gapps-hook"),("out","/nix/store/7f2r4kcgrqw4dw8033qg4r0b3ng0qh5r-deja-dup-45.2"),("outputs","out"),("patches","/nix/store/dfbqh4f3lfc7749s4v2sm2v6qxrr7gga-fix-paths.patch"),("pname","deja-dup"),("propagatedBuildInputs",""),("propagatedNativeBuildInputs",""),("src","/nix/store/w4z0rzglpb7hw6vilnxsqvvn53kcz1is-source"),("stdenv","/nix/store/558iw5j1bk7z6wrg8cp96q2rx03jqj1v-stdenv-linux"),("strictDeps",""),("system","x86_64-linux"),("version","45.2")])

@jtojnar
Copy link
Contributor

jtojnar commented May 10, 2024

Thanks for reporting. duplicity probably needs #306080 (comment)

I opened #310514, could you please test it?

@jdev082
Copy link
Author

jdev082 commented May 10, 2024

Thanks for reporting. duplicity probably needs #306080 (comment)

I opened #310514, could you please test it?

The fix works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug 6.topic: GNOME GNOME desktop environment and its underlying platform
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants