Bug 699185
| Summary: | [abrt] anjuta-1:2.32.1.1-1.fc14: codeanalyze.py:62:get_line:IndexError: list index out of range | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | eduardovra | ||||
| Component: | anjuta | Assignee: | Cosimo Cecchi <ccecchi> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 14 | CC: | ccecchi, jhs, mclasen, rpandit | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | abrt_hash:d709b68b | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-04-24 16:49:27 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Created attachment 494481 [details]
File: backtrace
It is more or less expected that this python script throws exceptions. Those are catched in the upstream version (3.0) now so you shouldn't get an abrt message about it. |
abrt version: 1.1.17 architecture: x86_64 cmdline: /usr/bin/python /usr/lib64/anjuta/anjuta-python-autocomplete.py -o calltip -p /tmp/python-foobar -r /tmp/python-foobar/src/python_foobar.py -s /tmp/.JU3CUV -f 815 component: anjuta executable: /usr/lib64/anjuta/anjuta-python-autocomplete.py kernel: 2.6.35.12-88.fc14.x86_64 package: anjuta-1:2.32.1.1-1.fc14 reason: codeanalyze.py:62:get_line:IndexError: list index out of range release: Fedora release 14 (Laughlin) time: 1303609831 uid: 500 backtrace ----- codeanalyze.py:62:get_line:IndexError: list index out of range Traceback (most recent call last): File "/usr/lib64/anjuta/anjuta-python-autocomplete.py", line 66, in <module> proposals = codeassist.get_doc(proj, source_code, position, resource=res, maxfixes=10) File "/usr/lib/python2.7/site-packages/rope/contrib/codeassist.py", line 59, in get_doc pyname = fixer.pyname_at(offset) File "/usr/lib/python2.7/site-packages/rope/contrib/fixsyntax.py", line 66, in pyname_at return new_pyname() File "/usr/lib/python2.7/site-packages/rope/contrib/fixsyntax.py", line 61, in new_pyname return rope.base.evaluate.eval_location(pymodule, newoffset) File "/usr/lib/python2.7/site-packages/rope/base/evaluate.py", line 11, in eval_location return eval_location2(pymodule, offset)[1] File "/usr/lib/python2.7/site-packages/rope/base/evaluate.py", line 17, in eval_location2 return pyname_finder.get_primary_and_pyname_at(offset) File "/usr/lib/python2.7/site-packages/rope/base/evaluate.py", line 78, in get_primary_and_pyname_at holding_scope = self.module_scope.get_inner_scope_for_line(lineno) File "/usr/lib/python2.7/site-packages/rope/base/pyscopes.py", line 132, in get_inner_scope_for_line return self._scope_finder.get_holding_scope(self, lineno, indents) File "/usr/lib/python2.7/site-packages/rope/base/pyscopes.py", line 229, in get_holding_scope line_indents = self.get_indents(lineno) File "/usr/lib/python2.7/site-packages/rope/base/pyscopes.py", line 222, in get_indents self.lines.get_line(lineno)) File "/usr/lib/python2.7/site-packages/rope/base/codeanalyze.py", line 62, in get_line self.starts[lineno] - 1] IndexError: list index out of range Local variables in innermost frame: self: <rope.base.codeanalyze.SourceLinesAdapter object at 0x1020ed0> lineno: 29 How to reproduce ----- 1. i was writing some pygtk code on anjuta 2. 3.