FIXED: python storage mystery

088
Build 55620
Windows 10

Storage question. When I place an entire channel into storage, I get an error with an examine dat for the first sample. If I fetch the channel and look at the first sample I get the actual sample value and not an error.

If I store the vals of the channel I don’t see an error in the list object that’s in storage. Is this a bug, or I’m I misunderstanding some fundamental portion of storage? I’m using storage more and more these days, and as my structures get more complex I get nervous when I see errors that I don’t understand. :slight_smile:

I’ll attach a file with an example of what I’m seeing / talking about.

M
storage_oddity.toe (7.76 KB)

Hi, there was definitely a bug, and is now fixed in build 55660 and later.
Thanks for posting!
One thing, when you save the Chan reference in storage, and reload, it just stores
the reference to the CHOP channel, not a snapshot of the values at the time,
if thats the intended effect.

Cheers
Rob.

Thanks Rob!

That’s actually exactly what I was working on - creating an example file that shows the difference between storing pointers and storing values.

Thanks for looking at this!

M