haochengxia / vscode-pydata-viewer

Display PyData files (.npz .npy .pkl .pth) in VSCode.
https://marketplace.visualstudio.com/items?itemName=Percy.vscode-pydata-viewer
MIT License
14 stars 8 forks source link

an error #25

Open Rubyshm opened 3 months ago

Rubyshm commented 3 months ago

Hello, this error occurred while opening the .pkl file and it cannot be opened. Is there a solution available?If you could answer, I would be very grateful to you

A load persistent id instruction was encountered, but no persistent_load function was specified.

haochengxia commented 3 months ago

Thank you for using this extension. I am always here to help resolve any issues you may have.

Is it the error message you received when opening a .pkl file?

A load persistent id instruction was encountered, but no persistent_load function was specified.

haochengxia commented 3 months ago

If the object references external resources or is loaded in a specific way (for example, from a database), then a custom function may be needed to properly handle these external references or specially loaded objects during loading (or "unpickling").

Can you provide more information so that we can determine if we need to create an interface for users to more easily customize loading logic?