[Bug 1429521] [NEW] AttributeError: 'Checker' object has no attribute 'blank_before'
Nobuto Murata
nobuto at nobuto-murata.org
Sun Mar 8 06:17:27 UTC 2015
Public bug reported:
python3-flake8 always returns AttributeError: 'Checker' object has no
attribute 'blank_before'.
$ cat foo.py
#!/usr/bin/python3
pass
$ python3 -m flake8 -vv foo.py
checking foo.py
pass
Traceback (most recent call last):
File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3/dist-packages/flake8/__main__.py", line 4, in <module>
main()
File "/usr/lib/python3/dist-packages/flake8/main.py", line 32, in main
report = flake8_style.check_files()
File "/usr/lib/python3/dist-packages/pep8.py", line 1624, in check_files
runner(path)
File "/usr/lib/python3/dist-packages/flake8/engine.py", line 83, in input_file
return fchecker.check_all(expected=expected, line_offset=line_offset)
File "/usr/lib/python3/dist-packages/pep8.py", line 1393, in check_all
self.check_logical()
File "/usr/lib/python3/dist-packages/pep8.py", line 1327, in check_logical
for result in self.run_check(check, argument_names):
File "/usr/lib/python3/dist-packages/pep8.py", line 1256, in run_check
arguments.append(getattr(self, name))
AttributeError: 'Checker' object has no attribute 'blank_before'
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: python3-flake8 2.2.2-1ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-7.7-generic 3.19.0
Uname: Linux 3.19.0-7-generic x86_64
ApportVersion: 2.16.2-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Mar 8 15:15:00 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-02-28 (7 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150228)
SourcePackage: python-flake8
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: python-flake8 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug vivid
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-flake8 in Ubuntu.
https://bugs.launchpad.net/bugs/1429521
Title:
AttributeError: 'Checker' object has no attribute 'blank_before'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-flake8/+bug/1429521/+subscriptions
More information about the Ubuntu-server-bugs
mailing list