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

After successful install of glue-wwt, the plugin does not appear anywhere in Glue #2505

Open
SCO-SCI opened this issue Jul 20, 2024 · 5 comments
Labels

Comments

@SCO-SCI
Copy link

SCO-SCI commented Jul 20, 2024

Problem:

After a successful instal of glue-wwt into conda environment, the plugin does not appear as a viewer option nor does it appear in the plugin manager window.

To Reproduce:

  1. In conda environment where Glue is installed, type: 'conda install -c glueviz glue-wwt'

  2. Respond 'y' to 'Proceed?' question.

  3. Upon successful install, type 'glue'

Expected Behavior:

According to documentation, wwt should appear as a viewer option. Possibly wwt would also appear in the 'plugin manager' window. However, it does not appear in either.

Details:

Operating System: Windows 10 Pro Version 22H2
Python Version: 3.8.19
Anaconda Version: 24.5.0
Glue Version: 1.21.0
Glue-wwt Version: 0.5, Build py_0, Channel glueviz

Install Log:

(glue_env) C:\Users\Ed>conda install -c glueviz glue-wwt
Channels:

  • glueviz
  • defaults
  • conda-forge
    Platform: win-64
    Collecting package metadata (repodata.json): done
    Solving environment: done

Package Plan

environment location: C:\Users\Ed\anaconda3\envs\glue_env

added / updated specs:
- glue-wwt

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
astropy-healpix-0.6        |   py38h6f4d8f0_1          71 KB  glueviz
certifi-2024.7.4           |   py38haa95532_0         159 KB
glue-wwt-0.5               |             py_0          85 KB  glueviz
ipyevents-2.0.1            |     pyhd8ed1ab_0          58 KB  glueviz
pywwt-0.14.0               |     pyhd8ed1ab_0         4.6 MB  glueviz
reproject-0.8              |   py38h6f4d8f0_2         858 KB  glueviz
------------------------------------------------------------
                                       Total:         5.8 MB

The following NEW packages will be INSTALLED:

astropy-healpix glueviz/win-64::astropy-healpix-0.6-py38h6f4d8f0_1
glue-wwt glueviz/noarch::glue-wwt-0.5-py_0
ipyevents glueviz/noarch::ipyevents-2.0.1-pyhd8ed1ab_0
libxslt conda-forge/win-64::libxslt-1.1.39-h3df6e99_0
lxml conda-forge/win-64::lxml-5.2.2-py38h98cf29c_0
pywwt glueviz/noarch::pywwt-0.14.0-pyhd8ed1ab_0
reproject glueviz/win-64::reproject-0.8-py38h6f4d8f0_2

The following packages will be SUPERSEDED by a higher-priority channel:

certifi conda-forge/noarch::certifi-2024.7.4-~ --> pkgs/main/win-64::certifi-2024.7.4-py38haa95532_0

Proceed ([y]/n)? y

Downloading and Extracting Packages:

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

(glue_env) C:\Users\Ed>glue

(glue_env) C:\Users\Ed>

(glue_env) C:\Users\Ed>conda list glue-wwt
packages in environment at C:\Users\Ed\anaconda3\envs\glue_env:

Name Version Build Channel
glue-wwt 0.5 py_0 glueviz

(glue_env) C:\Users\Ed>

Please see attached screen prints for further context.

installwwt
nowwt
nowwt2
nowwwt3

@SCO-SCI SCO-SCI added the bug label Jul 20, 2024
@SCO-SCI
Copy link
Author

SCO-SCI commented Jul 21, 2024

UPDATE 7/21/2024:

I have been trying some possible fixes to this problem, including the use of Python 3.9 instead of 3.8 and installing a different version of Glue. On Python 3.9 and Glue 1.2.2, Glue works fine. Even the 'double-listing' of viewers, shown in the earlier screen print, is fixed. But when I try to install the wwt plugin I get some errors.

This is my current environment:

Operating System: Windows 10 Pro Version 22H2
Anaconda Version: 24.5.0
Python Version: 3.9.19
Glue Version: 1.2.2

I used the following command to install wwt:

conda install -c glueviz glue-wwt

That command caused the following error messages:

(glue-test) C:\Users\Ed>conda install -c glueviz glue-wwt
Channels:

  • glueviz
  • defaults
    Platform: win-64
    Collecting package metadata (repodata.json): done
    Solving environment: | warning libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
    failed

