Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#8970 closed defect (cantfix)

AttributeError: 'TracError' object has no attribute 'acctmgr'

Reported by: peter@… Owned by:
Priority: low Milestone:
Component: admin/web Version: 0.11.5
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

try to a add a new user with numbers in login name

How to Reproduce

While doing a POST operation on /admin/accounts/users, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'cf3d80a99e59eb463e5963da',
 'add': u' Add ',
 'cat_id': u'accounts',
 'email': u'',
 'name': u'Peter',
 'panel_id': u'users',
 'password': u'pl00epp',
 'password_confirm': u'pl00epp',
 'path_info': None,
 'user': u'pl00epp'}

User Agent was: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

System Information

Trac 0.11.5
Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]
setuptools 0.6c9
SQLite 3.3.4
pysqlite 2.3.2
Genshi 0.5.1
Agilo 1.2.0-pro
Subversion 1.5.6 (r36142)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "C:\Program Files (x86)\Agilo\lib\site-packages\trac-0.11.5-py2.5.egg\trac\web\main.py", line 444, in _dispatch_request
    dispatcher.dispatch(req)
  File "C:\Program Files (x86)\Agilo\lib\site-packages\trac-0.11.5-py2.5.egg\trac\web\main.py", line 205, in dispatch
    resp = chosen_handler.process_request(req)
  File "C:\Program Files (x86)\Agilo\lib\site-packages\trac-0.11.5-py2.5.egg\trac\admin\web_ui.py", line 114, in process_request
    path_info)
  File "build\bdist.win32\egg\acct_mgr\admin.py", line 117, in render_admin_panel
    return self._do_users(req)
  File "build\bdist.win32\egg\acct_mgr\admin.py", line 188, in _do_users
    data['acctmgr'] = e.acctmgr
AttributeError: 'TracError' object has no attribute 'acctmgr'

Attachments (0)

Change History (2)

comment:1 by Remy Blank, 15 years ago

Resolution: cantfix
Status: newclosed

comment:2 by Felix Schwarz <felix.schwarz@…>, 15 years ago

To be more exact this is th:ticket:4040 - actually already provided a patch in that ticket. Unfortunately it's only fixed for 0.12. Basically the release process for AccountManager is totally screwed up IMHO.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.