-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyCUTEst v1.5.0 breaks existing cached problems #50
Comments
@ragonneau just a heads up for a cache breaking change in the upcoming v1.5.0 release. |
Great thanks for the reminder! |
Hi, I sometimes get this error as well, and I fix it by deleting the folder you mention. If I do not get this error, does it mean everything works correctly? Or, I would have to clear out my cache each time I need to run the same code, even if there is no error? Thanks! |
You only need to delete the cache once, when you install the new version (since your previous cache files would have been compiled under an older PyCUTEst version and are incompatible with PyCUTEst>=1.5). |
Thanks for the fast response! |
Although I should have mentioned, if this is helpful information: I think the only version I installed is PyCUTEst 1.5.0, so I had no trouble initially. But then I got this error in one of my running programs, and I was able to fix it by deleting that folder. |
Thank you, if this error re-occurs again please let us know and we will look into it. |
Hi, while I was trying to fix this error, I deleted my custom cache directory for my running program, but then I recreated that directory shortly. The program seems still be able to finish. Do you know if PyCUTEst created a new folder for cache when my custom directory was not there? I would like to delete the cache folder PyCUTEst if possible. Is there a way to print out the path to it? Also is it possible to print out the path to the default cache folder if I do not specify a custom one? I'm using Linux. Thanks! |
@KenZhenLin PyCUTEst will automatically create a new cache subdirectory for each CUTEst problem when it is first imported, the location for this will be inside
If you do not specify a custom cache directory, then |
Thank you! I suppose if, by mistake, |
@KenZhenLin yes it should give an error that the location does not exist. |
Closing as outdated due to new major release. |
Regrettably PyCUTEst v1.5.0 breaks existing cached problems (we had to fix a memory leak).
When upgrading to PyCUTEst v1.5.0, please clear out your cache by deleting the $PYCUTEST_CACHE/pycutest_cache_holder directory:
rm -r $PYCUTEST_CACHE/pycutest_cache_holder/
Failure to do so will result in errors of the form:
The text was updated successfully, but these errors were encountered: