Opened 7 years ago

Closed 3 years ago

#2516 closed defect (wontfix)

Can't view load usermanager admin page - profile fields

Reported by: ijones Owned by: cbalan
Priority: normal Component: UserManagerPlugin
Severity: normal Keywords: compatibility python2.3
Cc: Trac Release: 0.11


How to Reproduce

While doing a GET operation on /admin/general/um_profile_fields, Trac issued an internal error.

I installed the plugin via easyinstall and enabled via webadmin all then I clicked on admin page for profile fields. I tried a trac-admin upgrade to the env but it didn't seem to make a difference.

Request parameters:

{'cat_id': u'general', 'panel_id': u'um_profile_fields', 'path_info': None}

System Information

Trac 0.11b1
Python 2.3.5 (#2, Oct 16 2006, 19:19:48)
[GCC 3.3.5 (Debian 1:3.3.5-13)]
setuptools 0.6c7
MySQL server: "5.0.24a-standard-log", client: "5.0.16", thread-safe: 1
MySQLdb 1.2.2
Genshi 0.4.4
Pygments 0.8.1
Subversion 1.4.2 (r22196)

Python Traceback

Traceback (most recent call last):
  File "/home/.skeets/myuser/packages/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/trac/web/", line 398, in _dispatch_request
  File "/home/.skeets/myuser/packages/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/trac/web/", line 195, in dispatch
    resp = chosen_handler.process_request(req)
  File "/home/.skeets/myuser/packages/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/trac/admin/", line 108, in process_request
  File "build/bdist.linux-i686/egg/tracusermanager/profile/", line 113, in render_admin_panel
NameError: global name 'sorted' is not defined

Attachments (1)

python2.3_compatibility.patch (390 bytes) - added by ijones 7 years ago.
patch for python 2.3 compatibility

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by ijones

patch for python 2.3 compatibility

comment:1 Changed 7 years ago by cbalan

Thank you for your feedback.

I'm sorry but I'm using python 2.4.4, so ...

Maybe, in the near feature, if I'll have time I'll make this work with 2.3.5, but right now I'm full. I'll let you know when this happens.

Best regards, Catalin Balan

comment:2 Changed 3 years ago by hasienda

  • Keywords compatibility python2.3 added
  • Resolution set to wontfix
  • Status changed from new to closed

I'm very sorry for the long time this ticket went without further action.

OTOH, Debian has evolved too and current-stable codenamed Squeeze no longer supports Python 2.3 but 2.5, 2.6 (default) and even 3.0 for a couple of months. Even Redhat is at 2.4 and Trac even dropped Python 2.4 support in 0.13dev months ago.

This request is no longer reasonable. You'll have to upgrade your OS to fix even more serious issues than this one, so do it, please.

Add Comment

Modify Ticket

as closed The owner will remain cbalan.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.