Description of problem:
I just get an error message shown instead of documentation.
Error stating file '/home/twaugh/file/usr/share/gtk-doc/html/pygtk/index.html': No such file or directory
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Try to view any documentation.
Was working until recently.
Stupid question, but I assume the files it's trying to load actually do exist?
If you remove '/home/twaugh/file' from the beginning of the pathname, yes, those files exist.
It's looking in the wrong place for them though, as you can see (/home/twaugh/file).
Wild guess but I bet it's passing a file path to a function that expects a URI, or vice versa. I'll see if there's anything like this upstream.
I found this upstream bug which looks identical:
The corresponding commit:
But that fix was included in version 0.23.1. So either there's similar breakage elsewhere in Devhelp or this is a WebKit issue. Perhaps make sure you have the latest webkitgtk package?
I ran into this, I solved it by not applying the devhelp-load-uris.patch, the resulting devhelp appears to work fine.
The webkitgtk NEWS file suggests webkitgtk >= 1.1.1 has different functions for loading files and loading URIs.
Interesting. I tried removing that patch and building Devhelp 0.23.1 patch-free with the latest WebKit/GTK, libsoup and GTK+ from Rawhide. Devhelp can now find the pages, but instead of rendering the pages it's showing me raw HTML code.
I'm running kind of a hybrid F-11/F-12 system though, so I guess I can build a new package with those changes as see if you guys see the same thing as me.
Build is done. Give devhelp-0.23.1-2.fc12 a try.
Unfortunately I also use a similar hybrid setup, "mostly" F-11:
libsoup 2.27.5 (that webkitgtk requires a 2.27.x)
FWIW the webkitgtk NEWS file doesn't match the webkitgtk gtk-doc, devhelp has it's own code for adding the "file://" now, but still uses the deprecated webkit_web_view_open, mine still worked after I replaced them all with webkit_web_view_load_uri.
All working fine with these:
Okay thanks, closing as fixed then.