> -----Original Message----- > From: [email protected] On Behalf Of Amol > Sent: 28 February 2012 20:20 > Subject: [Trac] Trac detected an internal error: > AttributeError: 'AccountChangeNotification' object has no > attribute 'smtp_server' > > I have installed the trace 0.11 and > TracAccountManager 0.2.1dev-r7165 > > so i have noticed 2 things and need to resolve them; > > 1) When the user registers he can directly see all the tickets that i > have created, this is still happening even after i removed the > anonymous permission role
Once they have registered they are no longer `anonymous` but `authenticated`... > any idea how to disable any user from seeing my tickets (the short > route is to acct_mgr.web_ui.registrationmodule = disable) but i needed > to use registration for users > > 2) so when i added my email id in the notification tab and check the > boxes to send email on user add, update, delete > then i get this error > > trac detected an internal error: > AttributeError: 'AccountChangeNotification' object has no attribute > 'smtp_server' You need to configure trac for sending emails, what have you got in the [notification] section of your trac ini? http://trac.edgewall.org/wiki/TracIni#notification-section ~ mark c > Python Traceback > > Most recent call last: > File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 495, in > _dispatch_request > File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 227, in > dispatch > File "build/bdist.linux-x86_64/egg/trac/admin/web_ui.py", line 115, in > process_request > File "build/bdist.linux-x86_64/egg/acct_mgr/admin.py", line 117, in > render_admin_panel > File "build/bdist.linux-x86_64/egg/acct_mgr/admin.py", line 197, in > _do_users > File "build/bdist.linux-x86_64/egg/acct_mgr/api.py", line 162, in > delete_user > File "build/bdist.linux-x86_64/egg/acct_mgr/api.py", line 238, in > _notify > File "build/bdist.linux-x86_64/egg/acct_mgr/notification.py", line 51, > in user_deleted > File "build/bdist.linux-x86_64/egg/acct_mgr/notification.py", line 79, > in notify > File "build/bdist.linux-x86_64/egg/trac/notification.py", line 322, in > notify > File "build/bdist.linux-x86_64/egg/trac/notification.py", line 226, in > notify > File "build/bdist.linux-x86_64/egg/acct_mgr/notification.py", line > 149, in send > > System Information: > > User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) > AppleWebKit/ > 534.53.11 (KHTML, like Gecko) Version/5.1.3 Safari/534.53.10 > > Trac 0.12dev-r9166 > Python 2.5.2 (r252:60911, Jan 20 2010, 23:53:53) [GCC 4.3.2] > setuptools 0.6c9 > pytz 2008b > SQLite 3.5.9 > pysqlite 2.4.1 > Genshi 0.6dev-r1073 > Babel - > mod_python 3.3.1 > Pygments 0.10 > Subversion 1.5.1 (r32289) > jQuery 1.3.2 > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. 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.