LibMambaUnsatisfiableError: Encountered problems while solving:

  • nothing provides package_has_been_revoked needed by notebook-7.0.8-py310haa95532_1

Could not solve for environment specs
The following packages are incompatible
├─ glue-wwt is installable with the potential options
│ ├─ glue-wwt [0.1|0.2|0.3|0.4|0.5] would require
│ │ └─ pywwt [ |>=0.4 |>=0.5.2 |>=0.5.3 |>=0.6.0 ] with the potential options
│ │ ├─ pywwt [0.3.0|0.4.0|0.5.0|0.5.3] would require
│ │ │ └─ python >=3.5,<3.6.0a0 , which can be installed;
│ │ ├─ pywwt [0.3.0|0.4.0|0.5.0] would require
│ │ │ └─ python >=2.7,<2.8.0a0 , which can be installed;
│ │ ├─ pywwt [0.3.0|0.4.0|0.5.0|0.5.3] would require
│ │ │ └─ python >=3.6,<3.7.0a0 , which can be installed;
│ │ └─ pywwt [0.10.0|0.10.1|...|0.9.0] would require
│ │ └─ notebook with the potential options
│ │ ├─ notebook [5.0.0|5.1.0|...|5.7.9] would require
│ │ │ └─ python >=2.7,<2.8.0a0 , which can be installed;
│ │ ├─ notebook [5.0.0|5.1.0|...|5.6.0] would require
│ │ │ └─ python >=3.5,<3.6.0a0 , which can be installed;
│ │ ├─ notebook [5.0.0|5.1.0|...|6.4.3] would require
│ │ │ └─ python >=3.6,<3.7.0a0 , which can be installed;
│ │ ├─ notebook [5.5.0|5.6.0|...|6.5.2] would require
│ │ │ └─ python >=3.7,<3.8.0a0 , which can be installed;
│ │ ├─ notebook [5.7.10|5.7.9|...|7.0.8] would require
│ │ │ └─ python >=3.8,<3.9.0a0 , which can be installed;
│ │ ├─ notebook [6.1.4|6.1.5|...|6.5.7] would require
│ │ │ └─ pyzmq >=17,<25 with the potential options
│ │ │ ├─ pyzmq [17.0.0|17.1.0|17.1.2|18.0.0|18.1.0] would require
│ │ │ │ └─ python >=2.7,<2.8.0a0 , which can be installed;
│ │ │ ├─ pyzmq [17.0.0|17.1.0|17.1.2] would require
│ │ │ │ └─ python >=3.5,<3.6.0a0 , which can be installed;
│ │ │ ├─ pyzmq [17.0.0|17.1.0|...|22.2.1] would require
│ │ │ │ └─ python >=3.6,<3.7.0a0 , which can be installed;
│ │ │ ├─ pyzmq [17.0.0|17.1.0|...|23.2.0] would require
│ │ │ │ └─ python >=3.7,<3.8.0a0 , which can be installed;
│ │ │ ├─ pyzmq [18.1.0|18.1.1|...|25.1.2] would require
│ │ │ │ └─ python >=3.8,<3.9.0a0 , which can be installed;
│ │ │ ├─ pyzmq 20.0.0 would require
│ │ │ │ └─ zeromq >=4.3.3,<4.3.4.0a0 , which can be installed;
│ │ │ ├─ pyzmq [22.2.1|22.3.0|24.0.1], which can be installed;
│ │ │ ├─ pyzmq [22.3.0|23.2.0|24.0.1|25.1.2] would require
│ │ │ │ └─ python >=3.10,<3.11.0a0 , which can be installed;
│ │ │ ├─ pyzmq [23.2.0|24.0.1|25.1.2] would require
│ │ │ │ └─ python >=3.11,<3.12.0a0 , which can be installed;
│ │ │ ├─ pyzmq 23.2.0 would require
│ │ │ │ └─ zeromq >=4.3.4,<4.3.5.0a0 , which can be installed;
│ │ │ └─ pyzmq [24.0.1|25.1.2] would require
│ │ │ └─ python >=3.12,<3.13.0a0 , which can be installed;
│ │ ├─ notebook [6.4.11|6.4.12|...|7.0.8] would require
│ │ │ └─ python >=3.10,<3.11.0a0 , which can be installed;
│ │ ├─ notebook [6.5.2|6.5.3|...|7.0.8] would require
│ │ │ └─ python >=3.11,<3.12.0a0 , which can be installed;
│ │ ├─ notebook [7.0.6|7.0.8] would require
│ │ │ └─ jupyter_server >=2.4.0,<3 with the potential options
│ │ │ ├─ jupyter_server [2.10.0|2.14.1|2.5.0] would require
│ │ │ │ └─ python >=3.10,<3.11.0a0 , which can be installed;
│ │ │ ├─ jupyter_server [2.10.0|2.14.1|2.5.0] would require
│ │ │ │ └─ python >=3.11,<3.12.0a0 , which can be installed;
│ │ │ ├─ jupyter_server [2.10.0|2.14.1] would require
│ │ │ │ └─ python >=3.12,<3.13.0a0 , which can be installed;
│ │ │ ├─ jupyter_server [2.10.0|2.14.1|2.5.0] would require
│ │ │ │ └─ python >=3.8,<3.9.0a0 , which can be installed;
│ │ │ └─ jupyter_server [2.10.0|2.14.1|2.5.0] would require
│ │ │ └─ jupyter_client >=7.4.4 with the potential options
│ │ │ ├─ jupyter_client [7.4.7|7.4.8|...|8.6.0] would require
│ │ │ │ └─ python >=3.10,<3.11.0a0 , which can be installed;
│ │ │ ├─ jupyter_client [7.4.7|7.4.8|7.4.9] would require
│ │ │ │ └─ python >=3.7,<3.8.0a0 , which can be installed;
│ │ │ ├─ jupyter_client [7.4.7|7.4.8|...|8.6.0] would require
│ │ │ │ └─ python >=3.8,<3.9.0a0 , which can be installed;
│ │ │ ├─ jupyter_client [7.4.7|7.4.8|...|8.6.0], which can be installed;
│ │ │ ├─ jupyter_client [7.4.9|8.1.0|8.5.0|8.6.0] would require
│ │ │ │ └─ python >=3.11,<3.12.0a0 , which can be installed;
│ │ │ └─ jupyter_client 8.6.0 would require
│ │ │ └─ python >=3.12,<3.13.0a0 , which can be installed;
│ │ ├─ notebook 7.0.8 would require
│ │ │ └─ package_has_been_revoked, which does not exist (perhaps a missing channel);
│ │ └─ notebook 7.0.8 would require
│ │ └─ python >=3.12,<3.13.0a0 , which can be installed;
│ ├─ glue-wwt 0.1 would require
│ │ └─ python >=3.6,<3.7.0a0 , which can be installed;
│ ├─ glue-wwt 0.1 would require
│ │ └─ python >=3.5,<3.6.0a0 , which can be installed;
│ └─ glue-wwt 0.1 would require
│ └─ python >=2.7,<2.8.0a0 , which can be installed;
├─ jupyter_client 6.1.12.* is not installable because it conflicts with any installable versions previously reported;
├─ pin-1 is not installable because it requires
│ └─ python 3.9.* , which conflicts with any installable versions previously reported;
├─ pyzmq 25.1.2.* is installable with the potential options
│ ├─ pyzmq [18.1.0|18.1.1|...|25.1.2], which can be installed (as previously explained);
│ ├─ pyzmq [22.3.0|23.2.0|24.0.1|25.1.2], which can be installed (as previously explained);
│ ├─ pyzmq [23.2.0|24.0.1|25.1.2], which can be installed (as previously explained);
│ ├─ pyzmq [24.0.1|25.1.2], which can be installed (as previously explained);
│ └─ pyzmq 25.1.2 conflicts with any installable versions previously reported;
└─ zeromq 4.3.5.* is not installable because it conflicts with any installable versions previously reported.

