Re: error with minimal template

"John P. Rouillard" <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
Hi Tonu:

In message <CABDFm8g+yySJykbY=xEAMDfF-ncxWXs1UjdHPLt2idtq1ccBNQ@mail.gmail.com>
,
Tonu Mikk writes:
>I went ahead and removed references to the keyword in page.html.  I removed
>the lines where the "keyword" appeared and also removed the entire menu
>block for keywords.  After doing this I accessed the trackers web interface
>again and received this error.

Well at least it's a different error. Solution is the same remove
references to queries.

The only explanation I have is that at some point the classic
page.html must have replaced the minimal page.html.

If you want to continue as a learning exercise, keep trimming
references to classes out of page.html.  From what I see almost all of
page.html should be removed including search etc. as there isn't even
an issue class defined.  So the search bar that is there isn't even
valid since it's searching a non-existent class.

The only classes defined in the minimal template are the required user
class. It then populates that user class with the admin and anonymous
users.

>Running of the tracker based on the minimal template is not a high
>priority for me.  I am doing it for demonstration and learning
>purposes.  Thanks!
>
>Traceback (most recent call last):
> [...]
>  File "/usr/lib/python2.7/site-packages/roundup/cgi/PageTemplates/Expressions.py",
>line 323, in restrictedTraverse
>    o = object[name]
>  File "/usr/lib/python2.7/site-packages/roundup/cgi/templating.py", line
>808, in __getitem__
>    prop = self._props[items[0]]
>KeyError: 'queries'

Yeah, <grumble> I should have taken a better look at page.html and the
defined schema. Sorry I missed that.

Have a great day.
--
				-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.
_______________________________________________
Roundup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/roundup-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.