[Bug 989252] Re: pylint-gui throws exception when running file or package
Pander
989252 at bugs.launchpad.net
Sun Jun 14 20:49:01 UTC 2015
Does this still needs to be fixed?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pylint in Ubuntu.
https://bugs.launchpad.net/bugs/989252
Title:
pylint-gui throws exception when running file or package
Status in analyzes Python source code looking for bugs and signs of poor quality.:
Unknown
Status in pylint package in Ubuntu:
Confirmed
Bug description:
Open a file or package in pylint-gui and press the "run" button,
nothing happens and following exception is printed in the terminal:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 504, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python2.7/dist-packages/pylint/gui.py", line 439, in lint_thread
lint_obj = pylint.lint.Run(args=[module], reporter=reporter, exit=False)
File "/usr/lib/python2.7/dist-packages/pylint/lint.py", line 874, in __init__
linter.check(args)
File "/usr/lib/python2.7/dist-packages/pylint/lint.py", line 496, in check
self.check_astng_module(astng, walker, rawcheckers)
File "/usr/lib/python2.7/dist-packages/pylint/lint.py", line 566, in check_astng_module
checker.process_module(astng)
File "/usr/lib/python2.7/dist-packages/pylint/checkers/format.py", line 191, in process_module
self.process_tokens(tokenize.generate_tokens(readline))
File "/usr/lib/python2.7/dist-packages/pylint/checkers/format.py", line 224, in process_tokens
self.new_line(tok_type, line, line_num, junk)
File "/usr/lib/python2.7/dist-packages/pylint/checkers/format.py", line 197, in new_line
self.check_lines(line, line_num)
File "/usr/lib/python2.7/dist-packages/pylint/checkers/format.py", line 325, in check_lines
self.add_message('C0301', line=i, args=(len(line), max_chars))
File "/usr/lib/python2.7/dist-packages/pylint/checkers/__init__.py", line 97, in add_message
self.linter.add_message(msg_id, line, node, args)
File "/usr/lib/python2.7/dist-packages/pylint/utils.py", line 280, in add_message
self.reporter.add_message(msgid, (path, module, obj, line or 1, col_offset or 0), msg)
File "/usr/lib/python2.7/dist-packages/pylint/reporters/guireporter.py", line 24, in add_message
module, obj, line = location[1:]
ValueError: too many values to unpack
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: pylint 0.25.0-1ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
Date: Thu Apr 26 23:18:35 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120421)
PackageArchitecture: all
ProcEnviron:
LANGUAGE=nl_BE:nl
TERM=xterm
PATH=(custom, user)
LANG=nl_BE.UTF-8
SHELL=/bin/bash
SourcePackage: pylint
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/pylint/+bug/989252/+subscriptions
More information about the foundations-bugs
mailing list