On Wed, Nov 5, 2008 at 9:21 PM, Aaron Lee <[EMAIL PROTECTED]> wrote:
>
> Forgot to mention, I am using
>
> TracAccountManager 0.2.1dev-r4679 with Trac 0.11.1
>
> -Aaron
>
> On Wed, Nov 5, 2008 at 6:20 PM, Aaron Lee <[EMAIL PROTECTED]> wrote:
>> Hi all,
>>
>> Not sure if there's a separate mailing list for AccountManager plugin,
>> if so, please let me know and I will forward it to the correct mailing
>> list.
>>
>> I am getting the following error when I tried to add a new user under
>> the Admin
>>
>> Trac detected an internal error:
>> AttributeError: TracError instance has no attribute 'acctmgr'
>>
>> Python Traceback
>>
>> Most recent call last:
>> File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 423, in
>> _dispatch_request
>> File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 197, in
>> dispatch
>> File "/usr/lib/python2.4/site-packages/trac/admin/web_ui.py", line
>> 113, in process_request
>> File "build/bdist.linux-x86_64/egg/acct_mgr/admin.py", line 116, in
>> render_admin_panel
>> File "build/bdist.linux-x86_64/egg/acct_mgr/admin.py", line 187, in
>> _do_users
>>
>> System Information:
>>
>> User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
>> AppleWebKit/525.19 (KHTML, like Gecko) Chrome/0.3.154.9 Safari/525.19
>>
>> Trac:   0.11.1
>> Python: 2.4.3 (#1, May 24 2008, 13:57:05) [GCC 4.1.2 20070626 (Red Hat
>> 4.1.2-14)]
>> setuptools:     0.6c9
>> SQLite: 3.3.6
>> pysqlite:       1.1.7
>> Genshi: 0.5.1
>> Pygments:       0.11.1
>> Subversion:     1.5.4 (r33841)
>> jQuery: 1.2.6
>>
>> Any ideas?
>> -Aaron

Odd...  It looks like AccountManagerPlugin's insistence that any
exception thrown by _create_user() have an "acctmgr" attribute is
masking the real error (which probably came from your password store's
set_password() method.  What password store are you using?

Either way, I would report this as a defect in AccountManagerPlugin.
If it's going to insist that any exception thrown by _create_user()
have an "acctmgr" attribute, it better make damn sure to add that
attribute to any exception it throws.  That, or be more flexible about
whether or not the "acctmgr" attribute exists.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to