I did some digging with my favorite AI buddy and obtained this possible explanation for the problem:

  1. What Caused These Errors?
    The errors were caused by conflicts and incompatibilities between the versions of packages required by the glue-wwt plugin and the existing packages in your conda environment. Specifically, the package notebook-7.0.8 requires a non-existent package package_has_been_revoked, which creates a dependency resolution problem.

  2. What Software Component Issued These Error Messages?
    The error messages were issued by the conda package manager while trying to resolve dependencies and install the glue-wwt plugin. The LibMambaUnsatisfiableError indicates that the dependency solver (libmamba) could not find a compatible set of packages to satisfy the environment specifications.

I am open to suggestions..

@Carifio24
Copy link
Member

Carifio24 commented Jul 22, 2024

Hi Ed,

Could you try running glue in verbose mode (glue -v) and report the terminal output here?

Looking at the version info that you've posted, I suspect there's a version compatibility issue, as glue-wwt 0.5 and pywwt 0.14.0 are a bit old, but seeing the verbose output should help pinpoint the issue.

@SCO-SCI
Copy link
Author

SCO-SCI commented Jul 23, 2024

Certainly. The full log is attached.

I received a different behavior this time for some reason. The messages shown in my previous update did not occur. Instead, the error message I received was:

INFO:glue:Loading plugin wwt failed (Exception: The QtWebEngineWidgets module was not found. It must be installed separately as PyQtWebEngine.)

