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

Windows CI is currently failing #567

Closed
mjw99 opened this issue Apr 8, 2022 · 2 comments
Closed

Windows CI is currently failing #567

mjw99 opened this issue Apr 8, 2022 · 2 comments
Assignees
Labels
Milestone

Comments

@mjw99
Copy link
Collaborator

mjw99 commented Apr 8, 2022

Currently seeing this error:

======================================================================
ERROR: Failure: ImportError (DLL load failed while importing _openmm: The specified module could not be found.)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\a\openmmtools\openmmtools\openmmtools\testsystems.py", line 57, in <module>
    import openmm
  File "C:\Miniconda\envs\test\lib\site-packages\openmm\__init__.py", line 19, in <module>
    from openmm.openmm import *
  File "C:\Miniconda\envs\test\lib\site-packages\openmm\openmm.py", line 13, in <module>
    from . import _openmm
ImportError: DLL load failed while importing _openmm: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Miniconda\envs\test\lib\site-packages\nose\failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "C:\Miniconda\envs\test\lib\site-packages\nose\loader.py", line 416, in loadTestsFromName
    module = self.importer.importFromPath(
  File "C:\Miniconda\envs\test\lib\site-packages\nose\importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "C:\Miniconda\envs\test\lib\site-packages\nose\importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "C:\Miniconda\envs\test\lib\imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "C:\Miniconda\envs\test\lib\imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 702, in _load
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "D:\a\openmmtools\openmmtools\openmmtools\tests\test_alchemy.py", line 30, in <module>
    from openmmtools import testsystems, forces
  File "D:\a\openmmtools\openmmtools\openmmtools\__init__.py", line 8, in <module>
    from openmmtools import testsystems, integrators, alchemy, mcmc, states, cache, utils, constants, forces, forcefactories, storage, multistate
  File "D:\a\openmmtools\openmmtools\openmmtools\testsystems.py", line 61, in <module>
    from simtk import openmm
  File "C:\Miniconda\envs\test\lib\site-packages\simtk\__init__.py", line 1, in <module>
    import openmm
  File "C:\Miniconda\envs\test\lib\site-packages\openmm\__init__.py", line 19, in <module>
    from openmm.openmm import *
  File "C:\Miniconda\envs\test\lib\site-packages\openmm\openmm.py", line 13, in <module>
    from . import _openmm
ImportError: DLL load failed while importing _openmm: The specified module could not be found.
@mjw99 mjw99 mentioned this issue Apr 8, 2022
2 tasks
@mjw99 mjw99 added the 🐛 bug label Apr 8, 2022
@mjw99
Copy link
Collaborator Author

mjw99 commented Apr 12, 2022

In local testing, in a VM mock of the CI environment, I find that this occurs specifically with the conda package:

 conda-forge::3.8.13-h9a09f29_0_cpython

Conversely, the packages:

conda-forge::3.8.10-h7840368_2_cpython
main::python-3.8.13-h6244533_0

both work.

@mjw99 mjw99 mentioned this issue Apr 12, 2022
2 tasks
@mjw99 mjw99 self-assigned this Apr 12, 2022
@mjw99 mjw99 added this to the 0.21.3 milestone Apr 12, 2022
@mjw99
Copy link
Collaborator Author

mjw99 commented Apr 12, 2022

Resolved, for the moment, in d013b59

@mjw99 mjw99 closed this as completed Apr 12, 2022
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

1 participant