Debian Bug report logs - #685055
Assertion when generating epydoc information for virtinst

version graph

Package: python-epydoc; Maintainer for python-epydoc is Kenneth J. Pronovici <pronovic@debian.org>; Source for python-epydoc is src:epydoc.

Reported by: Guido Günther <agx@sigxcpu.org>

Date: Thu, 16 Aug 2012 07:36:01 UTC

Severity: normal

Tags: upstream

Found in version epydoc/3.0.1-12

Forwarded to https://sourceforge.net/tracker/?func=detail&aid=3564010&group_id=32455&atid=405618

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Kenneth J. Pronovici <pronovic@debian.org>:
Bug#685055; Package python-epydoc. (Thu, 16 Aug 2012 07:36:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Guido Günther <agx@sigxcpu.org>:
New Bug report received and forwarded. Copy sent to Kenneth J. Pronovici <pronovic@debian.org>. (Thu, 16 Aug 2012 07:36:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Guido Günther <agx@sigxcpu.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Assertion when generating epydoc information for virtinst
Date: Thu, 16 Aug 2012 09:33:53 +0200
Package: python-epydoc
Version: 3.0.1-12
Severity: normal

Hi,
generating epydoc information for virtinst gives this assertion:

Exception in template write_breadcrumbs() on line 6:                                         Progress:                                                                                   00:01
            crumbs = self.breadcrumbs(context)=============================================================================================================================-------------------]
Traceback (most recent call last):                            Writing HTML docs: virtinst.XMLBuilderDomain.XMLBuilderDomain-class.html                                                        
  File "/usr/bin/epydoc", line 13, in <module>
    cli()
  File "/usr/lib/python2.7/dist-packages/epydoc/cli.py", line 965, in cli
    main(options, names)
  File "/usr/lib/python2.7/dist-packages/epydoc/cli.py", line 783, in main
    write_html(docindex, options)
  File "/usr/lib/python2.7/dist-packages/epydoc/cli.py", line 823, in write_html
    html_writer.write(options.target)
  File "/usr/lib/python2.7/dist-packages/epydoc/docwriter/html.py", line 641, in write
    self._write(self.write_class, directory, filename, doc)
  File "/usr/lib/python2.7/dist-packages/epydoc/docwriter/html.py", line 711, in _write
    write_func(f.write, *args)
  File "/usr/lib/python2.7/dist-packages/epydoc/docwriter/html.py", line 836, in write_class
    self.write_breadcrumbs(out, doc, self.url(doc))
  File "<string>", line 6, in write_breadcrumbs
  File "/usr/lib/python2.7/dist-packages/epydoc/docwriter/html.py", line 1941, in breadcrumbs
    assert doc != container, 'object is its own container?'
AssertionError: object is its own container?


Steps to reproduce:

$ git clone git://git.debian.org/git/pkg-libvirt/virtinst.git
$ cd virtinst
$ epydoc --debug virtinst

Cheers,
 -- Guido

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-epydoc depends on:
ii  python     2.7.3~rc2-1
ii  python2.6  2.6.8-0.2
ii  python2.7  2.7.3~rc2-2.1

Versions of packages python-epydoc recommends:
ii  ghostscript                9.05~dfsg-6
ii  graphviz                   2.26.3-12
ii  python-docutils            0.8.1-8
ii  python-tk                  2.7.3-1
ii  texlive-fonts-recommended  2012.20120611-3
ii  texlive-latex-base         2012.20120611-3
ii  texlive-latex-extra        2012.20120611-2
ii  texlive-latex-recommended  2012.20120611-3

Versions of packages python-epydoc suggests:
pn  epydoc-doc                <none>
ii  python [python-profiler]  2.7.3~rc2-1

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Kenneth J. Pronovici <pronovic@debian.org>:
Bug#685055; Package python-epydoc. (Thu, 16 Aug 2012 16:06:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kenneth Pronovici <pronovic@ieee.org>:
Extra info received and forwarded to list. Copy sent to Kenneth J. Pronovici <pronovic@debian.org>. (Thu, 16 Aug 2012 16:06:03 GMT) Full text and rfc822 format available.

Message #10 received at 685055@bugs.debian.org (full text, mbox):

From: Kenneth Pronovici <pronovic@ieee.org>
To: agx@sigxcpu.org, 685055@bugs.debian.org
Subject: Re: Bug#685055: Assertion when generating epydoc information for virtinst
Date: Thu, 16 Aug 2012 11:03:18 -0500
On Thu, Aug 16, 2012 at 2:33 AM, Guido Günther <agx@sigxcpu.org> wrote:
> Package: python-epydoc
> Version: 3.0.1-12
> Severity: normal
>
> Hi,
> generating epydoc information for virtinst gives this assertion:

Ok, thanks for reporting the bug.  I will file this with upstream and
tie the bug back here.  Upstream is not very active these days, so I'm
not sure when it will be fixed.  I would be happy to accept a patch if
you can figure out how to fix it yourself.

KEN



Information forwarded to debian-bugs-dist@lists.debian.org, Kenneth J. Pronovici <pronovic@debian.org>:
Bug#685055; Package python-epydoc. (Thu, 16 Aug 2012 16:45:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Guido Günther <agx@sigxcpu.org>:
Extra info received and forwarded to list. Copy sent to Kenneth J. Pronovici <pronovic@debian.org>. (Thu, 16 Aug 2012 16:45:06 GMT) Full text and rfc822 format available.

Message #15 received at 685055@bugs.debian.org (full text, mbox):

From: Guido Günther <agx@sigxcpu.org>
To: Kenneth Pronovici <pronovic@ieee.org>
Cc: 685055@bugs.debian.org
Subject: Re: Bug#685055: Assertion when generating epydoc information for virtinst
Date: Thu, 16 Aug 2012 18:40:14 +0200
On Thu, Aug 16, 2012 at 11:03:18AM -0500, Kenneth Pronovici wrote:
> On Thu, Aug 16, 2012 at 2:33 AM, Guido Günther <agx@sigxcpu.org> wrote:
> > Package: python-epydoc
> > Version: 3.0.1-12
> > Severity: normal
> >
> > Hi,
> > generating epydoc information for virtinst gives this assertion:
> 
> Ok, thanks for reporting the bug.  I will file this with upstream and
> tie the bug back here.  Upstream is not very active these days, so I'm
> not sure when it will be fixed.  I would be happy to accept a patch if
> you can figure out how to fix it yourself.

Thanks. I should note that using --parse-only works around the problem.
Cheers,
 -- Guido



Added tag(s) upstream. Request was from Kenneth Pronovici <pronovic@debian.org> to control@bugs.debian.org. (Sat, 01 Sep 2012 18:57:08 GMT) Full text and rfc822 format available.

Set Bug forwarded-to-address to 'https://sourceforge.net/tracker/?func=detail&aid=3564010&group_id=32455&atid=405618'. Request was from Kenneth Pronovici <pronovic@debian.org> to control@bugs.debian.org. (Sat, 01 Sep 2012 18:57:08 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 13:02:19 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.