doc-central

Todd Deshane deshantm at gmail.com
Fri Jun 17 15:58:03 UTC 2005


It's not actually a cgi script causing the problem, if it was i think i could
track down the problem...its acutally a python script. here is the traceback
any suggestions?

Traceback (most recent call last):
  File "/usr/lib/cgi-bin/doc-central/contents.cgi", line 35, in ?
    docutils.processdirs()
  File "/usr/lib/cgi-bin/doc-central/docutils.py", line 34, in processdirs
    processdir(dir)
  File "/usr/lib/cgi-bin/doc-central/docutils.py", line 20, in processdir
    newdoc=docinfo.DocumentationInfo(dir+"/"+entry)
  File "/usr/lib/cgi-bin/doc-central/docinfo.py", line 29, in __init__
    self.parse_info(docfile)
  File "/usr/lib/cgi-bin/doc-central/docinfo.py", line 60, in parse_info
    fo=os.fdopen(fd)
IOError: [Errno 21] Is a directory


its getting some documention directories right, but i can't make
any sense out of the fd (file descriptor?... for me it prints out as 3) and fo?
fo prints out as <open file '<fdopen>', mode 'r' at 0xb7b2f6e0>

Looks like a neat package... any python people that could shed some light?

anybody else get this to work?

are people just using dwww instead?

Thanks in advance for help,
Todd

On 6/16/05, Frank McCormick <fmccormick at videotron.ca> wrote:
> 
> Just installed the doc-central package to enable me to browse
> documentation on my Hoary system..but ran into an internal server error.
> 
> 
> [Thu Jun 16 13:05:18 2005] [error] [client 127.0.0.1] Premature end of
> script headers: /usr/lib/cgi-bin/doc-central/contents.cgi
> 
> What I know about cgi would fit on the head of a pin :) Can anyone help?
> 
> 
> 
> --
> Cheers
> 
> Frank
> 
> 
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>




More information about the ubuntu-users mailing list