Re: UnpicklingError: NEWOBJ class argument isn't a type object

2013-07-09 Thread Peter Otten
>> >> > >> >> > It works most of the time, but when I try to unpickle a Django >> >> > HttpResponse, I get the following error: UnpicklingError: NEWOBJ class >> >> > argument isn't a type object >> >> > >> &g

Re: UnpicklingError: NEWOBJ class argument isn't a type object

2013-07-08 Thread skunkwerk
on the > > > code from Shane Hathaway here: > > > http://stackoverflow.com/questions/4080688/python-pickling-a-dict-with- > > some-unpicklable-items > > > > > > It works most of the time, but when I try to unpickle a Django > > > HttpRes

Re: UnpicklingError: NEWOBJ class argument isn't a type object

2013-07-08 Thread Peter Otten
ng-a-dict-with- some-unpicklable-items > > It works most of the time, but when I try to unpickle a Django > HttpResponse, I get the following error: UnpicklingError: NEWOBJ class > argument isn't a type object > > I have no clue what the error actually means. If it pickles okay, wh

Re: UnpicklingError: NEWOBJ class argument isn't a type object

2013-07-07 Thread dieter
ing-a-dict-with-some-unpicklable-items > > It works most of the time, but when I try to unpickle a Django HttpResponse, > I get the following error: > UnpicklingError: NEWOBJ class argument isn't a type object > > I have no clue what the error actually means. The pickling protoco

Re: UnpicklingError: NEWOBJ class argument isn't a type object

2013-07-07 Thread Chris Angelico
On Mon, Jul 8, 2013 at 3:27 PM, skunkwerk wrote: > I'm using a custom pickler that replaces any un-pickleable objects (such as > sockets or files) with a string representation of them... > > If it pickles okay, why should it not be able to unpickle? Any ideas? Generally, the reason something

UnpicklingError: NEWOBJ class argument isn't a type object

2013-07-07 Thread skunkwerk
st of the time, but when I try to unpickle a Django HttpResponse, I get the following error: UnpicklingError: NEWOBJ class argument isn't a type object I have no clue what the error actually means. If it pickles okay, why should it not be able to unpickle? Any ideas? thanks for the help, i