After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 761373 - Cannot load file located on an AFP server
Cannot load file located on an AFP server
Status: RESOLVED OBSOLETE
Product: glom
Classification: Other
Component: general
1.28.x
Other Linux
: Normal minor
: ---
Assigned To: Murray Cumming
Murray Cumming
Depends on:
Blocks:
 
 
Reported: 2016-01-31 20:46 UTC by m.rick.mac
Modified: 2021-07-05 10:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test_filechooser_to_filename.c (1.12 KB, text/plain)
2016-02-07 15:42 UTC, Murray Cumming
Details

Description m.rick.mac 2016-01-31 20:46:05 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
Comment 1 Murray Cumming 2016-01-31 21:50:03 UTC
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?
Comment 2 m.rick.mac 2016-02-01 10:15:14 UTC
Yes I did a try with Gedit, Gimp and Gnumeric and all worked well.
Comment 3 Murray Cumming 2016-02-07 15:42:09 UTC
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.
Comment 4 m.rick.mac 2016-03-10 13:42:33 UTC
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.
Comment 5 Murray Cumming 2016-03-10 13:49:32 UTC
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.
Comment 6 GNOME Infrastructure Team 2021-07-05 10:52:26 UTC
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.