linuxmint / nemo-extensions

A set of extensions for Nemo
416 stars 150 forks source link

Nemo seahorse "use a shared passphrase" fails. #505

Closed CamieleonGitHub closed 12 months ago

CamieleonGitHub commented 12 months ago

When I try to encrypt a file using the GUI in Cinnamon and select "use a shared passphrase" I get the following output:

EXEC: nemo-seahorse-tool --encrypt 'file:///home/username/Desktop/Test.txt'

** (nemo-seahorse-tool:9546): WARNING **: 16:05:33.083: couldn't load ui file: Failed to open file “PKGDATADIR/uiseahorse-progress.xml”: No such file or directory

** (nemo-seahorse-tool:9546): WARNING **: 16:05:33.083: could not find widget progress for seahorse-progress.xml

(nemo-seahorse-tool:9546): Gtk-CRITICAL **: 16:05:33.083: gtk_window_set_icon_name: assertion 'GTK_IS_WINDOW (window)' failed

** (nemo-seahorse-tool:9546): WARNING **: 16:05:33.083: could not find widget progress for seahorse-progress.xml

** (nemo-seahorse-tool:9546): CRITICAL **: 16:05:33.083: seahorse_widget_get_toplevel: assertion 'widget != NULL' failed

** (nemo-seahorse-tool:9546): WARNING **: 16:05:33.083: could not find widget progress for seahorse-progress.xml

(nemo-seahorse-tool:9546): Gtk-CRITICAL **: 16:05:33.083: gtk_window_move: assertion 'GTK_IS_WINDOW (window)' failed

** (nemo-seahorse-tool:9546): WARNING **: 16:05:33.083: could not find widget progress for seahorse-progress.xml

** (nemo-seahorse-tool:9546): CRITICAL **: 16:05:33.083: progress_show: assertion 'w != NULL' failed

It seems 'uiseahorse-progress.xml' in the first warning gives a clue with the 'ui' prefix missing a '/' in between. This is the actual file: /usr/share/nemo-seahorse/ui/seahorse-progress.xml

I suspect that one of these is the culprit: https://github.com/linuxmint/nemo-extensions/blob/master/nemo-seahorse/tool/seahorse-widget.c#L206-L207 https://github.com/linuxmint/nemo-extensions/blob/master/nemo-seahorse/meson.build#L73

leigh123linux commented 12 months ago

Where did you get the package or did you compile it yourself?

It compiles and works fine here.

[leigh@mpd-pc Downloads]$ nemo-seahorse-tool --encrypt 'file:///home/leigh/Downloads/390.157-5-for-6.6.2-201.fc39.x86_64.failed.log' 
[leigh@mpd-pc Downloads]$
+ pushd nemo-seahorse
~/build/BUILD/nemo-extensions-6.0.0/nemo-seahorse ~/build/BUILD/nemo-extensions-6.0.0
+ DESTDIR=/builddir/build/BUILDROOT/nemo-extensions-6.0.0-1.fc40.x86_64
+ /usr/bin/meson install -C redhat-linux-build --no-rebuild
Installing data/nemo-seahorse-pgp-encrypted.desktop to /builddir/build/BUILDROOT/nemo-extensions-6.0.0-1.fc40.x86_64/usr/share/applications
Installing data/nemo-seahorse-pgp-signature.desktop to /builddir/build/BUILDROOT/nemo-extensions-6.0.0-1.fc40.x86_64/usr/share/applications
Installing data/nemo-seahorse-pgp-keys.desktop to /builddir/build/BUILDROOT/nemo-extensions-6.0.0-1.fc40.x86_64/usr/share/applications
Installing nemo-ext/libnemo-seahorse.so to /builddir/build/BUILDROOT/nemo-extensions-6.0.0-1.fc40.x86_64/usr/lib64/nemo/extensions-3.0
Installing tool/nemo-seahorse-tool to /builddir/build/BUILDROOT/nemo-extensions-6.0.0-1.fc40.x86_64/usr/bin
Installing /builddir/build/BUILD/nemo-extensions-6.0.0/nemo-seahorse/data/nemo-seahorse-tool.1 to /builddir/build/BUILDROOT/nemo-extensions-6.0.0-1.fc40.x86_64/usr/share/man/man1
Installing /builddir/build/BUILD/nemo-extensions-6.0.0/nemo-seahorse/data/org.nemo.plugins.seahorse.gschema.xml to /builddir/build/BUILDROOT/nemo-extensions-6.0.0-1.fc40.x86_64/usr/share/glib-2.0/schemas
Installing /builddir/build/BUILD/nemo-extensions-6.0.0/nemo-seahorse/data/org.nemo.plugins.seahorse.window.gschema.xml to /builddir/build/BUILDROOT/nemo-extensions-6.0.0-1.fc40.x86_64/usr/share/glib-2.0/schemas
Installing /builddir/build/BUILD/nemo-extensions-6.0.0/nemo-seahorse/tool/seahorse-notify.xml to /builddir/build/BUILDROOT/nemo-extensions-6.0.0-1.fc40.x86_64/usr/share/nemo-seahorse/ui
Installing /builddir/build/BUILD/nemo-extensions-6.0.0/nemo-seahorse/tool/seahorse-progress.xml to /builddir/build/BUILDROOT/nemo-extensions-6.0.0-1.fc40.x86_64/usr/share/nemo-seahorse/ui
Installing /builddir/build/BUILD/nemo-extensions-6.0.0/nemo-seahorse/tool/seahorse-multi-encrypt.xml to /builddir/build/BUILDROOT/nemo-extensions-6.0.0-1.fc40.x86_64/usr/share/nemo-seahorse/ui
+ popd
~/build/BUILD/nemo-extensions-6.0.0
+ rm -rf /builddir/build/BUILDROOT/nemo-extensions-6.0.0-1.fc40.x86_64//usr/share/doc/nemo-python/
+ desktop-file-install --delete-original --dir=/builddir/build/BUILDROOT/nemo-extensions-6.0.0-1.fc40.x86_64/usr/share/applications /builddir/build/BUILDROOT/nemo-extensions-6.0.0-1.fc40.x86_64//usr/share/applications/nemo-seahorse-pgp-encrypted.desktop /builddir/build/BUILDROOT/nemo-extensions-6.0.0-1.fc40.x86_64//usr/share/applications/nemo-seahorse-pgp-keys.desktop /builddir/build/BUILDROOT/nemo-extensions-6.0.0-1.fc40.x86_64//usr/share/applications/nemo-seahorse-pgp-signature.desktop
CamieleonGitHub commented 12 months ago

I use the arch linux package: https://archlinux.org/packages/extra/x86_64/nemo-seahorse/ I hope me using arch linux won't be too much of an obstacle in troubleshooting this problem.

leigh123linux commented 12 months ago

@ArchangeGabriel The archlinux packaging is broken.

ArchangeGabriel commented 11 months ago

@CamieleonGitHub I’m not doing any packaging currently, so you should report your issue to https://gitlab.archlinux.org/archlinux/packaging/packages/nemo-extensions/-/issues/new if you want someone to look into it.