Pickle crashes

11 views
Skip to first unread message

Harvey Stein

unread,
Nov 14, 2022, 5:52:34 PM11/14/22
to powerlaw-general
I saved the results from powerlaw.Fit() to a pickle file.  When I try to read the results back, I get a "RecursionError: maximum recursion depth exceeded".  The stack trace shows it to be on line 157, the first line of __getatter__, and that line is triggering another call to __getatter__.  So, it seems like the powerlaw code itself is causing an infinite loop when pickle tries to read the pickled object.  Any suggestions on how to fix this or get around it?

Thanks,
Harvey

Reply all
Reply to author
Forward
0 new messages