Skip to content
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

Multiprocessing error from Python 2.7.16 #45

Open
tashrifbillah opened this issue Dec 7, 2020 · 0 comments
Open

Multiprocessing error from Python 2.7.16 #45

tashrifbillah opened this issue Dec 7, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tashrifbillah
Copy link
Collaborator

Error

The following error appears out of Python 2.7.16 but not with Slicer python-real which is 2.7.13:

Traceback (most recent call last):
  File "diffusionQC/diffusionQC.py", line 57, in <module>
    QC.run()
  File "/home/tb571/miniconda2/lib/python2.7/site-packages/plumbum/cli/application.py", line 572, in run
    retcode = inst.main(*tailargs)
  File "diffusionQC/diffusionQC.py", line 53, in main
    process(self.dwi, self.mask, self.out, self.autoMode)
  File "/home/tb571/Downloads/SlicerDiffusionQC/diffusionqclib/diffusionqclib/gradient_process.py", line 240, in process
    S = res.get()  # when pool.map_async
  File "/home/tb571/miniconda2/lib/python2.7/multiprocessing/pool.py", line 572, in get
    raise self._value
ValueError: Object arrays cannot be loaded when allow_pickle=False
Solution

Move to Python 3/Slicer 4.11 and see if this happens.

@tashrifbillah tashrifbillah added the bug Something isn't working label Dec 7, 2020
@tashrifbillah tashrifbillah self-assigned this Dec 7, 2020
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

1 participant