[Eric] Re: eric for openSUSE

Hans-Peter Jansen hpj at urpla.net
Mon Aug 10 18:36:37 BST 2009


Am Montag, 10. August 2009 schrieb Mikhail:
> Hans-Peter Jansen <hpj at ...> writes:
> > Would you be so kind and check the pylint functionality after your next
> > update?
>
> It installed fine this time, but when I run a check in eric I got the
> following exception:
>
> Traceback (most recent call last):
>   File "/usr/bin/pylint", line 4, in <module>
>     lint.Run(sys.argv[1:])
>   File "/usr/lib64/python2.5/site-packages/pylint/lint.py", line 881, in
> __init__ linter.check(args)
>   File "/usr/lib64/python2.5/site-packages/pylint/lint.py", line 500, in
> check self.check_astng_module(astng, checkers)
>   File "/usr/lib64/python2.5/site-packages/pylint/lint.py", line 577, in
> check_astng_module
>     if implements(checker, IASTNGChecker)])
>   File "/usr/lib64/python2.5/site-packages/pylint/lint.py", line 594, in
> astng_events
>     self.astng_events(child, checkers, _reversed_checkers)
>   File "/usr/lib64/python2.5/site-packages/pylint/lint.py", line 594, in
> astng_events
>     self.astng_events(child, checkers, _reversed_checkers)
>   File "/usr/lib64/python2.5/site-packages/pylint/lint.py", line 594, in
> astng_events
>     self.astng_events(child, checkers, _reversed_checkers)
>   File "/usr/lib64/python2.5/site-packages/pylint/lint.py", line 594, in
> astng_events
>     self.astng_events(child, checkers, _reversed_checkers)
>   File "/usr/lib64/python2.5/site-packages/pylint/lint.py", line 591, in
> astng_events
>     checker.visit(astng)
>   File "/usr/lib64/python2.5/site-packages/logilab/astng/utils.py", line
> 320, in visit
>     method(node)
>   File "/usr/lib64/python2.5/site-packages/pylint/checkers/format.py",
> line 267, in visit_default
>     prev_sibl = node.previous_sibling()
>   File "/usr/lib64/python2.5/site-packages/logilab/astng/nodes.py", line
> 251, in previous_sibling
>     stmts = self.parent.child_sequence(self)
>   File "/usr/lib64/python2.5/site-packages/logilab/astng/nodes.py", line
> 216, in child_sequence
>     raise ASTNGError(msg % (repr(child), repr(self)))
> logilab.astng._exceptions.ASTNGError: Could not found <_ast.Yield object
> at 0xf39f90> in <_ast.Assign object at 0xf39f10>'s children

Not here, could you give me a list of all concerning packages, and could you 
try to pylint something simple?

Pete


More information about the Eric mailing list