Description of problem: I tried running django-lint against my whole (Django 1.2) project. Complete traceback: Traceback (most recent call last): File "/usr/bin/django-lint", line 25, in <module> sys.exit(script.main()) File "/usr/lib/python2.7/site-packages/DjangoLint/script.py", line 120, in main linter.check([target]) File "/usr/lib/python2.7/site-packages/pylint/lint.py", line 502, in check self.check_astng_module(astng, walker, rawcheckers) File "/usr/lib/python2.7/site-packages/pylint/lint.py", line 574, in check_astng_module walker.walk(astng) File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 528, in walk self.walk(child) File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 528, in walk self.walk(child) File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 528, in walk self.walk(child) File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 525, in walk cb(astng) File "/usr/lib/python2.7/site-packages/DjangoLint/AstCheckers/model_fields.py", line 154, in visit_callfunc self.config.max_charfield_length, File "/usr/lib/python2.7/site-packages/pylint/checkers/__init__.py", line 97, in add_message self.linter.add_message(msg_id, line, node, args) File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 271, in add_message msg %= args TypeError: %d format: a number is required, not str Version-Release number of selected component: django-lint-0.13-11.fc17 Additional info: cmdline: /usr/bin/python /usr/bin/django-lint dso_list: pylint-0.25.1-1.fc17.noarch executable: /usr/bin/django-lint kernel: 3.6.9-2.fc17.x86_64 uid: 1000 Truncated backtrace: utils.py:271:add_message:TypeError: %d format: a number is required, not str Traceback (most recent call last): File "/usr/bin/django-lint", line 25, in <module> sys.exit(script.main()) File "/usr/lib/python2.7/site-packages/DjangoLint/script.py", line 120, in main linter.check([target]) File "/usr/lib/python2.7/site-packages/pylint/lint.py", line 502, in check self.check_astng_module(astng, walker, rawcheckers) File "/usr/lib/python2.7/site-packages/pylint/lint.py", line 574, in check_astng_module walker.walk(astng) File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 528, in walk self.walk(child) File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 528, in walk self.walk(child) File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 528, in walk self.walk(child) File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 525, in walk cb(astng) File "/usr/lib/python2.7/site-packages/DjangoLint/AstCheckers/model_fields.py", line 154, in visit_callfunc self.config.max_charfield_length, File "/usr/lib/python2.7/site-packages/pylint/checkers/__init__.py", line 97, in add_message self.linter.add_message(msg_id, line, node, args) File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 271, in add_message msg %= args TypeError: %d format: a number is required, not str Local variables in innermost frame: node: <CallFunc() l.1566 [SP3.companies.models] at Ox483fdd0> col_offset: 19 msgid: 'W6007' self: <pylint.lint.PyLinter object at 0x2b5d650> args: ('attention_of', '200', 512) msg: '%s: CharField with huge (%d/%d) max_length instead of TextField' line: 1566 msg_cat: 'warning'
Created attachment 665335 [details] File: backtrace
Created attachment 665336 [details] File: core_backtrace
Created attachment 665337 [details] File: environ
Created attachment 665338 [details] File: smolt_data
This message is a reminder that Fedora 17 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 17. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '17'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 17's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 17 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 17's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.