Skip to content

cache propagation issue on OSX #108

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

Closed
djarecka opened this issue Jul 31, 2019 · 5 comments
Closed

cache propagation issue on OSX #108

djarecka opened this issue Jul 31, 2019 · 5 comments
Labels
bug Something isn't working

Comments

@djarecka
Copy link
Collaborator

test test_cache_propagation1 doesn't work on OSX, I believe this is a problem that OSX sets tempdir differently:
wf.cache_dir is PosixPath('/var/folders/32/823z586933zbm26chcmcqq1m0000gp/T/tmpzmou1eal')
and t1.cache_dir is
PosixPath('/private/var/folders/32/823z586933zbm26chcmcqq1m0000gp/T/tmpzmou1eal')

@djarecka djarecka added the bug Something isn't working label Jul 31, 2019
@effigies
Copy link
Contributor

Ugh. We had an issue with this in nipype 1, too.

nipy/nipype#2395
nipy/nipype#2639

@djarecka
Copy link
Collaborator Author

yes, remember I was debugging this at some point... It's one of the issue that comes back from time to time and it's always annoying...

@effigies
Copy link
Contributor

I think the secret is to release a virus that permanently breaks OSX.

@djarecka
Copy link
Collaborator Author

at some point that might be the only solution..;-) One OS to rule them all!

@satra
Copy link
Contributor

satra commented Jul 31, 2019

we could use resolve:

(Pdb) wf.cache_dir
PosixPath('/var/folders/sm/488rz12j279_gyxrq7z971zw0000gp/T/tmpymbiqag1')

(Pdb) wf.cache_dir.resolve()
PosixPath('/private/var/folders/sm/488rz12j279_gyxrq7z971zw0000gp/T/tmpymbiqag1')
(Pdb) t1.cache_dir.resolve()
PosixPath('/private/var/folders/sm/488rz12j279_gyxrq7z971zw0000gp/T/tmpymbiqag1')
(Pdb) t2.cache_dir.resolve()
PosixPath('/private/var/folders/sm/488rz12j279_gyxrq7z971zw0000gp/T/tmpymbiqag1')

this should work for the tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants