libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomaz Muraus (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LIBCLOUD-705) Pickling of Nodes isn't supported - TypeError: a class that defines __slots__ without defining __getstate__ cannot be pickled
Date Fri, 08 May 2015 17:59:00 GMT

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

Mime
View raw message