pythondoc problem

Chuck Esterbrook echuck at mindspring.com
Fri May 12 08:43:32 EDT 2000


Michael Husmann wrote:
> 
> Each line of the Makefile ends with a CR/LF combination while Unix expects
> a single LF at the end. The easiest way is to convert that Makefile with
> a dos2unix program. Then it should work.
> 
> I am using pythondoc and I think it is a nice way to produce documentation
> out of the source files.
> 
> HTH,
> Michael
> 

I converted the text files to UNIX and got a little further. However, I'm getting some crazy error messages. Do you have a copy of pythondoc you could send me that I could try?

I *really* want to use this. I'm releasing version 0.2 of Webware for Python and I want to package class documentation with it as well as have that online.

Grrrr.

I'm using Python 1.5.2 on Linux (Mandrake). I've downloaded several other python packages before and this is the first time I've ever had a problem.

(Err msgs below.)

-Chuck


[echuck at localhost pythondoc]$ pythondoc -?
pythondoc: No match.
[echuck at localhost pythondoc]$ ./pythondoc -?
./pythondoc: No match.
[echuck at localhost pythondoc]$ ./pythondoc
Warning: Failed to import internalXref (exceptions.ImportError: No module named docobjects)
Traceback (innermost last):
  File "./pythondoc", line 2, in ?
    import pythondoc.pythondoc
  File "./pythondoc.py", line 81, in ?
    formatters.init(_options)
  File "./formatters/__init__.py", line 4, in init
    init(__path__, options)
  File "./formatters/format_init.py", line 25, in init
    import pythondoc.message
ImportError: No module named message
[echuck at localhost pythondoc]$ pythondoc
Traceback (innermost last):
  File "/usr/bin/pythondoc", line 5, in ?
    import pythondoc.gui
ImportError: No module named gui



More information about the Python-list mailing list