On Mon, 2011-03-28 at 17:40 +0200, Martin Fiala wrote:
> Dne 28.3.2011 16:53, Roger Oberholtzer napsal(a):
> > On Mon, 2011-03-28 at 06:54 -0700, digri wrote:
> >> I'm experiencing very similar issue, when I enabled subtickets plugin
> >> I got the mentioned error, wysiwyg plugin stopped working.
> >>
> >> It looks like an error in subtickets plugin code, simple patch in
> >> subticket plugin works for me:
> >>
> >> --- tracsubtickets/web_ui.py (revision 2237)
> >> +++ tracsubtickets/web_ui.py (working copy)
> >> @@ -47,8 +47,9 @@
> >>
> >> # ITemplateProvider methods
> >> def get_htdocs_dirs(self):
> >> - from pkg_resources import resource_filename
> >> - return [('subtickets', resource_filename(__name__,
> >> 'htdocs'))]
> >> +# from pkg_resources import resource_filename
> >> +# return [('subtickets', resource_filename(__name__,
> >> 'htdocs'))]
> >> + return []
> > Great. I will try that. How about any slowdown? When I have the plugin
> > enabled, there is a very noticeable slowdown in all accesses (wiki as
> > well as tickets). Disable the plugin and all is ok again.
>
> I just deployed it, we need to test it more, but now I can't see any
> remarkable slowdown.
>
> I think the slowdown may be related to the bug.
After I changed the source as described above, the slowdown went away.
So this must be the cause. The question is why the source has the
statement in the first place.
--
Roger Oberholtzer
--
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.