Hi,

recently I am getting a "Permission denied" error when Trac tries to
send a notification e-mail when a ticket is modified.
I have enabled Traceback in the exception handler in web_ui.py:

2010-05-04 14:20:21,843 Trac[web_ui] ERROR: Failure sending
notification on change to ticket #2336:
Traceback (most recent call last):
  File "/Library/Python/2.6/site-packages/Trac-0.11.7-py2.6.egg/trac/
ticket/web_ui.py", line 1037, in _do_save
    tn.notify(ticket, newticket=False, modtime=now)
  File "/Library/Python/2.6/site-packages/Trac-0.11.7-py2.6.egg/trac/
ticket/notification.py", line 142, in notify
    subject = self.format_subj(summary)
  File "/Library/Python/2.6/site-packages/Trac-0.11.7-py2.6.egg/trac/
ticket/notification.py", line 219, in format_subj
    template = TextTemplate(template.encode('utf8'))
  File "build/bdist.macosx-10.6-universal/egg/genshi/template/
base.py", line 398, in __init__
    self._init_loader()
  File "build/bdist.macosx-10.6-universal/egg/genshi/template/
base.py", line 437, in _init_loader
    self.loader = TemplateLoader([os.path.abspath(basedir)])
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/posixpath.py", line 337, in abspath
    path = join(os.getcwd(), path)
OSError: (13, 'Permission denied')

Obviously Genshi gets a file system permission error upon accessing a
file. How do I find out which file is causing the permission error?

Thanks,
Sascha

-- 
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.

Reply via email to