[qmtest] Problem loading expectation

Nathaniel Smith njs at pobox.com
Tue Jul 15 00:12:00 UTC 2003


On Mon, Jul 14, 2003 at 12:25:32PM +0400, Vladimir Prus wrote:
> 
> Hello,
> seems like CVS HEAD cannot load expectation file written by previous QMTest 
> versions. The symptoms are that I specify -O option but no expectation appear 
> anywhere.
> 
> Debugging further, I see that PickleResultStream.GetResult catches 
> cPickle.UnpicklingError exception, which, when printed, reads:
> 
>     unpickling stack underflow
> 
> I don't really know what this means, and don't know what to do about it. 
> Anyway, is this a known issue? I see some code for handling different 
> versions of pickled result stream, so maybe it's just a bug?

I have no idea what caused that error, but I did find a stupid bug
that prevented old-style file loading from working right.  Attached is
the patch I've just committed to CVS, and you can see if it fixes your
problem...

-- Nathaniel

-- 
Details are all that matters; God dwells there, and you never get to
see Him if you don't struggle to get them right. -- Stephen Jay Gould



More information about the qmtest mailing list