>>
>> >
>>
>> > 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
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
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
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
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
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