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

30.1 started throwing GVFS warnings #101

Closed
keeper791 opened this issue Feb 26, 2025 · 8 comments
Closed

30.1 started throwing GVFS warnings #101

keeper791 opened this issue Feb 26, 2025 · 8 comments

Comments

@keeper791
Copy link

Continuing from #100

On Rocky Linux 8.10 servers:

Starting from 30.1 we see the following warnings thrown in the terminal everytime something is clicked in emacs.

For example: open Emacs, and click "open file", terminal where emacs was ran will show:

/snap/bin/emacs

(emacs:1004728): GVFS-WARNING **: 07:14:45.573: The peer-to-peer connection failed: Error when getting information for file “/run/user/1150993/gvfsd”: No such file or directory. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.

(emacs:1004728): GVFS-WARNING **: 07:14:45.574: The peer-to-peer connection failed: Error when getting information for file “/run/user/1150993/gvfsd”: No such file or directory. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.

(emacs:1004728): GVFS-WARNING **: 07:14:45.645: The peer-to-peer connection failed: Error when getting information for file “/run/user/1150993/gvfsd”: No such file or directory. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.

(emacs:1004728): GVFS-WARNING **: 07:14:45.648: The peer-to-peer connection failed: Error when getting information for file “/run/user/1150993/gvfsd”: No such file or directory. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.

(emacs:1004728): GVFS-WARNING **: 07:14:45.649: The peer-to-peer connection failed: Error when getting information for file “/run/user/1150993/gvfsd”: No such file or directory. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.

(emacs:1004728): GVFS-WARNING **: 07:14:45.649: The peer-to-peer connection failed: Error when getting information for file “/run/user/1150993/gvfsd”: No such file or directory. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.

(emacs:1004728): GVFS-WARNING **: 07:14:45.852: The peer-to-peer connection failed: Error when getting information for file “/run/user/1150993/gvfsd”: No such file or directory. Falling back to the session bus. Your application is probably missing --filesystem=xdg-run/gvfsd privileges.

It doesn't seem to break functionality, but we'd really prefer to have a clean shell, before having our users switch to 30.1

THANKS!

@alexmurray
Copy link
Owner

Thanks for reporting this as a separate issue - out of interest, I tried to reproduce this by installing a minimal rocky linux 8 VM and then installed a gui via:

dnf group install "Server with GUI" -y

But then if I run emacs in a terminal I don't see the aforementioned warnings, but instead we get something worse - when clicking File -> Open emacs crashes:

Image

Can you describe a bit more how I can try and reproduce the original issue? I'll also see if there is some way we can workaround this second one...

@alexmurray
Copy link
Owner

Ah actually nevermind - I accidentally ran it as root - running as a regular user I see those warnings - AND THEN the crash:

Image

@keeper791
Copy link
Author

the show-type-column error is something i'm aware of , it's fixable by:

sudo cp /snap/emacs/current/usr/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml /usr/share/glib-2.0/schemas/
sudo glib-compile-schemas /usr/share/glib-2.0/schemas

That's yet another issue ... if that's something you can fix, I'll gladly file another bug :)

@alexmurray
Copy link
Owner

Yes I think I can come up with a workaround for that - but it may take a day or two. Will keep you posted.

@alexmurray
Copy link
Owner

To keep things cleaner, this issue will focus solely on the GFVS warnings and we will use #103 for the gsettings schema related issue.

alexmurray added a commit that referenced this issue Feb 27, 2025
We use a new GTK version and the file chooser dialog via GVFS wants to monitor
this directory for changes. If it doesn't exist, the file chooser dialog will
complain resulting in harmless warnings like those seen in
#101. So create the directory if
it doesn't exist to avoid these warnings.

Signed-off-by: Alex Murray <[email protected]>
@alexmurray
Copy link
Owner

I have just committed a fix and have triggered new builds of the snap which should be available in the beta channel within an hour - if you can please test it that would be great, then I can promote it to the stable channel.

@keeper791
Copy link
Author

I can confirm that today's release of latest/beta 30.1 on Rocky Linux 8.10 is

  1. not throwing the compile errors
  2. not throwing the GVFS warnings

Alex, THANK YOU!

Looking forward to seeing this in stable channel, and resuming our fleet on the stable track

@alexmurray
Copy link
Owner

Thanks for the confirmation - will promote it to stable now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants