Description of problem: I just get an error message shown instead of documentation. For example: 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): devhelp-0.23.1-1.fc12.x86_64 How reproducible: 100% Steps to Reproduce: 1.Try to view any documentation. Actual results: Can't. Expected results: Can. Additional info: 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: http://bugzilla.gnome.org/show_bug.cgi?id=572022 The corresponding commit: http://git.gnome.org/cgit/devhelp/commit/?id=af67fbedccab5044808a489a9f3a5540d42adcf2 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?
webkitgtk-1.1.12-1.fc12.x86_64
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: webkitgtk 1.1.12 libsoup 2.27.5 (that webkitgtk requires a 2.27.x) gtk2 2.16.5 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: devhelp-0.23.1-2.fc12.x86_64 webkitgtk-1.1.12-2.fc12.x86_64
Okay thanks, closing as fixed then.