GNOME Bugzilla – Bug 761373
Cannot load file located on an AFP server
Last modified: 2021-07-05 10:52:26 UTC
When I try to load a Glom file located on an AFP server, Glom will return an error and won't load it. Works if the database is copied locally. (glom:5516): glibmm-CRITICAL **: unhandled exception (type Glib::Error) in signal handler: domain: g_convert_error code : 4 what : The URI 'afp://aymeric@Mac-mini-de-Aymeric.local/aymeric/Documents/Bases%20de%20donn%C3%A9es/Nantes/glom_postgres_data' is not an absolute URI using the "file" scheme Ubuntu 15.04
I guess this is an issue with the gio (part of glib) support that that filesystem. Do you know if other GNOME apps such as gedit can use files there?
Yes I did a try with Gedit, Gimp and Gnumeric and all worked well.
Created attachment 320573 [details] test_filechooser_to_filename.c Please try building and running this small GTK+/glib test program. Please use it to select the file on your file system and then let's see if it manages to parse the URI to a filename. Please paste here what you see on the terminal when you run it.
I can't get it to work. I get this error: Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found gcc: fatal error: no input files compilation terminated.
Sorry. Please try this: gcc -o ./test_filename test_filechooser_to_filename.cc `pkg-config gtk+-3.0 --libs --cflags` Sorry for the gtk+-2.0/gtk+-3.0 typo.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/glom/-/issues/ Thank you for your understanding and your help.