The wwt plugin does show in the 'plugin manager' dialog and it is checked. However, it is not presented as a viewer option when opening a file in glue.

INFO:glue:Loading plugin wwt failed (Exception: The QtWebEngineWidgets module was not found. It must be installed separately as PyQtWebEngine.)
INFO:glue:Loading settings from C:\Users\Ed.glue\settings.cfg
INFO:glue:Setting AUTOLINK already initialized - skipping
INFO:glue:Setting BACKGROUND_COLOR already initialized - skipping
INFO:glue:Setting DATA_ALPHA already initialized - skipping
INFO:glue:Setting DATA_COLOR already initialized - skipping
INFO:glue:Setting FONT_SIZE already initialized - skipping
INFO:glue:Setting FOREGROUND_COLOR already initialized - skipping
INFO:glue:Setting SHOW_INFO_PROFILE_OPEN already initialized - skipping
INFO:glue:Setting SHOW_LARGE_DATA_WARNING already initialized - skipping
INFO:glue:Setting SHOW_WARN_PROFILE_DUPLICATE already initialized - skipping
INFO:glue:Setting SUBSET_COLORS already initialized - skipping
INFO:glue:Unknown setting UNIT_CONVERTER - skipping
INFO:glue.core.hub:Subscribing DataCollection (0 data sets)
to ComponentsChangedMessage
INFO:glue.core.hub:Subscribing <glue.core.link_manager.LinkManager object at 0x000001AC795AA2E0> to DataRemoveComponentMessage
INFO:glue.core.hub:Subscribing <glue.core.link_manager.LinkManager object at 0x000001AC795AA2E0> to DataCollectionDeleteMessage
INFO:glue:Loading external plugins using setuptools==69.5.1
INFO:glue:Plugin coordinate_helpers already loaded
INFO:glue:Plugin data_exporters already loaded
INFO:glue:Loading plugin dendro_factory failed (Exception: No module named 'astrodendro')
INFO:glue:Plugin dendro_viewer already loaded
INFO:glue:Plugin directory_importer already loaded
INFO:glue:Plugin export_d3po already loaded
INFO:glue:Plugin export_python already loaded
INFO:glue:Plugin fits_format already loaded
INFO:glue:Plugin histogram_viewer already loaded
INFO:glue:Plugin image_viewer already loaded
INFO:glue:Plugin profile_viewer already loaded
INFO:glue:Plugin pv_slicer already loaded
INFO:glue:Plugin scatter_viewer already loaded
INFO:glue:Plugin table_viewer already loaded
INFO:glue:Plugin wcs_autolinking already loaded
INFO:glue:Plugin vispy_scatter already loaded
INFO:glue:Plugin vispy_volume already loaded

Full_Log.txt

@Carifio24
Copy link
Member

INFO:glue:Loading plugin wwt failed (Exception: The QtWebEngineWidgets module was not found. It must be installed separately as PyQtWebEngine.)

I'm not sure why the web engine widgets package didn't get pulled in, but you'll need to install either PyQtWebEngine (if you're using Qt5) or PyQt6-WebEngine (for Qt6), and that will hopefully fix the problem.

@SCO-SCI
Copy link
Author

SCO-SCI commented Jul 24, 2024

Thank you. That worked great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants