Skip to content

Update log reading to allow reading python2 pickled slogs#173

Open
cs-hall wants to merge 1 commit intocompmem:masterfrom
cs-hall:patch-2
Open

Update log reading to allow reading python2 pickled slogs#173
cs-hall wants to merge 1 commit intocompmem:masterfrom
cs-hall:patch-2

Conversation

@cs-hall
Copy link

@cs-hall cs-hall commented Dec 18, 2025

Change Unpickler encoding to 'latin1'. This should only change things when reading in slog files encoded with python 2.

I had trouble confirming this rigorously and figured someone here may know of the top of their head. This fixed my issue in reading in an old experiment, however, I haven't check if it works for reading in new experiments (and I wasn't sure where to find a new experiment to test on).

Change Unpickler encoding to 'latin1'. This should only change things when reading in slog files encoded with python 2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant