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

Error in Multithreading? #16

Closed
fischerdom opened this issue Sep 11, 2017 · 8 comments
Closed

Error in Multithreading? #16

fischerdom opened this issue Sep 11, 2017 · 8 comments

Comments

@fischerdom
Copy link

Hey guys,

It seems that pyphi isn't stable anymore. I got a multithreading exception:

Traceback (most recent call last): File "/usr/lib/python3.4/multiprocessing/queues.py", line 242, in _feed obj = ForkingPickler.dumps(obj) File "/usr/lib/python3.4/multiprocessing/reduction.py", line 50, in dumps cls(buf, protocol).dump(obj)

Could you maybe help me with this issue?

@wmayner
Copy link
Owner

wmayner commented Sep 11, 2017

Hi Dominik,

This should have been fixed a few days ago. What commit of the develop branch are you on? Try updating to the latest commit and see if the problem still comes up.

Cheers,
Will

@rlmv
Copy link
Collaborator

rlmv commented Sep 11, 2017

Yes, @fischerdom this should be resolved with the latest code. Please let us know if this shows up again and I'll investigate further.

@fischerdom
Copy link
Author

Hey,

many thanks for the answer. Yes it was an older version. I will make an update and tell you if the exception still occurs.

Cheers
Dom

@fischerdom
Copy link
Author

Unfortunately, I still get the exception. Somehow on a random manner.

I removed the package via pip and reinstalled it, before...

@rlmv
Copy link
Collaborator

rlmv commented Sep 14, 2017

Interesting. And this is with the head of the develop branch? (pip install git+https://github.com/wmayner/pyphi.git@develop?)

One workaround is to disable parallel computations - that's not great for speed but at least you won't have any errors. Would you be willing to share the code that's causing these issues?

@fischerdom
Copy link
Author

fischerdom commented Sep 25, 2017 via email

@rlmv
Copy link
Collaborator

rlmv commented Sep 25, 2017

Ok, thanks for the report. Would you be willing to share the code that's causing the issue?

@rlmv
Copy link
Collaborator

rlmv commented Mar 12, 2018

This should be fixed in the both the 0.9.0 and 1.0.0 releases.

@rlmv rlmv closed this as completed Mar 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants