Edgewall Software

Ticket #7857 (closed defect: invalid)

Opened 5 weeks ago

Last modified 5 weeks ago

NameError: global name 'sorted' is not defined

Reported by: mothik@… Owned by:
Priority: high Milestone:
Component: admin/web Version: 0.11.2.1
Severity: normal Keywords:
Cc: mothik@…

Description

How to Reproduce

While doing a GET operation on /admin/accounts/config, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'cat_id': u'accounts', 'panel_id': u'config', 'path_info': None}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4

System Information

Trac 0.11.2.1
Python 2.3.4 (#1, Jul 25 2008, 14:24:21)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-10)]
setuptools 0.6c9
SQLite 3.3.6
pysqlite 1.1.7
Genshi 0.5.1
Subversion 1.1.4 (r13838)
jQuery: 1.2.3

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/Trac-0.11.2.1-py2.3.egg/trac/web/main.py", line 432, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/Trac-0.11.2.1-py2.3.egg/trac/web/main.py", line 204, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.3/site-packages/Trac-0.11.2.1-py2.3.egg/trac/admin/web_ui.py", line 114, in process_request
    path_info)
  File "build/bdist.linux-i686/egg/acct_mgr/admin.py", line 114, in render_admin_panel
  File "build/bdist.linux-i686/egg/acct_mgr/admin.py", line 155, in _do_config
NameError: global name 'sorted' is not defined

Attachments

Change History

Changed 5 weeks ago by ebray

  • keywords I have add ed following line " from trac.util.compat import sorted " in web_ui.py removed
  • status changed from new to closed
  • resolution set to invalid

That part in the description that says "(please provide additional details here)" is where you should provide, well, additional details. Not in the keywords.

Also, this is an issue with the th:AccountManagerPlugin, so you should check over there for existing tickets for this issue.

Add/Change #7857 (NameError: global name 'sorted' is not defined)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from (none). Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.