GNOME Bugzilla – Bug 621223
Unable to activate the url 'xxx': 'Operation not supported'
Last modified: 2010-06-21 15:11:42 UTC
When a link is created and clicked on, I am presented with a dialog box that reads (url censored): Invalid Unable to activate the url 'xxx': 'Operation not supported' Running Gnumeric 1.10.5 on Arch Linux x86_64. Installed packages: http://codepad.org/YSZi1LzL
That sounds like goffice or libgsf compiled without gvfs support. What type of url? http:// ftp:// other?
Critical? Did it crash? "Critical = Crashes, causes loss of data, or is a severe memory leak" Please tell us a bit more about the url. What kind is it, mail, file, http? How did you create the link? When you start gnumeric from a terminal window, do you see any error messages printed there?
Morten, the package list given in the description of this bug does not even mention gvfs.
s/gvfs/gio/ -- part of glib.
(In reply to comment #1) > That sounds like goffice or libgsf compiled without gvfs support. > > What type of url? http:// ftp:// other? This is on a http:// link. Here is how gnumeric was compiled (these are the package building scripts for Arch; human-readable, don't worry): http://codepad.org/QVQ8wN4W http://codepad.org/lcqX1FfR It appears that gvfs also exists on my system as I have /usr/include/glib-2.0/gio/gvfs.h
Since you have gtk2 2.0 installed, the code path is: gnumeric calls go_gtk_url_show in goffice for gtk2 2.20 goffice calls gtk_show_uri in gtk2 (prior to 2.14 we would have used go_url_show in goffice) the error message "Operation not supported" comes from gtk. Gnumeric wraps the "Invalid Unable to activate the url 'xxx': '...'" around it. So your problem occurs in gtk.
Assuming that you are running a standrad gnome desktop, what have you set as your preferred web browser, probably in "System->Preferences/Preferred Applications"
synthead1? Please answer the question of comment #7.
My aplologies for the slow reply. I really appreciate the help. I'm using the XFCE4 desktop. In XFCE->Settings->Preferred Appliacations, I have set "Mozilla Firefox" as the default web browser.
I am not sure that the "XFCE->Settings->Preferred Applications" stores the information where the underlying library (glib/gio or gtk) expects to find the information. Since this happens inside or below gtk, this is really something to fix there.
@synthead1: What happens if you type: gnome-open http://blahblah/
@synthead1 Remove all the custom Glib compilations and recompile gnumeric again
GVfs only checks the GNOME specific value in gconf. Xfce doesn't write or read that. It was suggested elsewhere that GIO should support xdg-open which would solve this problem.
(In reply to comment #11) > @synthead1: What happens if you type: > gnome-open http://blahblah/ My apologies! That was exactly the case: gnome-open was not on my system. I ran a pkgfile (a utility that finds what packages contain $1) on gnome-open and it said that it was a part of the libgnome package (why wasn't that installed?). So I installed it, and gnumeric opens links correctly. My apologies for filing this as a bug. I will notify the package maintainer that he/she needs to include libgnome in the dependencies for this package. Thank you all very much!