Something weird is happening when using the pickle library.
I use a python code to get the event list:
# get the events
# and save them into a file for later use
with open('catalog','w') as f: # tried with wb also
From another script:
with open('catalog','r') as f:
When I run both scripts sequentially, I have no problem. Even if I run, later, the second one script repetitively.
However, if, for instance, I reboot my computer and run only the second script, I get the error (at the print statement):
AttributeError: 'UTCDateTime' object has no attribute '_UTCDateTime__ns'
Any ideas? What could be the cause of "destroying" the data?