karl twill test failure under Python 2.6

Bug #534599 reported by Tres Seaver
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Low
Tres Seaver

Bug Description

When running inside a trunk checkout of karlsample built using Python 2.6, there is one test failure which does not occur under Python 2.5:

 $ pwd
 /home/tseaver/projects/agendaless/OSI/karlsample/src/karl
 $ ../../bin/python -V
 Python 2.6.4
 $ ./test_all
 ...
 Oops! Twill assertion error on line 15 of '/home/tseaver/projects/agendaless/OSI/karlsample/src/karl/karl/twilltests/files/files_aved.twill' while executing

   >> find ${test_file}

 no match to 'test_file782970'

Tags: python2.6
Changed in karl3:
importance: Undecided → Low
Tres Seaver (tseaver)
Changed in karl3:
status: New → Confirmed
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Tres, you want this one? Alternatively, you could close it (you were the original reporter.)

Changed in karl3:
assignee: nobody → Tres Seaver (tseaver)
Changed in karl3:
milestone: none → m42
Revision history for this message
Tres Seaver (tseaver) wrote :

The test actually shows that the reference manual views are all broken
under Python 2.6 due to a bug in Chameleon 1.1.1: the new 'next' builtin
in Python shadows the value passed from the view.

Workaround committed in r5447, renaming the passed variables 'previous_entry' and 'next_entry',
and updating the snippets macro accordingly.

Changed in karl3:
status: Confirmed → Fix Committed
Revision history for this message
JimPGlenn (jpglenn09) wrote :

fixed

Changed in karl3:
status: Fix Committed → Fix Released
Changed in karl3:
milestone: m42 → m41
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.