Re: [HappyDoc-discuss] Errors encountered using happy doc 3.0
Brought to you by:
doughellmann,
krlosaqp
|
From: Nitin S. <nit...@go...> - 2006-12-08 10:49:02
|
The new release works fine. There's no more trace back errors seen during
execution.
Thanks.
Nitin
On 12/5/06, Doug Hellmann <do...@he...> wrote:
>
> I posted version 3.1 of HappyDoc to the downloads area this morning.
> This release still does not have a setup.py, but the syntax errors
> should be resolved. If someone wants to submit a patch with a
> setup.py file, I would be glad to receive it an integrate it with the
> package. :-)
>
> Please give the new release a try and let me know if you have any
> problems.
>
> Doug
>
>
> On Dec 5, 2006, at 12:29 AM, Nitin Shukla wrote:
>
> > Hello Doug,
> >
> > Thank you for the information.
> >
> > Is there a plan for new release of happydoc in near future. If yes
> > when can we expect it?
> >
> > I took the latest version of Happy Doc from the CVS repository
> > yesterday. I ran happydoc and it did generate the html
> > documentation but not without the following trace back errors
> > thrown up.
> >
> > --- Plugin Module Error in happydoclib.docset.docset_TAL ---
> > Traceback (most recent call last):
> > File "/home/nitinshukla/HappyDoc/HappyDoc3/happydoclib/
> > pluginloader.py", line 177, in __init__
> > File "/home/nitinshukla/HappyDoc/HappyDoc3/happydoclib/docset/
> > docset_TAL/__init__.py", line 66, in ?
> > File "/home/nitinshukla/HappyDoc/HappyDoc3/happydoclib/docset/
> > docset_TAL/templateset.py", line 66, in ?
> > File "/home/nitinshukla/HappyDoc/HappyDoc3/happydoclib/docset/
> > docset_TAL/templatefile.py", line 64, in ?
> > File "/home/nitinshukla/HappyDoc/HappyDoc3/happydoclib/docset/
> > docset_TAL/hdExpressions.py", line 27, in ?
> > SyntaxError: Invalid syntax. Assignment to None. (hdTALES.py, line
> > 282)
> > ---------------------------
> >
> > I believe the None problem still persists. Can we expect this to be
> > fixed before any release?
> >
> > Nitin
> >
> >
> > On 12/1/06, Doug Hellmann < do...@he...> wrote:Hi, Nitin,
> >
> > The problem has to do with None being changed from a builtin to a
> > keyword in a recent version of Python. The CVS version of HappyDoc
> > corrects the problems, but I haven't had a chance to package up a new
> > release yet.
> >
> > Doug
> >
> >
> > On Dec 1, 2006, at 6:53 AM, Nitin Shukla wrote:
> >
> > > Hello,
> > >
> > > I downloaded the latest available version of happydoc 3.0 and
> > > unpacked the tar file. Since there's not setup.py file I tried to
> > > use the happydoc script directly from the extracted code. I get the
> > > following errors when I do ../../../Desktop/HappyDoc3-r3_0_a1/
> > > happydoc pyDocSample.py
> > >
> > >
> > > --- Plugin Module Error in
> > > happydoclib.docstring.docstring_PlainText ---
> > > Traceback (most recent call last):
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > pluginloader.py", line 177, in __init__
> > > _module = __import__( _import_name )
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > docstring/docstring_PlainText.py", line 66, in ?
> > > import happydoclib.docstring.StructuredText
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > docstring/StructuredText/__init__.py", line 14, in ?
> > > import HTMLClass, DocumentClass
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > docstring/StructuredText/HTMLClass.py", line 15, in ?
> > > import re, sys, ST
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > docstring/StructuredText/ST.py", line 14, in ?
> > > import re, STDOM
> > > SyntaxError: Invalid syntax. Assignment to None. ( STDOM.py, line
> > > 343)
> > > ---------------------------
> > >
> > >
> > > --- Plugin Module Error in
> > > happydoclib.docstring.docstring_StructuredText ---
> > > Traceback (most recent call last):
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > pluginloader.py", line 177, in __init__
> > > _module = __import__( _import_name )
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > docstring/docstring_StructuredText.py", line 62, in ?
> > > import happydoclib.docstring.StructuredText
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > docstring/StructuredText/__init__.py", line 14, in ?
> > > import HTMLClass, DocumentClass
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > docstring/StructuredText/HTMLClass.py", line 15, in ?
> > > import re, sys, ST
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > docstring/StructuredText/ST.py", line 14, in ?
> > > import re, STDOM
> > > SyntaxError: Invalid syntax. Assignment to None. ( STDOM.py, line
> > > 343)
> > > ---------------------------
> > >
> > >
> > > --- Plugin Module Error in happydoclib.docset.docset_TAL ---
> > > Traceback (most recent call last):
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > pluginloader.py ", line 177, in __init__
> > > _module = __import__( _import_name )
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > docset/docset_TAL/__init__.py", line 66, in ?
> > > from happydoclib.docset.docset_TAL.templateset import
> > TemplateSet
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > docset/docset_TAL/templateset.py", line 66, in ?
> > > from happydoclib.docset.docset_TAL.templatefile import
> > > TemplateFile
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > docset/docset_TAL/templatefile.py", line 64, in ?
> > > from happydoclib.docset.docset_TAL import hdExpressions
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > docset/docset_TAL/hdExpressions.py", line 27, in ?
> > > from hdTALES import Engine, CompilerError, _valid_name,
> > NAME_RE, \
> > > SyntaxError: Invalid syntax. Assignment to None. (hdTALES.py, line
> > > 282)
> > > ---------------------------
> > >
> > > HappyDoc version 3.0.a1
> > > Scanning...
> > > Parsing: pyDocSample.py
> > > Done
> > > Initializing documentation set HappyDoc Generated Documentation
> > > NEED TO HANDLE extraParameters in DocSetBase
> > > Writing...
> > > Documenting: "pyDocSample.py"
> > > to: "doc/pyDocSample.html"
> > > Wanted: "StructuredText"
> > > Have : ['RawText', 'ClassicStructuredText']
> > > Traceback (most recent call last):
> > > File "../../../Desktop/HappyDoc3-r3_0_a1/happydoc", line 61, in ?
> > > HappyDoc().run()
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > CommandLineApp.py", line 314, in run
> > > exit_code = apply(self.main, tuple(self.remainingOpts ))
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > appclass.py", line 492, in main
> > > docset.write()
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > docset/base.py", line 322, in write
> > > self.scanner.walk(self.writeCB)
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > scanner.py", line 227, in walk
> > > tree.walk(callback)
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > packagetree.py", line 443, in walk
> > > callback(self)
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > docset/base.py", line 315, in writeCB
> > > writer(packageTreeNode)
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > docset/docset_MultiHTMLFile.py", line 1076, in processPythonFile
> > > self.writeText(output, readme_text, text_format)
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > docset/base.py", line 615, in writeText
> > > html = self.formatText (text, textFormat)
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > docset/base.py", line 582, in formatText
> > > converter_factory = getConverterFactory(textFormat)
> > > File "/home/nitinshukla/Desktop/HappyDoc3-r3_0_a1/happydoclib/
> > > docstring/__init__.py", line 183, in getConverterFactory
> > > raise ValueError('Unrecognized docstring format type "%s"' %
> > > formatType)
> > > ValueError: Unrecognized docstring format type "StructuredText"
> > >
> > >
> > > Can anyone help me identify what's going wrong here and help
> > > generate documentation for the python code I have.
> > >
> > > Nitin
> > >
> > >
> > ----------------------------------------------------------------------
> > > ---
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to
> > > share your
> > > opinions on IT & business topics through brief surveys - and earn
> > cash
> > > http://www.techsay.com/default.php?
> > >
> > page=join.php&p=sourceforge&CID=DEVDEV________________________________
> > > _______________
> > > HappyDoc-discuss mailing list
> > > Hap...@li...
> > > https://lists.sourceforge.net/lists/listinfo/happydoc-discuss
> >
> >
>
>
|