Modify ↓
Opened 12 years ago
Closed 12 years ago
#10214 closed defect (fixed)
UnboundLocalError: local variable 'data' referenced before assignment
Reported by: | Owned by: | falkb | |
---|---|---|---|
Priority: | normal | Component: | SimpleMultiProjectPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.0 |
Description
How to Reproduce
While doing a POST operation on /admin/projects/simplemultiproject
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'__FORM_TOKEN': u'04abb9fdb2fff040b937b841', 'add': u'Add', 'cat_id': u'projects', 'description': u'', 'name': u'ISO', 'panel_id': u'simplemultiproject', 'path_info': None, 'summary': u'ISO Re certification'}
User agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
System Information
Trac | 1.0dev
|
Trac | 1.0dev
|
Babel | 0.9.6
|
Docutils | 0.6
|
Genshi | 0.6 (without speedups)
|
mod_wsgi | 3.2 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
|
MySQL | server: "5.1.61", client: "5.1.61", thread-safe: 0
|
MySQLdb | 1.2.3c1
|
Pygments | 1.1.1
|
Python | 2.6.6 (r266:84292, Jun 18 2012, 14:10:23) [GCC 4.4.6 20110731 (Red Hat 4.4.6-3)]
|
Python | 2.6.6 (r266:84292, Jun 18 2012, 14:10:23) [GCC 4.4.6 20110731 (Red Hat 4.4.6-3)]
|
pytz | 2010h
|
pytz | 2010h
|
setuptools | 0.6
|
setuptools | 0.6
|
jQuery | 1.7.2
|
Enabled Plugins
CKIntegration | 1.1dev
|
ComponentsListMacro | Rev
|
docrender | 0.2
|
graphviz | 0.7.6dev
|
OverlayView | 0.12.0.3
|
SimpleMultiProject | 0.0.3dev
|
TracAccountManager | 0.3.2
|
TracAnnouncer | 0.12.1dev
|
TracDownloads | 0.3
|
TracDragDrop | 0.12.0.10-r11842
|
TracPaste | 0.2.2
|
TracVote | 0.1.3
|
TracWatchlistPlugin | 1.0
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/Trac-1.0dev-py2.6.egg/trac/web/main.py", line 490, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.6/site-packages/Trac-1.0dev-py2.6.egg/trac/web/main.py", line 205, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.6/site-packages/Trac-1.0dev-py2.6.egg/trac/admin/web_ui.py", line 125, in process_request path_info) File "build/bdist.linux-i686/egg/simplemultiproject/admin.py", line 121, in render_admin_panel return 'simplemultiproject_adminpanel.html', data UnboundLocalError: local variable 'data' referenced before assignment
Attachments (0)
Change History (4)
comment:1 Changed 12 years ago by
Owner: | changed from Christopher Paredes to falkb |
---|---|
Status: | new → assigned |
comment:2 Changed 12 years ago by
comment:3 Changed 12 years ago by
Is it fixed now for you or has the error just been gone to another place?
Note: See
TracTickets for help on using
tickets.
(In [12007]) Refs #10214: This should prevent the reported error "'data' referenced before assignment" which happened in
render_admin_panel()
.