Skip to content

bug: When the folder that is currently open is deleted from the terminal, it causes errors #1719

Description

@pykelysia

What's broken

After viewing the contents of a subfolder in Paseo Desktop, I deleted that folder from another terminal.

Paseo's file system then attempted to access the contents of the deleted folder and threw an error such as:

ENOENT: no such file or directory, stat '/home/newos/dev/run-vibe2game/src'

After retrying, the application appears to recover and return to a normal state. However, refreshing again triggers the same error, causing the issue to repeat in a loop.

It may be better to stop monitoring or displaying the contents of a subfolder once it is detected that the folder no longer exists.

Steps to reproduce

  1. Open desktop paseo
  2. create a dir and open it
  3. delete it in another terminal
  4. it append

Where did this happen

Desktop (Electron)

Paseo version

v0.1.100

OS version

No response

Agent provider

None

Provider configuration

No response

Logs


Screenshots or video

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions