Doug Hellmann <doug@hellfly.net> wrote:
Hi, Antonios,

It sounds like there was a problem with the installation of
happydoc. That error appears to be saying that it cannot find the
"docstring parser" module for a plaintext docstring. The parser is
in a plugin module that should have been installed with the rest of
the code.

What version of happydoc are you using?

Doug


On Nov 30, 2006, at 9:26 AM, Antonios Katsikadamos wrote:

> Hi all. I have a problem. When i try to produce doc from a code i
> encountered the following error message
>
> File "/usr/local/bin/happydoc", line 61, in ?
> HappyDoc().run()
> File "/usr/local/lib/python2.4/site-packages/happydoclib/
> CommandLineApp.py", line 315, in run
> exit_code = apply(self.main, tuple(self.remainingOpts))
> File "/usr/local/lib/python2.4/site-packages/happydoclib/
> appclass.py", line 433, in main
> parsed_modules.write()
> File "/usr/local/lib/python2.4/site-packages/happydoclib/docset/
> docset_MultipleFile.py", line 114, in write
> self._writeDescription( self._root_node )
> File "/usr/local/lib/python2.4/site-packages/happydoclib/docset/
> docset_MultipleFile.py", line 137, in _writeDescription
> description, input_type = self.getDescriptionAndFormat()
> File "/usr/local/lib/python2.4/site-packages/happydoclib/
> happydocset.py", line 466, in getDescriptionAndFormat
> description_file = self.getExternalDocumentationFile
> (description_filename)
> File "/usr/local/lib/python2.4/site-packages/happydoclib/
> happydocset.py", line 384, in getExternalDocumentationFile
> converter_factory =
> happydoclib.docstring.getConverterFactoryForFile(filename)
> File "/usr/local/lib/python2.4/site-packages/happydoclib/
> docstring/__init__.py", line 199, in getConverterFactoryForFile
> return getConverterFactory(converter_name)
> File "/usr/local/lib/python2.4/site-packages/happydoclib/
> docstring/__init__.py", line 183, in getConverterFactory
> raise ValueError('Unrecognized docstring format type "%s"' %
> formatType)
>
>
> ValueError: Unrecognized docstring format type "PlainText"
>
>
>
>
> Doea anyone know what it is?
>
>
> thnxs for any help
>
> Antonios
>
>
>
I am using the 2.1 version on suse linux. I downloaded the 3.0 but there was no setup.py in it to do the installation. so i downloaded the 2.1


Kind regards,

Antonios


Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster.