Skip to content

RemotePlotterProxyBase is undefined at runtime on macOS in two view modules #20

Description

@BrennanTM

On macOS (where DefaultBackgroundPlotter is RemotePlotterProxy is False), two modules import RemotePlotterProxyBase only inside that guarded branch but reference it unconditionally later:

  • Navigator/GUI/ViewPanels/VisualizedROI.py: import at line 26 (guarded), use at line 69 (isinstance(self._linked3DView.plotter, RemotePlotterProxyBase))
  • Navigator/GUI/ViewPanels/NavigatePanel/ViewLayers/SampleMetadataOrientationsLayer.py: import at line 21 (guarded), use at line 236

So those code paths raise NameError when reached on macOS. Latent — I haven't hit it in practice — but noting it since macOS in-process plotting is otherwise supported. Suggested fix: import RemotePlotterProxyBase unconditionally (it's importable regardless of platform), or guard the isinstance checks the same way the imports are.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions