Bug 111205 - kdevelop setup loops forever indexing documentation
kdevelop setup loops forever indexing documentation
Status: CLOSED DUPLICATE of bug 111204
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kdevelop (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2003-11-29 20:46 EST by Ian Laurie
Modified: 2007-11-30 17:06 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 14:00:14 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ian Laurie 2003-11-29 20:46:38 EST
Description of problem:
kdevelop setup loops forever indexing documentation.

Version-Release number of selected component (if applicable):
kdevelop-2.1.5-12.1 & htdig-3.1.6-3.

How reproducible:

Steps to Reproduce:
1. Run kdevelop setup
2. Click the button to index the documentation.
Actual results:
System loops forever (well, *days* at least).

Expected results:
Should just index the documentation.

Additional info:
Close inspection of the htdig.conf file


and consideration of the version of htdig included with RHEL 3.0 there
is no hope of the bundled htdig.conf file working.  Furthermore there
exists the possibility that trying to index the documentation may
actually destroy the system (because /proc is indexed for example)
making the process *dangerous* to put it mildly.  Therefore I am
tempted to up the priority of this bug because is can break stuff.
On the other hand, this bug has been around for YEARS ( being ignored
by RedHat? ).

WORKAROUND (not the same as with RH8 or RH9)
In the ~/.kde/share/apps/kdevelop/tools/htdig.conf file locate the line:

  start_url: file://usr/share/htdig/index.html

Replace with:
  start_url: http://localhost/usr/lib/qt-3.1/doc/html \

Next locate the line:

  #limit_urls_to: file://

and replace with:

  limit_urls_to: ${start_url}

Next locate the line:

  local_urls: file://=

and replace with:

  local_urls: http://localhost/=/

Also, you must select not to index the KDE libs, and manually add the
path because the package is looking for it in the wrong place.  The
location should be:


Both these bugs have existed at least as far back as RedHat 8.0, but
because the version of htdig is older than the one with say RedHat
9.0, the fix is differnt.  Basic issue is htdig-3.1.6-3 doesn't
understand "file://" type URLs whereas htdig-3.2.0 at least does.

It would REALLY be a good idea if RedHat could bundle a
"ready-to-work" htdig.conf file, at least with the Enterprise
offering, because this sort of stuff should just work right out of the
box.  The fact that the file is so dangerous as it stands makes the
issue even more urgent.
Comment 1 Suzanne Hillman 2003-12-02 14:57:07 EST

*** This bug has been marked as a duplicate of 111204 ***
Comment 2 Red Hat Bugzilla 2006-02-21 14:00:14 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.