anthropics / anthropics/claude-code

Sidebar shows "session file could not be opened, link or placeholder" for active sessions after restart

Offen
#93,009 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:desktop bug platform:windows
Vorherrschende Sprache
Python
Sterne
145k
Forks
23.1k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

## Description
The session history sidebar shows the error "Diese Sitzung konnte nicht geladen werden / Diese Sitzungsdatei wurde nicht geöffnet, da es sich offenbar um einen Link oder einen Platzhalter und nicht um eine normale Datei handelt." ("This session could not be loaded / This session file was not opened, because it appears to be a link or a placeholder rather than a normal file.") for sessions in the sidebar, including the currently active, live session.

## Steps to reproduce
1. Have an active conversation in the desktop app
2. Restart the app (fully closed and reopened)
3. The sidebar entry for the session (including the one just restored/active) shows the above error
4. Clicking "Retry" does not resolve it

## Expected behavior
Sessions should load normally in the sidebar.

## Actual behavior
Error dialog shown, persists even after a clean app restart.

## Additional context
- Verified on disk that the underlying `.jsonl` transcript file for the affected session is a completely normal, valid, regular file (not a symlink or reparse point), checked multiple times including immediately before and after the error appeared.
- Happens even while the session is actively being used (live, ongoing conversation), not just for old/stale sessions.
- Platform: Windows 10 Pro 10.0.19045, project directory on local disk, some other projects on a mapped network share.
- "Retry" button in the error dialog does not recover the session.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Reproduce on Windows by starting an active conversation in the desktop app, fully restarting it, and checking the session history sidebar. Inspect the session-loading path for sidebar entries and how it opens the underlying .jsonl transcript files. Done means normal regular transcript files load after restart, including the active session, and Retry no longer leaves the same error.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
desktop, frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
58/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.