Skip to content

ValueError: There is no registered plugin named 'napari-deeplabcut'. #2627

@mvanchiswar

Description

@mvanchiswar

Is there an existing issue for this?

  • I have searched the existing issues

Bug description

When saving a corrected machine-labels layer in the napari GUI, I get this error. The layer is unable to be saved to the CollectedData layer, however this only happens for some labeled data folders in the project. I do not receive this error for all folders in my project. The CollectedData layer saves correctly. All of the folders were added at the same time, the original videos are from the same place, and all the videos were analyzed at the same time. There appear to be no differences in the .csv files between the folders that work and those that do not.

Operating System

Microsoft Windows 11 Enterprise

DeepLabCut version

2.3.9

DeepLabCut mode

multi animal

Device type

NVIDIA GeForce RTX 4060

Steps To Reproduce

  1. Within napari-deeplabcut GUI, when machine-labels layer is selected
  2. Ctrl+S or File--> Save Selected Layer(s)

Relevant log output

Traceback (most recent call last):
  File "C:\ProgramData\anaconda3\envs\deeplabcut\lib\site-packages\napari_deeplabcut\_widgets.py", line 655, in <lambda>
    lambda: _save_layers_dialog(
  File "C:\ProgramData\anaconda3\envs\deeplabcut\lib\site-packages\napari_deeplabcut\_widgets.py", line 295, in _save_layers_dialog
    self.viewer.layers.save("", selected=True, plugin="napari-deeplabcut")
  File "C:\ProgramData\anaconda3\envs\deeplabcut\lib\site-packages\napari\utils\_proxies.py", line 188, in __call__
    return self.create(self.__wrapped__(*args, **kwargs))
  File "C:\ProgramData\anaconda3\envs\deeplabcut\lib\site-packages\napari\components\layerlist.py", line 476, in save
    return save_layers(path, layers, plugin=plugin, _writer=_writer)
  File "C:\ProgramData\anaconda3\envs\deeplabcut\lib\site-packages\napari\plugins\io.py", line 229, in save_layers
    _written, writer_name = _write_single_layer_with_plugins(
  File "C:\ProgramData\anaconda3\envs\deeplabcut\lib\site-packages\napari\plugins\io.py", line 460, in _write_single_layer_with_plugins
    raise ValueError(
ValueError: There is no registered plugin named 'napari-deeplabcut'.
Plugins capable of writing layer._type_string layers are: set()

Anything else?

No response

Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions