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

ipcluster start fails with TraitError #318

Closed
michaelaye opened this issue Mar 27, 2018 · 7 comments
Closed

ipcluster start fails with TraitError #318

michaelaye opened this issue Mar 27, 2018 · 7 comments

Comments

@michaelaye
Copy link
Contributor

Using:

(stable) └─( 2 ) ❱❱❱ conda list ipy                                            +9557 0:38 ❰─┘
# packages in environment at /Users/klay6683/miniconda3/envs/stable:
#
# Name                    Version                   Build  Channel
ipykernel                 4.8.2                    py36_0    conda-forge
ipyparallel               6.0.2                    py36_0    conda-forge
ipython                   6.2.1                    py36_1    conda-forge
ipython_genutils          0.2.0                    py36_0    conda-forge

I try:

ipcluster start -n 4

and get

traitlets.traitlets.TraitError: The 'loop' trait of an IPClusterStart instance must be a ZMQIOLoop, but a value of class 'tornado.platform.asyncio.AsyncIOMainLoop' (i.e. <tornado.platform.asyncio.AsyncIOMainLoop object at 0x1125d3f60>) was specified.

Is maybe my conda env broken? I'm surprised nobody else would have had this issue?

Here's some more infos:

(stable) └─( 2 ) ❱❱❱ conda list traitlets                                      +9560 0:41 ❰─┘
# packages in environment at /Users/klay6683/miniconda3/envs/stable:
#
# Name                    Version                   Build  Channel
traitlets                 4.3.2                    py36_0    conda-forge
(stable) └─( 2 ) ❱❱❱ conda info                                                +9562 0:42 ❰─┘

     active environment : stable
    active env location : /Users/klay6683/miniconda3/envs/stable
            shell level : 1
       user config file : /Users/klay6683/.condarc
 populated config files : /Users/klay6683/miniconda3/.condarc
                          /Users/klay6683/.condarc
          conda version : 4.5.0
    conda-build version : not installed
         python version : 3.6.3.final.0
       base environment : /Users/klay6683/miniconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/conda-canary/osx-64
                          https://conda.anaconda.org/conda-canary/noarch
                          https://repo.anaconda.com/pkgs/main/osx-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/osx-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/osx-64
                          https://repo.anaconda.com/pkgs/pro/noarch
                          https://conda.anaconda.org/NSIDC/osx-64
                          https://conda.anaconda.org/NSIDC/noarch
          package cache : /Users/klay6683/miniconda3/pkgs
                          /Users/klay6683/.conda/pkgs
       envs directories : /Users/klay6683/miniconda3/envs
                          /Users/klay6683/.conda/envs
               platform : osx-64
             user-agent : conda/4.5.0 requests/2.18.4 CPython/3.6.3 Darwin/16.7.0 OSX/10.12.6
                UID:GID : 273771:2260
             netrc file : None
           offline mode : False
@minrk
Copy link
Member

minrk commented Mar 27, 2018

I think I might need to make a release of ipyparallel with tornado 5 fixes. In the meantime, you can install tornado 4.5.

@michaelaye
Copy link
Contributor Author

Thanks, worked!

@michaelaye
Copy link
Contributor Author

This isn't fixed in tornado 5.02, right? Just wondering...

@michaelaye
Copy link
Contributor Author

Can it be, that if I just install tornado 4.5 on top of all other packages being current, that I don't get an update of the results.progress attribute that I get back from a load_balanced_view().map_async() ?

@michaelaye
Copy link
Contributor Author

No, but I had to restart the notebook after downgrading tornado, otherwise the communication wouldn't work.

@minrk
Copy link
Member

minrk commented Jun 2, 2021

This should be fixed with more recent versions of pyzmq, ipyparallel

@minrk minrk closed this as completed Jun 2, 2021
@yadiannaandy
Copy link

how do it

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