Menu

Does HappyDoc work under MS Windows ?

j vickroy
2002-01-22
2002-02-05
  • j vickroy

    j vickroy - 2002-01-22

    I tried to use release 2.0 with Python 2.1 and this is the result:

    D:\py_addons\generic>c:python21\scripts\happydocwin.py ftp.py
    HappyDoc version 2.0
    Docstring converters from C:\Python21\happydoclib\docstring
    Docsets list from C:\Python21\happydoclib\docset
    Formatters from C:\Python21\happydoclib\formatter
    Initializing documentation set HappyDoc Generated Documentation...
    Getting info for ftp.py
    Beginning to write...
    Traceback (most recent call last):
      File "C:\python21\scripts\happydocwin.py", line 73, in ?
        HappyDoc().run()
      File "C:\Python21\happydoclib\CommandLineApp.py", line 313, in run
        exit_code = apply(self.main, tuple(self.remainingOpts))
      File "C:\Python21\happydoclib\appclass.py", line 430, in main
        parsed_modules.write()
      File "C:\Python21\happydoclib\docset\docset_MultipleFile.py", line 110, in write
        self._root_node = self.openOutput( self._root_name, self._title, '' )
      File "C:\Python21\happydoclib\happydocset.py", line 807, in openOutput
        f = self._formatter.openOutput(name, title, subtitle)
      File "C:\Python21\happydoclib\formatter\formatter_HTMLFile.py", line 275, in openOutput
        title1,
      File "C:\Python21\happydoclib\formatter\fileformatterbase.py", line 101, in openOutput
        happydoclib.path.rmkdir(happydoclib.path.dirname(name))
      File "C:\Python21\happydoclib\path.py", line 83, in rmkdir
        rmkdir(parent)
      File "C:\Python21\happydoclib\path.py", line 83, in rmkdir
        rmkdir(parent)
      File "C:\Python21\happydoclib\path.py", line 83, in rmkdir
        rmkdir(parent)
      File "C:\Python21\happydoclib\path.py", line 85, in rmkdir
        os.mkdir(path)
    OSError: [Errno 22] Invalid argument: '\\D:'

    D:\py_addons\generic>

     
    • Barry Drake

      Barry Drake - 2002-02-05

      I'm having exactly the same problem.  Below is the output that I get.  (system: win98, ActivePython 2.1, HappyDoc 2.0)
      -------------
      HappyDoc version 2.0
      Docstring converters from C:\Python21\happydoclib\docstring
      Docsets list from C:\Python21\happydoclib\docset
      Formatters from C:\Python21\happydoclib\formatter
      Initializing documentation set HappyDoc Generated Documentation...
      Getting info for test_happydoc.py
      Beginning to write...
      Traceback (most recent call last):
        File "C:\Python21\happydoclib\happydocwin.py", line 73, in ?
          HappyDoc().run()
        File "C:\PYTHON21\happydoclib\CommandLineApp.py", line 313, in run
          exit_code = apply(self.main, tuple(self.remainingOpts))
        File "C:\PYTHON21\happydoclib\appclass.py", line 430, in main
          parsed_modules.write()
        File "C:\PYTHON21\happydoclib\docset\docset_MultipleFile.py", line 110, in write
          self._root_node = self.openOutput( self._root_name, self._title, '' )
        File "C:\PYTHON21\happydoclib\happydocset.py", line 807, in openOutput
          f = self._formatter.openOutput(name, title, subtitle)
        File "C:\PYTHON21\happydoclib\formatter\formatter_HTMLFile.py", line 275, in openOutput
          title1,
        File "C:\PYTHON21\happydoclib\formatter\fileformatterbase.py", line 101, in openOutput
          happydoclib.path.rmkdir(happydoclib.path.dirname(name))
        File "C:\PYTHON21\happydoclib\path.py", line 83, in rmkdir
          rmkdir(parent)
        File "C:\PYTHON21\happydoclib\path.py", line 83, in rmkdir
          rmkdir(parent)
        File "C:\PYTHON21\happydoclib\path.py", line 83, in rmkdir
          rmkdir(parent)
        File "C:\PYTHON21\happydoclib\path.py", line 85, in rmkdir
          os.mkdir(path)
      OSError: [Errno 2] No such file or directory: '\\C:'

       
      • Doug Hellmann

        Doug Hellmann - 2002-02-05

        I've just checked in changes that fix this problem.  You can grab the latest version from CVS now, if you  want.  I'm going to try to put together a formal release today.

        Doug

         
        • Barry Drake

          Barry Drake - 2002-02-05

          Thank you Doug.  I'll be looking for the release since I just started using sourceforge.net.
          Barry

           
    • Barry Drake

      Barry Drake - 2002-02-05

      Thank you Doug; issue resolved.  HappyDoc is happily producing reams of documentation :-)

      Barry

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.