[Bug 3105] Doc-central doesn't work

Emmet Hikory emmet.hikory at gmail.com
Thu Oct 13 15:34:39 UTC 2005


Public bug report changed:
https://launchpad.net/malone/bugs/3105

Description changed to:
    Trying to run doc-central on a local apache2 server running on top of Ubuntu yields an Apache "Internal Server Error" on the left frameset panel.
    Poking in the server logs and doc-central source code revealed that this because on Ubuntu, the "/usr/share/doc-base" directory includes a directory called "data" while doc-cetral assumes there are only files there.

    Relevant apace log entries follow:
    [Thu Oct 13 14:14:33 2005] [error] [client 127.0.0.1] Traceback (most recent call last):, referer: http://localhost/dc/
    [Thu Oct 13 14:14:33 2005] [error] [client 127.0.0.1]   File "/usr/lib/cgi-bin/doc-central/contents.cgi", line 35, in ?, referer: http://localhost/dc/
    [Thu Oct 13 14:14:33 2005] [error] [client 127.0.0.1]     , referer: http://localhost/dc/
    [Thu Oct 13 14:14:33 2005] [error] [client 127.0.0.1] docutils.processdirs(), referer: http://localhost/dc/
    [Thu Oct 13 14:14:33 2005] [error] [client 127.0.0.1]   File "/usr/lib/cgi-bin/doc-central/docutils.py", line 34, in processdirs, referer: http://localhost/dc/
    [Thu Oct 13 14:14:33 2005] [error] [client 127.0.0.1]     , referer: http://localhost/dc/
    [Thu Oct 13 14:14:33 2005] [error] [client 127.0.0.1] processdir(dir), referer: http://localhost/dc/
    [Thu Oct 13 14:14:33 2005] [error] [client 127.0.0.1]   File "/usr/lib/cgi-bin/doc-central/docutils.py", line 20, in processdir, referer: http://localhost/dc/
    [Thu Oct 13 14:14:33 2005] [error] [client 127.0.0.1]     , referer: http://localhost/dc/
    [Thu Oct 13 14:14:33 2005] [error] [client 127.0.0.1] newdoc=docinfo.DocumentationInfo(dir+"/"+entry), referer: http://localhost/dc/
    [Thu Oct 13 14:14:34 2005] [error] [client 127.0.0.1]   File "/usr/lib/cgi-bin/doc-central/docinfo.py", line 28, in __init__, referer: http://localhost/dc/
    [Thu Oct 13 14:14:34 2005] [error] [client 127.0.0.1]     , referer: http://localhost/dc/
    [Thu Oct 13 14:14:34 2005] [error] [client 127.0.0.1] self.parse_info(docfile), referer: http://localhost/dc/
    [Thu Oct 13 14:14:34 2005] [error] [client 127.0.0.1]   File "/usr/lib/cgi-bin/doc-central/docinfo.py", line 58, in parse_info, referer: http://localhost/dc/
    [Thu Oct 13 14:14:34 2005] [error] [client 127.0.0.1]     , referer: http://localhost/dc/
    [Thu Oct 13 14:14:34 2005] [error] [client 127.0.0.1] fo=os.fdopen(fd), referer: http://localhost/dc/
    [Thu Oct 13 14:14:34 2005] [error] [client 127.0.0.1] IOError, referer: http://localhost/dc/
    [Thu Oct 13 14:14:34 2005] [error] [client 127.0.0.1] : , referer: http://localhost/dc/
    [Thu Oct 13 14:14:34 2005] [error] [client 127.0.0.1] [Errno 21] Is a directory, referer: http://localhost/dc/
    [Thu Oct 13 14:14:34 2005] [error] [client 127.0.0.1] , referer: http://localhost/dc/
    [Thu Oct 13 14:14:34 2005] [error] [client 127.0.0.1] Premature end of script headers: contents.cgi, referer: http://localhost/dc/




More information about the universe-bugs mailing list