Hello,

entrip wrote:
> Can anyone help? I had no luck on the IRC channel this morning. I have
> successfully installed and switched on the example security policy but
> I get the following error:
>   

You gave the backtrace, but you didn't say what the actual error message 
was...

> Most recent call last:
> ...
> File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/
> ticket/report.py", line 366, in _render_view
>   if resource.realm.upper()+'_VIEW' not in req.perm(resource):
> ...
> File "/home/entrip/trac/entrip/plugins/vulnerability_tickets.py", line
> 45, in check_permission
>   (resource.id,)):
>   

The resource.id is coming from a report, so I suspect that in this case, 
it *may* be empty or non-numerical.

Can you add a 

print 'report resource.id', resource.id 

in trac/ticket/report.py, near that line 366?


-- Christian

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