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

detect using Distributed and warn about incompatibility #420

Open
carlocab opened this issue Sep 13, 2020 · 3 comments
Open

detect using Distributed and warn about incompatibility #420

carlocab opened this issue Sep 13, 2020 · 3 comments

Comments

@carlocab
Copy link

This is related to #300.

The README says

Cells can contain arbitrary Julia code, and you can use external libraries.

This is a little misleading, since you're not supposed to use Distributed or Threads, unless I've done something wrong in the notebook I was working on.

It would be nice if this were stated in some form in the documentation, and for error messages related to using these features in a Pluto notebook to be a bit more informative. At the moment attempting to use Distributed leads to errors about missing workspaces, while Threads fails in the browser silently, and only registers errors in the terminal you started Pluto from.

@fonsp
Copy link
Owner

fonsp commented Sep 15, 2020

Ive added it to the wiki

@fonsp
Copy link
Owner

fonsp commented Sep 15, 2020

@carlocab Can you post some errors that you usually get? We can write a pattern for those and generate a custom error message. For writing the pattern: the more errors you post the better.

@carlocab
Copy link
Author

Sure. As a start, there are the ones documented here.

I have a few more different variations of a workspace not defined error. I'll try and reproduce them this afternoon.

@fonsp fonsp changed the title Documenting Incompatibility with the Distributed and Threads Packages detect using Distributed and warn author about incopatibility Sep 24, 2020
@fonsp fonsp changed the title detect using Distributed and warn author about incopatibility detect using Distributed and warn author about incompatibility Sep 24, 2020
@fonsp fonsp changed the title detect using Distributed and warn author about incompatibility detect using Distributed and warn about incompatibility Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants