-
Notifications
You must be signed in to change notification settings - Fork 137
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
Use local OS' path separator #304
Comments
(One other side note: it was a bit of a pain to find this error, since the default value was getting used since it caught the OSError). Maybe the caught error could be more granular in the future :) |
Lots of possible ways to allow this:
|
For anyone out there who hits this, you can resolve via:
I run this every time i get a cache object just in case. |
I am hitting this as well and the fixes suggested by @csm10495 seem to point in the right direction. Any possibility of getting this fixed ? @ddorian @grantjenks ? |
Feel free to create a pull request. |
@ddorian I forked the repo but when I setup it fails (removing pylibmc deps fixed this). However for python 3.12 it doesn't seem to support python setup.py test for testing. Let me know if there are instructions other than https://grantjenks.com/docs/diskcache/development.html |
I used |
I use diskcache and save the cache directory to a share drive. Later on, I use diskcache again to pull / update the data.
The problem I recently hit was when I added a Linux host to my previously-all-Windows pool:
It seems like diskcache saves a path inside the db based off the OS' path separator., which leads to this error ^. Can the path be normalized to the local-OS' path seperater?
The text was updated successfully, but these errors were encountered: