abrt version: 1.1.13 architecture: i686 cmdline: /usr/bin/python /usr/bin/django-lint demos/molly_oxford component: django-lint executable: /usr/bin/django-lint kernel: 2.6.35.6-48.fc14.i686.PAE package: django-lint-0.13-8.fc14 reason: utils.py:40:is_model:TypeError: '_Yes' object is not iterable release: Fedora release 14 (Laughlin) time: 1289469955 uid: 500 backtrace ----- utils.py:40:is_model:TypeError: '_Yes' object is not iterable 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 488, in check self.check_astng_module(astng, walker, rawcheckers) File "/usr/lib/python2.7/site-packages/pylint/lint.py", line 563, in check_astng_module walker.walk(astng) File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 516, in walk self.walk(child) File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 513, in walk cb(astng) File "/usr/lib/python2.7/site-packages/DjangoLint/AstCheckers/model_methods.py", line 117, in visit_class if not is_model(node): File "/usr/lib/python2.7/site-packages/DjangoLint/AstCheckers/utils.py", line 40, in is_model for node in nodes: TypeError: '_Yes' object is not iterable Local variables in innermost frame: node: YES val: YES qual: 'YES.YES' base: <Name(BaseView) l.10 [molly_oxford.apps.results.views] at Ox9785bac> nodes: <itertools.chain object at 0x94cd76c> check_base_classes: True
Created attachment 459714 [details] File: backtrace
Chris, could you please submit/send me some more source (source to be checked?) Thanks
It's on this project: https://github.com/mollyproject/mollyproject/ Running it against the Django project in demos/molly_oxford/ causes the error
can reproduce the bug, exists in pylint, too. occurs in mollyproject/demos/molly_oxford/apps/results/views.py pylints bugtracker is down for the moment. Will report this later.
Sadly still no reaction from upstream. Trying again.
Upstream changed repository to github. Resending issue https://github.com/lamby/django-lint/issues/4
django-lint-0.13-10.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/django-lint-0.13-10.fc16
Package django-lint-0.13-10.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing django-lint-0.13-10.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-16517/django-lint-0.13-10.fc16 then log in and leave karma (feedback).
django-lint-0.13-10.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.