Open djarecka opened 3 years ago
never saw such a thing. I would jump into pdb and check what is that obj
really is (where coming from etc). I do not see anything obvious when `git grep 'proxy>' | grep '.py' within datalad -- so might be some dependency
i guess it's my lucky week.. seeing weird bugs everywhere... will debug!
I haven’t seen that either. Previously I experienced asyncio problems but I don’t ever remember problems with multiprocessing.
Happy to help with some live debugging next week if you think that would be of use.
On Jan 22, 2021, at 12:03 AM, Dorota Jarecka notifications@github.com wrote:
i guess it's my lucky week.. seeing weird bugs everywhere... will debug!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
you say asyncio
? we might need help with this as well ;-) will let you know if I figure this out!
yeah, nothing so far in this particular issue points to asyncio ;)
it looks like I'm not able to run any method on datalad dataset using Process
, I get always error from Process.start
. For now I will just use dataset.get
without Process
in case of exception is raised.
I believe this is just between datalad
and multiprocessing
, but not completely sure...
Do you have a small reproducer?
try this with py3.8
import datalad.api as datalad
dl_dset = datalad.Dataset("blah")
datalad.clone('https://github.com/afni/afni_data.git', dl_dset.path)
from multiprocessing import Process
fetching_data = Process(target=dl_dset.get, kwargs={"path":'atlases/MNI152_2009_template.nii.gz'})
fetching_data.start()
thanks! seems yet another OSX gotcha (seems to work on linux :-/)
boils down to wrapt ... more details or fixes (if to come) will be in that https://github.com/datalad/datalad/pull/5369
@leej3 - I've noticed that the datalad part doesn't work with python 3.8, I have an error from
try_data_download
when runningtestkraken testkraken/workflows4regtests/afni_dc2019/3dcopy_datalad
(orpytest -vs testkraken/tests/test_afni.py
)Have you had this error before?