Chameleon (1.2.10) crashes with "bad" templates

Bug #622337 reported by clach04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Chameleon (inactive)
Invalid
Undecided
Unassigned

Bug Description

If an invalid template is used, e.g. tal:attribute BUT the value specification is missing an expression

<img tal:attributes="src "/>

get exception:

IndexError: tuple index out of range

Setting CHAMELEON_DEBUG=true in shell environment has no impact.

See attached test case (test case also has example of paths not working (which I think is a bug too but I'm not 100%)

Revision history for this message
clach04 (clach04) wrote :
Revision history for this message
JW (jw-00000) wrote :

Could it be that you reported this bug to the wrong project?

This is the bug tracker for the Chameleon blogging engine, located at http://chameleon.wikidot.com/, which is not under active development anymore at this time.

Revision history for this message
clach04 (clach04) wrote :

It could be :-(

I've been trying out http://chameleon.repoze.org/docs/latest/ and it links to this url https://bugs.launchpad.net/chameleon I've noticed a few problems so I thought I'd try and report 1 to see how that went. I don't have any other contact information other than the mailing list. I may not pursue this any further. You may end up getting other people here though so if you can find contact information for them maybe they could correct their web page.

Sorry to have wasted your time

Revision history for this message
JW (jw-00000) wrote :

I sent them a mail on their mailing list to notify about the mistake. It seems the correct URL to their bug tracker is https://bugs.launchpad.net/chameleon-template-engine. Feel free to report the bug again there if you feel like it, I'm closing this bug now.

Changed in chameleon:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.