Skip to content

Trying to add new pipeline after moving old one fails #70

Closed

Description

@popjell

After moving a pipeline that I used in a previous session, I get an error when clicking the add button:
OSError: [Errno 19] No such device: '/mnt/d/axotomy_testing/2026-02-03/Stitched_Plates/TS_MFD_PRE_P1_20260203__2026-02-03T19_23_43-Measurement 1_stitched'.

There should be a way to skip auto adding plates that are in cache if they can no longer be found in that location. Right now, I have to manually delete path_cache.json

Activity

  1. trissim commented on Aug 1, 2026

    @trissim
    Collaborator

    Verified fixed on current main. UnifiedPathCache.get_cached_path() validates the persisted path, removes a missing entry, persists the cleaned cache, and get_initial_path() falls back to the supplied valid directory (then home). Draft PR #99 adds an exact regression that starts with a moved pipeline path and proves both fallback and cache cleanup.

    Closing as completed.

  2. added
    bug
    on Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugui

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions