Opened 4 years ago

Closed 4 years ago

#7063 closed defect (duplicate)

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

Reported by: jason Owned by: pacopablo
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12


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'abd5935af18ce5be3c3f47ac',
 'add': u' Add ',
 'cat_id': u'accounts',
 'email': u'',
 'name': u'Shaun',
 'panel_id': u'users',
 'password': u'123',
 'password_confirm': u'123',
 'path_info': None,
 'user': u'shaun'}

User Agent was: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3

System Information

Trac 0.12dev-r9592
Genshi 0.6
psycopg2 2.0.13
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3]
setuptools 0.6
Subversion 1.6.6 (r40053)
jQuery 1.4.2

Enabled Plugins

TracAccountManager 0.2.1dev-r7737
TracSpamFilter 0.2.1dev-r9467

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12dev_r9592-py2.6.egg/trac/web/", line 512, in _dispatch_request
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12dev_r9592-py2.6.egg/trac/web/", line 233, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12dev_r9592-py2.6.egg/trac/admin/", line 115, in process_request
  File "build/bdist.linux-x86_64/egg/acct_mgr/", line 117, in render_admin_panel
    return self._do_users(req)
  File "build/bdist.linux-x86_64/egg/acct_mgr/", line 191, in _do_users
    data['acctmgr'] = e.acctmgr
AttributeError: 'TracError' object has no attribute 'acctmgr'

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by hasienda

  • Component changed from SELECT A HACK to AccountManagerPlugin
  • Owner set to pacopablo
  • Trac Release changed from 0.11 to 0.12

As this seems related to AccountManagerPlugin let's put it there, and change the release (0.12dev mentioned in the report) as well.

comment:2 Changed 4 years ago by hasienda

#7147 is related and has a patch, but only for the particular case mentioned there.

However here we might have a different situation and need to investigate other possible cases, where 'acctmgr' might not be set properly or make sure to apply a sufficiently general fix.

comment:3 Changed 4 years ago by hasienda

  • Resolution set to duplicate
  • Status changed from new to closed

Apparently I was right with my feeling about possibly a couple of other circumstances, where this needs to be fixed. I just found #4040.

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from pacopablo. Next status will be 'closed'.
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.