Opened 8 years ago

Closed 8 years ago

#7254 closed defect (duplicate)

AttributeError: 'TracError' object has no attribute 'acctmgr' - when creating new user in web admin UI

Reported by: mcpbalaji@… Owned by: Matt Good
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords: unicode change notify
Cc: Ryan J Ollos Trac Release: 0.11


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'83c0a3343386eedf9340e618',

'add': u' Add ', 'cat_id': u'accounts', 'email': u'balajiv@…', 'name': u'BalajiV', 'panel_id': u'users', 'password': u'xerago123', 'password_confirm': u'xerago123', 'path_info': None, 'user': u'admin2'}

User Agent was: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/2008121911 CentOS/3.0.5-1.el5.centos Firefox/3.0.5 System Information ¶ Trac 0.11 Python 2.5.2 (r252:60911, Jul 22 2009, 15:52:25) [GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)] setuptools 0.6c11 SQLite 3.4.2 pysqlite 2.3.2 Genshi 0.6 mod_python 3.3.1 Subversion 1.4.6 (r28521) jQuery: 1.2.3 Python Traceback ¶

Traceback (most recent call last):

File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/", line 423, in _dispatch_request


File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/", line 197, in dispatch

resp = chosen_handler.process_request(req)

File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/admin/", line 109, in process_request


File "build/bdist.linux-i686/egg/acct_mgr/", line 117, in render_admin_panel

return self._do_users(req)

File "build/bdist.linux-i686/egg/acct_mgr/", line 191, in _do_users

dataacctmgr? = e.acctmgr

AttributeError: 'TracError' object has no attribute 'acctmgr

Please help me...

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by qiuguo0205@…

I reproduce the problem when I use Trac too. And I found it is because some Chinese characters are added in the project's description in the Admin page. If I delete the Chinese characters, the problem is solved.

The exact position that Chinese characters are added is "管理—>一般—>基础设置—>描述"; I guess in English it is in "Admin—>General—>Basic—>Description".

Hope this could help to trace your problem.

comment:2 Changed 8 years ago by Steffen Hoffmann

Cc: Ryan J Ollos added; anonymous removed
Keywords: unicode change notify added
Resolution: duplicate
Status: newclosed
Summary: while creatind the users in web ui getting error.AttributeError: 'TracError' object has no attribute 'acctmgr' - when creating new user in web admin UI

Thank you for the elaborated error description. It holds some unique information, that could lead us towards a solution.

Anyway looks like another variant of #4040, so I'll better close this one as well as #7063 and #7147 before, just reference it and add you to Cc-list over there.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Matt Good.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.