[qmtest] Problem loading expectation

Nathaniel Smith njs at pobox.com
Tue Jul 15 06:50:35 UTC 2003


On Tue, Jul 15, 2003 at 09:36:27AM +0400, Vladimir Prus wrote:
> Vladimir Prus wrote:
[...]
> >     version = self.__unpickler.load()
> > cPickle.UnpicklingError: <class 'qm.test.context.Context'> is not safe for
> > unpickling
> 
> FWIW, I've worked this around and successfully loaded the expectation file 
> after making the following change:
[...]
> OTOH, I have no idea
> - why it's necessary
> - why Result class is readed OK, but Context is not.
> 
> Can anybody shed any light on this?

No, I really can't.  All your error messages seem entirely impossible
to me :-).

Can you send, either to the list or to me personally,
   - the value of your Python's sys.version,
   - where you got your Python, just in case (e.g., "Redhat 8.0
     package")
   - the exact version of the qmtest you're using (e.g., "HEAD,
     updated yesterday")
   - and a file you're having these errors on?

-- Nathaniel

-- 
"...these, like all words, have single, decontextualized meanings: everyone
knows what each of these words means, everyone knows what constitutes an
instance of each of their referents.  Language is fixed.  Meaning is
certain.  Santa Claus comes down the chimney at midnight on December 24."
  -- The Language War, Robin Lakoff



More information about the qmtest mailing list