Modify

Opened 17 years ago

Closed 13 years ago

#2516 closed defect (wontfix)

Can't view load usermanager admin page - profile fields

Reported by: Ian Jones Owned by: Catalin BALAN
Priority: normal Component: UserManagerPlugin
Severity: normal Keywords: compatibility python2.3
Cc: Trac Release: 0.11

Description

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/main.py", line 398, in _dispatch_request
    dispatcher.dispatch(req)
  File "/home/.skeets/myuser/packages/lib/python2.3/site-packages/Trac-0.11b1-py2.3.egg/trac/web/main.py", 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/web_ui.py", line 108, in process_request
    path_info)
  File "build/bdist.linux-i686/egg/tracusermanager/profile/admin.py", line 113, in render_admin_panel
NameError: global name 'sorted' is not defined

Attachments (1)

python2.3_compatibility.patch (390 bytes) - added by Ian Jones 17 years ago.
patch for python 2.3 compatibility

Download all attachments as: .zip

Change History (3)

Changed 17 years ago by Ian Jones

patch for python 2.3 compatibility

comment:1 Changed 17 years ago by Catalin BALAN

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 13 years ago by Steffen Hoffmann

Keywords: compatibility python2.3 added
Resolution: wontfix
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Catalin BALAN.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.