You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "Tomaz Muraus (JIRA)" <ji...@apache.org> on 2015/05/08 19:59:00 UTC

[jira] [Commented] (LIBCLOUD-705) Pickling of Nodes isn't supported - TypeError: a class that defines __slots__ without defining __getstate__ cannot be pickled

    [ https://issues.apache.org/jira/browse/LIBCLOUD-705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14535110#comment-14535110 ] 

Tomaz Muraus commented on LIBCLOUD-705:
---------------------------------------

Pickle might not be the best format (JSON might be a safer and better choice in cases like that), but I still think there is some values in making sure all the base Libcloud classes can be pickled so I will look into that.

Hopefully it shouldn't be too hard to make this happen.

> Pickling of Nodes isn't supported - TypeError: a class that defines __slots__ without defining __getstate__ cannot be pickled
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-705
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-705
>             Project: Libcloud
>          Issue Type: Wish
>          Components: Compute
>            Reporter: Samuel Marks
>              Labels: features
>
> TypeError: a class that defines __slots__ without defining __getstate__ cannot be pickled.
> Class is libcloud.compute.base.Node.
> Use case: pushing nodes created in libcloud into a queue for processing with other tools



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)