List Info

Thread: Problem with TagsPlugin and 0.11 beta release




Problem with TagsPlugin and 0.11 beta release
user name
2007-12-19 17:05:49

I have installed from the TagsPlugin trunk (0.5) into a
working 0.11
beta release Trac, and it looks like there's a basic
problem.
Accessing the root page of my Trac wiki gives:

No handler matched request to /wiki

I see the Tags link in the upper right as I should, but
clicking that
link give:

TemplateNotFound: Template "tags.html" not found

and the trace

Most recent call last:
 File
"/usr/lib/python2.5/site-packages/Trac-0.11dev_r6363-py
2.5.egg/
trac/web/main.py", line 398, in _dispatch_request
  dispatcher.dispatch(req)
File
"/usr/lib/python2.5/site-packages/Trac-0.11dev_r6363-py
2.5.egg/
trac/web/main.py", line 217, in dispatch
  data, content_type)
File
"/usr/lib/python2.5/site-packages/Trac-0.11dev_r6363-py
2.5.egg/
trac/web/chrome.py", line 651, in render_template
  template = self.load_template(filename, method=method)
File
"/usr/lib/python2.5/site-packages/Trac-0.11dev_r6363-py
2.5.egg/
trac/web/chrome.py", line 635, in load_template
  return self.templates.load(filename, cls=cls)
File
"/usr/lib/python2.5/site-packages/Genshi-0.5dev_r786-py
2.5-linux-
i686.egg/genshi/template/loader.py", line 227, in load
  raise TemplateNotFound(filename, search_path)


Changing my trac.ini back to using the wiki default handler
restores
normal operation.

By the way, kudos to the Trac team and the plugin team for
making that
last part true. Maybe you guys have an unspoken motto
"First, do no
harm"?

Since I am such a novice with Trac and python, I suspect I
did
something wrong or am missing something simple. Can anyone
point me in
the right direction?

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


Re: Problem with TagsPlugin and 0.11 beta release
user name
2007-12-19 17:25:27

On Dec 20, 12:05 am, dparker <dennis.par...gmail.com> wrote:
> I have installed from the TagsPlugin trunk (0.5) into a
working 0.11
> beta release Trac, and it looks like there's a basic
problem.
> Accessing the root page of my Trac wiki gives:
>
> No handler matched request to /wiki
>
> I see the Tags link in the upper right as I should, but
clicking that
> link give:
>
> TemplateNotFound: Template "tags.html" not
found
>

The Tags plugin no longer replaces the wiki module (as of
0.5/0.11
version) - it uses new Trac/Genshi stream filter to inject
markup on
wiki pages as needed. Wiki module should no longer be
disabled - as
you found out yourself. Basically just set to enabled in
[components],
and it should work.

Note that there were some updates on the plugin today, so
make sure
you get the most recent version. That should work fine - at
least did
for me and Alec today when we finished work on it.


:::simon


https://www.coderesort.com


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


Re: Problem with TagsPlugin and 0.11 beta release
user name
2007-12-19 18:06:31
Great, thanks for the help Simon. That fixed the general
wiki issues,
and I can now create tags on page edit and set tags on page
display. I
can do [[ListTags]] in a page.  Excellent!

That means I can do a lot of the cool stuff that Tags
enable.

I still get the tags.html template not found error, though.
It looks
like anything that hits the tags url handler gets the same
error. I
had previously tried to run 0.4 against this 0.11 Trac,
could that be
part of the problem?

Thanks



On Dec 19, 5:25 pm, osimons <oddsim...gmail.com> wrote:
> On Dec 20, 12:05 am, dparker <dennis.par...gmail.com> wrote:
>
> > I have installed from the TagsPlugin trunk (0.5)
into a working 0.11
> > beta release Trac, and it looks like there's a
basic problem.
> > Accessing the root page of my Trac wiki gives:
>
> > No handler matched request to /wiki
>
> > I see the Tags link in the upper right as I
should, but clicking that
> > link give:
>
> > TemplateNotFound: Template "tags.html"
not found
>
> The Tags plugin no longer replaces the wiki module (as
of 0.5/0.11
> version) - it uses new Trac/Genshi stream filter to
inject markup on
> wiki pages as needed. Wiki module should no longer be
disabled - as
> you found out yourself. Basically just set to enabled
in [components],
> and it should work.
>
> Note that there were some updates on the plugin today,
so make sure
> you get the most recent version. That should work fine
- at least did
> for me and Alec today when we finished work on it.
>
> :::simon
>
> https://www.coderesort.com

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


Re: Problem with TagsPlugin and 0.11 beta release
user name
2007-12-19 18:15:15
Hi,

Try now. Forgot to update setup.py to bundle the .html
template.

Alec

On 20/12/2007, dparker <dennis.parkergmail.com> wrote:
>
> Great, thanks for the help Simon. That fixed the
general wiki issues,
> and I can now create tags on page edit and set tags on
page display. I
> can do [[ListTags]] in a page.  Excellent!
>
> That means I can do a lot of the cool stuff that Tags
enable.
>
> I still get the tags.html template not found error,
though. It looks
> like anything that hits the tags url handler gets the
same error. I
> had previously tried to run 0.4 against this 0.11 Trac,
could that be
> part of the problem?
>
> Thanks
>
>
>
> On Dec 19, 5:25 pm, osimons <oddsim...gmail.com> wrote:
> > On Dec 20, 12:05 am, dparker <dennis.par...gmail.com> wrote:
> >
> > > I have installed from the TagsPlugin trunk
(0.5) into a working 0.11
> > > beta release Trac, and it looks like there's
a basic problem.
> > > Accessing the root page of my Trac wiki
gives:
> >
> > > No handler matched request to /wiki
> >
> > > I see the Tags link in the upper right as I
should, but clicking that
> > > link give:
> >
> > > TemplateNotFound: Template
"tags.html" not found
> >
> > The Tags plugin no longer replaces the wiki module
(as of 0.5/0.11
> > version) - it uses new Trac/Genshi stream filter
to inject markup on
> > wiki pages as needed. Wiki module should no longer
be disabled - as
> > you found out yourself. Basically just set to
enabled in [components],
> > and it should work.
> >
> > Note that there were some updates on the plugin
today, so make sure
> > you get the most recent version. That should work
fine - at least did
> > for me and Alec today when we finished work on
it.
> >
> > :::simon
> >
> > https://www.coderesort.com

> >
>


-- 
Evolution: Taking care of those too stupid to take care of
themselves.

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


Re: Problem with TagsPlugin and 0.11 beta release
user name
2007-12-19 18:45:13
Works! Outstanding. Thanks Alec, Simon

Dennis


On Dec 19, 6:15 pm, "Alec Thomas" <a...swapoff.org> wrote:
> Hi,
>
> Try now. Forgot to update setup.py to bundle the .html
template.
>
> Alec
>
> On 20/12/2007, dparker <dennis.par...gmail.com> wrote:
>
>
>
>
>
> > Great, thanks for the help Simon. That fixed the
general wiki issues,
> > and I can now create tags on page edit and set
tags on page display. I
> > can do [[ListTags]] in a page.  Excellent!
>
> > That means I can do a lot of the cool stuff that
Tags enable.
>
> > I still get the tags.html template not found
error, though. It looks
> > like anything that hits the tags url handler gets
the same error. I
> > had previously tried to run 0.4 against this 0.11
Trac, could that be
> > part of the problem?
>
> > Thanks
>
> > On Dec 19, 5:25 pm, osimons <oddsim...gmail.com> wrote:
> > > On Dec 20, 12:05 am, dparker
<dennis.par...gmail.com> wrote:
>
> > > > I have installed from the TagsPlugin
trunk (0.5) into a working 0.11
> > > > beta release Trac, and it looks like
there's a basic problem.
> > > > Accessing the root page of my Trac wiki
gives:
>
> > > > No handler matched request to /wiki
>
> > > > I see the Tags link in the upper right
as I should, but clicking that
> > > > link give:
>
> > > > TemplateNotFound: Template
"tags.html" not found
>
> > > The Tags plugin no longer replaces the wiki
module (as of 0.5/0.11
> > > version) - it uses new Trac/Genshi stream
filter to inject markup on
> > > wiki pages as needed. Wiki module should no
longer be disabled - as
> > > you found out yourself. Basically just set to
enabled in [components],
> > > and it should work.
>
> > > Note that there were some updates on the
plugin today, so make sure
> > > you get the most recent version. That should
work fine - at least did
> > > for me and Alec today when we finished work
on it.
>
> > > :::simon
>
> > >https://www.coderesort.com

>
> --
> Evolution: Taking care of those too stupid to take care
of themselves.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Trac Users" group.
To post to this group, send email to trac-usersgooglegroups.com
To unsubscribe from this group, send email to
trac-users-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )