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

bug: opentrons_shared_data.module.ModuleNotFoundError: No such version 3 module ThermocyclerModuleModel.THERMOCYCLER_V1 #17085

Open
Koeng101 opened this issue Dec 11, 2024 · 1 comment
Labels

Comments

@Koeng101
Copy link

Overview

error.log

Attached is an error log. On a fresh alpine linux install.

Steps to reproduce

Fresh alpine linux install, then ran pip3 install opentrons

Current behavior

Fails to load

Expected behavior

Shouldn't fail to load

Operating system

Linux

System and robot setup or anything else?

No response

@Koeng101 Koeng101 added the bug label Dec 11, 2024
@Koeng101
Copy link
Author

/home/koeng/.opentrons/robot_settings.json not found. Loading defaults
Deck calibration not found.
/home/koeng/.opentrons/deck_calibration.json not found. Loading defaults
Traceback (most recent call last):
  File "/home/koeng/py/venv/lib/python3.12/site-packages/opentrons_shared_data/module/__init__.py", line 91, in load_definition
    data = load_shared_data(path)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/koeng/py/venv/lib/python3.12/site-packages/opentrons_shared_data/load.py", line 56, in load_shared_data
    with open(get_shared_data_root() / path, "rb") as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/koeng/py/venv/lib/python3.12/site-packages/opentrons_shared_data/data/module/definitions/3/ThermocyclerModuleModel.THERMOCYCLER_V1.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/koeng/py/venv/lib/python3.12/site-packages/opentrons/protocol_api/core/legacy/module_geometry.py", line 530, in load_definition
    return module.load_definition("3", model)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/koeng/py/venv/lib/python3.12/site-packages/opentrons_shared_data/module/__init__.py", line 93, in load_definition
    raise ModuleNotFoundError(version, model_or_loadname)
opentrons_shared_data.module.ModuleNotFoundError: No such version 3 module ThermocyclerModuleModel.THERMOCYCLER_V1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/koeng/py/venv/lib/python3.12/site-packages/opentrons/protocols/execution/execute_python.py", line 160, in exec_run
    exec("run(__context)", new_globs)
  File "<string>", line 1, in <module>
  File "/home/koeng/go/src/github.com/koeng101/flo2/nanala/opentrons/build.py", line 845, in run
    run_build(protocol)
  File "/home/koeng/go/src/github.com/koeng101/flo2/nanala/opentrons/build.py", line 123, in run_build
    thermocycler_module = protocol.load_module(
                          ^^^^^^^^^^^^^^^^^^^^^
  File "/home/koeng/py/venv/lib/python3.12/site-packages/opentrons/protocols/api_support/util.py", line 389, in _check_version_wrapper
    return decorated_obj(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/koeng/py/venv/lib/python3.12/site-packages/opentrons/protocol_api/protocol_context.py", line 873, in load_module
    module_core = self._core.load_module(
                  ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/koeng/py/venv/lib/python3.12/site-packages/opentrons/protocol_api/core/legacy/legacy_protocol_core.py", line 318, in load_module
    selected_definition = module_geometry.load_definition(model)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/koeng/py/venv/lib/python3.12/site-packages/opentrons/protocol_api/core/legacy/module_geometry.py", line 532, in load_definition
    raise NoSuchModuleError(f'Could not find a module with model "{model}"')
opentrons.protocol_api.core.legacy.module_geometry.NoSuchModuleError: Could not find a module with model "ThermocyclerModuleModel.THERMOCYCLER_V1"

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/koeng/py/venv/bin/opentrons_simulate", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/koeng/py/venv/lib/python3.12/site-packages/opentrons/simulate.py", line 1020, in main
    runlog, maybe_bundle = simulate(
                           ^^^^^^^^^
  File "/home/koeng/py/venv/lib/python3.12/site-packages/opentrons/simulate.py", line 564, in simulate
    return _run_file_non_pe(
           ^^^^^^^^^^^^^^^^^
  File "/home/koeng/py/venv/lib/python3.12/site-packages/opentrons/simulate.py", line 887, in _run_file_non_pe
    execute.run_protocol(
  File "/home/koeng/py/venv/lib/python3.12/site-packages/opentrons/protocols/execution/execute.py", line 39, in run_protocol
    exec_run(
  File "/home/koeng/py/venv/lib/python3.12/site-packages/opentrons/protocols/execution/execute_python.py", line 169, in exec_run
    _raise_pretty_protocol_error(exception=e, filename=filename)
  File "/home/koeng/py/venv/lib/python3.12/site-packages/opentrons/protocols/execution/execute_python.py", line 71, in _raise_pretty_protocol_error
    raise ExceptionInProtocolError(
opentrons.protocols.execution.errors.ExceptionInProtocolError: NoSuchModuleError [line 123]: Could not find a module with model "ThermocyclerModuleModel.THERMOCYCLER_V1"
Caught exception: {'message': 'Task was destroyed but it is pending!', 'task': <Task pending name='Task-4' coro=<Poller._poll_forever() running at /home/koeng/py/venv/lib/python3.12/site-packages/opentrons/hardware_control/poller.py:80> wait_for=<Future pending cb=[Task.task_wakeup()]>>}

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