Your message dated Wed, 30 Mar 2022 13:44:06 +0200
with message-id <[email protected]>
and subject line Re: Bug#637475: pydoctor: dies with AttributeError: 'Module' 
object has no attribute 'subclasses'
has caused the Debian Bug report #637475,
regarding pydoctor: dies with AttributeError: 'Module' object has no attribute 
'subclasses'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
637475: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=637475
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-pydoctor
Version: 0.3+bzr567-1
Severity: normal

When attempting to run pydoctor on the master branch of Omaha[1], I
get the following error:

$ pydoctor --add-package=Omaha
adding directory /work/yann/games/omaha2/Omaha
26/107 modules processed 57 warnings
Traceback (most recent call last):
  File "/usr/bin/pydoctor", line 12, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/lib/pymodules/python2.6/pydoctor/driver.py", line 330, in main
    system.process()
  File "/usr/lib/pymodules/python2.6/pydoctor/model.py", line 700, in process
    self.processModule(mod)
  File "/usr/lib/pymodules/python2.6/pydoctor/model.py", line 684, in 
processModule
    builder.processModuleAST(ast, mod)
  File "/usr/lib/pymodules/python2.6/pydoctor/astbuilder.py", line 357, in 
processModuleAST
    visitor.walk(ast, self.ModuleVistor(self, mod))
  File "/usr/lib/python2.6/compiler/visitor.py", line 106, in walk
    walker.preorder(tree, visitor)
  File "/usr/lib/python2.6/compiler/visitor.py", line 63, in preorder
    self.dispatch(tree, *args) # XXX *args make sense?
  File "/usr/lib/python2.6/compiler/visitor.py", line 57, in dispatch
    return meth(node, *args)
  File "/usr/lib/pymodules/python2.6/pydoctor/astbuilder.py", line 81, in 
visitModule
    self.default(node)
  File "/usr/lib/pymodules/python2.6/pydoctor/astbuilder.py", line 75, in 
default
    self.visit(child)
  File "/usr/lib/python2.6/compiler/visitor.py", line 57, in dispatch
    return meth(node, *args)
  File "/usr/lib/python2.6/compiler/visitor.py", line 40, in default
    self.dispatch(child, *args)
  File "/usr/lib/python2.6/compiler/visitor.py", line 57, in dispatch
    return meth(node, *args)
  File "/usr/lib/pymodules/python2.6/pydoctor/astbuilder.py", line 120, in 
visitFrom
    mod = self.system.getProcessedModule(modname)
  File "/usr/lib/pymodules/python2.6/pydoctor/model.py", line 669, in 
getProcessedModule
    self.processModule(mod)
  File "/usr/lib/pymodules/python2.6/pydoctor/model.py", line 684, in 
processModule
    builder.processModuleAST(ast, mod)
  File "/usr/lib/pymodules/python2.6/pydoctor/astbuilder.py", line 357, in 
processModuleAST
    visitor.walk(ast, self.ModuleVistor(self, mod))
  File "/usr/lib/python2.6/compiler/visitor.py", line 106, in walk
    walker.preorder(tree, visitor)
  File "/usr/lib/python2.6/compiler/visitor.py", line 63, in preorder
    self.dispatch(tree, *args) # XXX *args make sense?
  File "/usr/lib/python2.6/compiler/visitor.py", line 57, in dispatch
    return meth(node, *args)
  File "/usr/lib/pymodules/python2.6/pydoctor/astbuilder.py", line 81, in 
visitModule
    self.default(node)
  File "/usr/lib/pymodules/python2.6/pydoctor/astbuilder.py", line 75, in 
default
    self.visit(child)
  File "/usr/lib/python2.6/compiler/visitor.py", line 57, in dispatch
    return meth(node, *args)
  File "/usr/lib/python2.6/compiler/visitor.py", line 40, in default
    self.dispatch(child, *args)
  File "/usr/lib/python2.6/compiler/visitor.py", line 57, in dispatch
    return meth(node, *args)
  File "/usr/lib/pymodules/python2.6/pydoctor/zopeinterface.py", line 227, in 
visitClass
    super(ZopeInterfaceModuleVisitor, self).visitClass(node)
  File "/usr/lib/pymodules/python2.6/pydoctor/astbuilder.py", line 114, in 
visitClass
    b.subclasses.append(cls)
AttributeError: 'Module' object has no attribute 'subclasses'



[1] https://alioth.debian.org/scm/browser.php?group_id=100519

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'oldstable'), (500, 'unstable'), (500, 
'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38.4 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-pydoctor depends on:
ii  python                        2.6.7-2    interactive high-level object-orie
ii  python-epydoc                 3.0.1-9    tool for documenting Python module
ii  python-nevow                  0.10.0-4   Web application templating system 
ii  python-support                1.0.14     automated rebuilding support for P

python-pydoctor recommends no packages.

python-pydoctor suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Hello Yann,

the reported version isn't within any supported Debian release any more
nor was there done any update to this issue (or on Launchpad) for years.
Also pydoctor has moved over to Python3 for a long time.

I'm quite sure this issue isn't alive in current pydoctor versions and
I'm closing this report now.

Feel free to reopen or create a new report if you still having problems.

Regards
Carsten

Am Thu, Aug 11, 2011 at 11:18:35PM +0200 schrieb Yann Dirson:
> Package: python-pydoctor
> Version: 0.3+bzr567-1
> Severity: normal
> 
> When attempting to run pydoctor on the master branch of Omaha[1], I
> get the following error:
> 
> $ pydoctor --add-package=Omaha
> adding directory /work/yann/games/omaha2/Omaha
> 26/107 modules processed 57 warnings
> Traceback (most recent call last):
>   File "/usr/bin/pydoctor", line 12, in <module>
>     sys.exit(main(sys.argv[1:]))
>   File "/usr/lib/pymodules/python2.6/pydoctor/driver.py", line 330, in main
>     system.process()
>   File "/usr/lib/pymodules/python2.6/pydoctor/model.py", line 700, in process
>     self.processModule(mod)
>   File "/usr/lib/pymodules/python2.6/pydoctor/model.py", line 684, in 
> processModule
>     builder.processModuleAST(ast, mod)
>   File "/usr/lib/pymodules/python2.6/pydoctor/astbuilder.py", line 357, in 
> processModuleAST
>     visitor.walk(ast, self.ModuleVistor(self, mod))
>   File "/usr/lib/python2.6/compiler/visitor.py", line 106, in walk
>     walker.preorder(tree, visitor)
>   File "/usr/lib/python2.6/compiler/visitor.py", line 63, in preorder
>     self.dispatch(tree, *args) # XXX *args make sense?
>   File "/usr/lib/python2.6/compiler/visitor.py", line 57, in dispatch
>     return meth(node, *args)
>   File "/usr/lib/pymodules/python2.6/pydoctor/astbuilder.py", line 81, in 
> visitModule
>     self.default(node)
>   File "/usr/lib/pymodules/python2.6/pydoctor/astbuilder.py", line 75, in 
> default
>     self.visit(child)
>   File "/usr/lib/python2.6/compiler/visitor.py", line 57, in dispatch
>     return meth(node, *args)
>   File "/usr/lib/python2.6/compiler/visitor.py", line 40, in default
>     self.dispatch(child, *args)
>   File "/usr/lib/python2.6/compiler/visitor.py", line 57, in dispatch
>     return meth(node, *args)
>   File "/usr/lib/pymodules/python2.6/pydoctor/astbuilder.py", line 120, in 
> visitFrom
>     mod = self.system.getProcessedModule(modname)
>   File "/usr/lib/pymodules/python2.6/pydoctor/model.py", line 669, in 
> getProcessedModule
>     self.processModule(mod)
>   File "/usr/lib/pymodules/python2.6/pydoctor/model.py", line 684, in 
> processModule
>     builder.processModuleAST(ast, mod)
>   File "/usr/lib/pymodules/python2.6/pydoctor/astbuilder.py", line 357, in 
> processModuleAST
>     visitor.walk(ast, self.ModuleVistor(self, mod))
>   File "/usr/lib/python2.6/compiler/visitor.py", line 106, in walk
>     walker.preorder(tree, visitor)
>   File "/usr/lib/python2.6/compiler/visitor.py", line 63, in preorder
>     self.dispatch(tree, *args) # XXX *args make sense?
>   File "/usr/lib/python2.6/compiler/visitor.py", line 57, in dispatch
>     return meth(node, *args)
>   File "/usr/lib/pymodules/python2.6/pydoctor/astbuilder.py", line 81, in 
> visitModule
>     self.default(node)
>   File "/usr/lib/pymodules/python2.6/pydoctor/astbuilder.py", line 75, in 
> default
>     self.visit(child)
>   File "/usr/lib/python2.6/compiler/visitor.py", line 57, in dispatch
>     return meth(node, *args)
>   File "/usr/lib/python2.6/compiler/visitor.py", line 40, in default
>     self.dispatch(child, *args)
>   File "/usr/lib/python2.6/compiler/visitor.py", line 57, in dispatch
>     return meth(node, *args)
>   File "/usr/lib/pymodules/python2.6/pydoctor/zopeinterface.py", line 227, in 
> visitClass
>     super(ZopeInterfaceModuleVisitor, self).visitClass(node)
>   File "/usr/lib/pymodules/python2.6/pydoctor/astbuilder.py", line 114, in 
> visitClass
>     b.subclasses.append(cls)
> AttributeError: 'Module' object has no attribute 'subclasses'
> 
> 
> 
> [1] https://alioth.debian.org/scm/browser.php?group_id=100519
> 
> -- System Information:
> Debian Release: wheezy/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'oldstable'), (500, 'unstable'), (500, 
> 'stable'), (101, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.38.4 (SMP w/4 CPU cores)
> Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages python-pydoctor depends on:
> ii  python                        2.6.7-2    interactive high-level 
> object-orie
> ii  python-epydoc                 3.0.1-9    tool for documenting Python 
> module
> ii  python-nevow                  0.10.0-4   Web application templating 
> system 
> ii  python-support                1.0.14     automated rebuilding support for 
> P
> 
> python-pydoctor recommends no packages.
> 
> python-pydoctor suggests no packages.
> 
> -- no debconf information
> 
> 

--- End Message ---

Reply via email to