Opened 5 years ago

Last modified 12 months ago

#11082 new defect

TypeError: __call__() got an unexpected keyword argument 'username'

Reported by: Ryan J Ollos Owned by:
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: Trac Release:


Following on from #11081, this time I enabled the following set of components before starting the configuration wizard,

acct_mgr.admin.accountmanageradminpanel = enabled
acct_mgr.api.accountmanager = enabled
acct_mgr.db.sessionstore = enabled
acct_mgr.pwhash.htdigesthashmethod = enabled

I stepped through all of the pages, accepting the defaults on each page (figured they would be sane enough), until I got to step 6. I created the admin account in step 6, pressed Add and received the following error:

How to Reproduce

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

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'6d4d48bcf3537892b4a7e899',
 'active': u'5',
 'add': u' Add ',
 'cat_id': u'accounts',
 'panel_id': u'config',
 'password': u'abcd',
 'password_confirm': u'abcd',
 'path_info': None,
 'username': u'admin'}

User Agent was: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.22 (KHTML, like Gecko) Ubuntu Chromium/25.0.1364.160 Chrome/25.0.1364.160 Safari/537.22

System Information

Trac 0.11
Python 2.7.3 (default, Aug 1 2012, 05:16:07)
[GCC 4.6.3]
setuptools 0.6
SQLite 3.7.9
pysqlite 2.6.0
Genshi 0.6
jQuery: 1.2.3

Python Traceback

Traceback (most recent call last):
  File "/home/user/Workspace/th11081/trac-0.11/trac/web/", line 423, in _dispatch_request
  File "/home/user/Workspace/th11081/trac-0.11/trac/web/", line 197, in dispatch
    resp = chosen_handler.process_request(req)
  File "/home/user/Workspace/th11081/trac-0.11/trac/admin/", line 109, in process_request
  File "/home/user/Workspace/trachacks.git/accountmanagerplugin/trunk/acct_mgr/", line 226, in render_admin_panel
    return self._do_config(req)
  File "/home/user/Workspace/trachacks.git/accountmanagerplugin/trunk/acct_mgr/", line 480, in _do_config
    account = self._do_add(req)
  File "/home/user/Workspace/trachacks.git/accountmanagerplugin/trunk/acct_mgr/", line 1214, in _do_add
TypeError: __call__() got an unexpected keyword argument 'username'

Attachments (0)

Change History (1)

comment:1 Changed 12 months ago by Ryan J Ollos

Owner: Steffen Hoffmann deleted

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.

Add Comment

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

Note: See TracTickets for help on using tickets.