Bug 886309 - [abrt] ninja-ide-2.0_beta-1: introspection.py:57:obtain_symbols:AttributeError: 'Subscript' object has no attribute 'id'
Summary: [abrt] ninja-ide-2.0_beta-1: introspection.py:57:obtain_symbols:AttributeErro...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: ninja-ide
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nikos Roussos
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:159a4232239120f6a8d3014be58...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-12 01:34 UTC by Alejandro
Modified: 2012-12-22 19:49 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-22 19:49:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: executable (27 bytes, text/plain)
2012-12-12 01:34 UTC, Alejandro
no flags Details
File: event_log (91 bytes, text/plain)
2012-12-12 01:35 UTC, Alejandro
no flags Details
File: smolt_data (2.81 KB, text/plain)
2012-12-12 01:35 UTC, Alejandro
no flags Details

Description Alejandro 2012-12-12 01:34:55 UTC
Version-Release number of selected component:
ninja-ide-2.0_beta-1

Additional info:
libreport version: 2.0.18
abrt_version:   2.0.7
cmdline:        python /opt/ninja-ide/ninja-ide.py
kernel:         3.1.7-1.fc16.x86_64

backtrace:
:introspection.py:57:obtain_symbols:AttributeError: 'Subscript' object has no attribute 'id'
:
:Traceback (most recent call last):
:  File "/opt/ninja-ide/ninja_ide/gui/actions.py", line 568, in update_explorer
:    symbols = symbols_handler.obtain_symbols(source)
:  File "/opt/ninja-ide/ninja_ide/gui/explorer/tree_symbols_widget.py", line 50, in obtain_symbols
:    return introspection.obtain_symbols(source)
:  File "/opt/ninja-ide/ninja_ide/tools/introspection.py", line 57, in obtain_symbols
:    globalAttributes[sym1.targets[0].id] = sym1.lineno
:AttributeError: 'Subscript' object has no attribute 'id'
:
:Local variables in innermost frame:
:globalFunctions: {}
:module: <_ast.Module object at 0x1ea2950>
:symbols: {}
:source: u'# -*- coding: utf-8 -*-\nimport os\nfrom google.appengine.dist import use_library\nos.environ[\'DJANGO_SETTINGS_MODULE\'] = \'settings\'\nuse_library(\'django\', \'1.2\')\n\nfrom google.appengine.ext import webapp\nfrom google.appengine.ext.webapp.util import run_wsgi_app\n\n# Load request handlers\nimport handlers\n\n# Map url\'s to handlers\nurls = [\n    (r\'/\', handlers.Main),\n    (r\'/login\', handlers.LogIn),\n    (r\'/_ah/login_required\', handlers.LogIn),\n    (r\'/logout\', handlers.LogOut),\n    (r\'/account\', handlers.Account),\n    (r\'/account/setup\', handlers.AccountSetup),\n]\n\napplication = webapp.WSGIApplication(urls, debug=True)\n\n\ndef main():\n    run_wsgi_app(application)\n\nif __name__ == "__main__":\n    main()\n'
:sym1: <_ast.Assign object at 0x1ea2a90>
:classes: {}
:globalAttributes: {}
:compilable: True

Comment 1 Alejandro 2012-12-12 01:34:59 UTC
Created attachment 661866 [details]
File: executable

Comment 2 Alejandro 2012-12-12 01:35:03 UTC
Created attachment 661867 [details]
File: event_log

Comment 3 Alejandro 2012-12-12 01:35:09 UTC
Created attachment 661868 [details]
File: smolt_data

Comment 4 Nikos Roussos 2012-12-22 19:49:28 UTC
Please update to 2.1.1

The version you're using was never part of Fedora repos.


Note You need to log in before you can comment on or make changes to this bug.