Hi, Im having the following error: PicklingError: Can't pickle <type 'instancemethod'>: attribute lookup __builtin__.instancemethod failed > -------------------- > line 486: compressed = zlib.compress(pickle.dumps( > * line 487: val, pickle.HIGHEST_PROTOCOL)) > line 488: fileobj.write(compressed) > line 489:
It is because I am trying to add a node reference into pickleshare, this way: c.db['Tree_SelectedNode']=c.p.copy() How can I add node references to pickleshare? When I do g.es(c.p.v) I see this: <vnode 76038384:'Python 2.7'> I could just refer that vnode number, but for that, I should be able to get c.p back out of that vnode number. Is that possible? Thank you. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
