Archive operations ### Archive operations These codes come from the archive worker, its connection to CDMW, or catalogue recovery. The affected read, query or export stops; an error alone does not mean the archive is corrupt. Check the reported path and stage. Close competing file operations, check access and free space, then retry. After a game or mod update, rescan current sources. For missing or incompatible helpers, use a complete matching CDMW distribution. Repeated crashes, protocol errors or timeouts need the copied error report. **`backend_incompatible`** - The archive helper or library cannot run with this build or architecture. Use matching components. **Source**: [`WorkerServer.cs`](https://github.com/Ratty123/CDMW-Full/blob/main/tools/dotnet_archive_backend/src/Cdmw.FullArchive.Worker/WorkerServer.cs) **`backend_unavailable`** - `The standalone archive backend is unavailable.` **Source**: [`controller.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/ui/archive_browser/controller.py), [`filter_workers.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/ui/archive_browser/filter_workers.py), [`scan_lifecycle.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/ui/archive_browser/scan_lifecycle.py) **`client_shutdown`** - `Archive backend request stopped during application shutdown.` **Source**: [`archive_backend_client.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/ui/shell/archive_backend_client.py) **`dispatch_failed`** - CDMW could not dispatch the archive request. Inspect the accompanying exception and retry after restoring the connection. **Source**: [`archive_catalogue_service.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/archive_catalogue_service.py) **`duplicate_request`** - `The request id is already active.` **Source**: [`WorkerServer.cs`](https://github.com/Ratty123/CDMW-Full/blob/main/tools/dotnet_archive_backend/src/Cdmw.FullArchive.Worker/WorkerServer.cs) **`export_destination_protected`** - CDMW does not write into the game folder or the archive cache. The export destination is inside, contains or leads through a link into one of them; choose a folder outside both, with no junction or symbolic link on its path, and export again. **Source**: [`WorkerServer.cs`](https://github.com/Ratty123/CDMW-Full/blob/main/tools/dotnet_archive_backend/src/Cdmw.FullArchive.Worker/WorkerServer.cs) **`file_sharing`** - Another process holds a conflicting file lock. Close the competing operation and retry. **Source**: [`WorkerServer.cs`](https://github.com/Ratty123/CDMW-Full/blob/main/tools/dotnet_archive_backend/src/Cdmw.FullArchive.Worker/WorkerServer.cs) **`invalid_archive`** - The native reader rejected the archive format. Check that index and data files belong together; this code alone does not prove corruption. **Source**: [`WorkerServer.cs`](https://github.com/Ratty123/CDMW-Full/blob/main/tools/dotnet_archive_backend/src/Cdmw.FullArchive.Worker/WorkerServer.cs) **`invalid_data`** - The worker encountered data that violates the expected structure. Keep the input and include the detail in a report. **Source**: [`WorkerServer.cs`](https://github.com/Ratty123/CDMW-Full/blob/main/tools/dotnet_archive_backend/src/Cdmw.FullArchive.Worker/WorkerServer.cs) **`invalid_result`** - `Archive backend returned an invalid result.` **Source**: [`archive_catalogue_service.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/archive_catalogue_service.py) **`invalid_stream_payload`** - `Archive backend returned an invalid {kind} payload.` **Source**: [`archive_catalogue_service.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/archive_catalogue_service.py) **`item_names_unavailable`** - The item-name catalogue could not be prepared. Check the reported source or indexing warning and rescan. - `Item-name indexing did not produce an available catalogue.` **Source**: [`archive_catalogue_service.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/archive_catalogue_service.py), [`remote_finder_warmup.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/ui/archive_browser/remote_finder_warmup.py) **`operation_timeout`** - The backend operation exceeded its time limit. Inspect the last stage and retry once the cause is addressed. **Source**: [`WorkerServer.cs`](https://github.com/Ratty123/CDMW-Full/blob/main/tools/dotnet_archive_backend/src/Cdmw.FullArchive.Worker/WorkerServer.cs) **`permission_denied`** - The operating system denied file access. Check folder permissions and file protection. **Source**: [`WorkerServer.cs`](https://github.com/Ratty123/CDMW-Full/blob/main/tools/dotnet_archive_backend/src/Cdmw.FullArchive.Worker/WorkerServer.cs) **`process_start_failed`** - `Archive backend process failed to start: {detail}` **Source**: [`archive_backend_client.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/ui/shell/archive_backend_client.py) **`protocol_failure`** - Communication with the archive worker was invalid or incomplete. Restart with matching components and report repeated failures. **Source**: [`archive_backend_client.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/ui/shell/archive_backend_client.py), [`WorkerServer.cs`](https://github.com/Ratty123/CDMW-Full/blob/main/tools/dotnet_archive_backend/src/Cdmw.FullArchive.Worker/WorkerServer.cs) **`protocol_mismatch`** - `Unsupported worker protocol version.` **Source**: [`WorkerServer.cs`](https://github.com/Ratty123/CDMW-Full/blob/main/tools/dotnet_archive_backend/src/Cdmw.FullArchive.Worker/WorkerServer.cs) **`query_recovery_failed`** - `Archive query could not be retried after worker restart.` - `Recovered query could not be dispatched.` - `Recovered query target has an unsupported payload.` **Source**: [`archive_catalogue_service.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/archive_catalogue_service.py) **`recovery_fingerprint_changed`** - `Archive sources changed while the worker was restarting; stale queries were not retried.` **Source**: [`archive_catalogue_service.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/archive_catalogue_service.py) **`recovery_open_failed`** - `Archive session reopen could not be dispatched.` **Source**: [`archive_catalogue_service.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/archive_catalogue_service.py) **`recovery_session_missing`** - `Archive session could not be reopened after worker restart.` **Source**: [`archive_catalogue_service.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/archive_catalogue_service.py) **`request_stalled`** - `Archive operation stopped making progress for five minutes.` **Source**: [`archive_catalogue_service.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/archive_catalogue_service.py) **`source_missing`** - A source file or directory no longer exists. Check the configured path and rescan. **Source**: [`WorkerServer.cs`](https://github.com/Ratty123/CDMW-Full/blob/main/tools/dotnet_archive_backend/src/Cdmw.FullArchive.Worker/WorkerServer.cs) **`stale_generation`** - `Archive backend request was superseded before dispatch.` - `Archive backend response was invalidated by a newer UI generation.` **Source**: [`archive_backend_client.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/ui/shell/archive_backend_client.py) **`stale_response`** - `Archive backend response correlation failed.` **Source**: [`archive_backend_client.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/ui/shell/archive_backend_client.py) **`startup_timeout`** - The archive helper did not become ready within the startup limit. Check missing files, security blocking and the diagnostic tail. - `Archive backend did not become ready within 10 seconds.` **Source**: [`archive_backend_client.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/ui/shell/archive_backend_client.py) **`unknown_error`** - The failing component supplied no recognized code. Preserve the complete message and diagnostic report. **Source**: [`archive_catalogue_service.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/archive_catalogue_service.py) **`unsupported_ignored_folders`** - `The archive backend does not support custom ignored folders. Update or rebuild CDMW before scanning with these exclusions.` **Source**: [`archive_backend_client.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/ui/shell/archive_backend_client.py) **`unsupported_operation`** - The backend does not support the requested operation or input. Use a supported route. - `Unsupported worker operation '{request.Operation}'.` **Source**: [`WorkerRuntime.cs`](https://github.com/Ratty123/CDMW-Full/blob/main/tools/dotnet_archive_backend/src/Cdmw.FullArchive.Worker/WorkerRuntime.cs), [`WorkerServer.cs`](https://github.com/Ratty123/CDMW-Full/blob/main/tools/dotnet_archive_backend/src/Cdmw.FullArchive.Worker/WorkerServer.cs) **`worker_crashed`** - `Archive backend stopped unexpectedly.` - `The archive worker exited before this operation could start.` - `Unresponsive archive worker is being stopped.` **Source**: [`archive_catalogue_service.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/services/archive_catalogue_service.py), [`archive_backend_client.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/ui/shell/archive_backend_client.py) **`worker_failure`** - An unclassified worker exception occurred. The full exception detail is needed to diagnose it. - `Archive backend request failed.` **Source**: [`archive_backend_client.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/ui/shell/archive_backend_client.py), [`WorkerServer.cs`](https://github.com/Ratty123/CDMW-Full/blob/main/tools/dotnet_archive_backend/src/Cdmw.FullArchive.Worker/WorkerServer.cs) **`worker_missing`** - The archive executable or a required library is missing. Restore a complete matching CDMW installation. **Source**: [`archive_backend_client.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/ui/shell/archive_backend_client.py), [`WorkerServer.cs`](https://github.com/Ratty123/CDMW-Full/blob/main/tools/dotnet_archive_backend/src/Cdmw.FullArchive.Worker/WorkerServer.cs) **`write_failed`** - `Archive backend request could not be written.` **Source**: [`archive_backend_client.py`](https://github.com/Ratty123/CDMW-Full/blob/main/cdmw/ui/shell/archive_backend_client.py) CDMW 0.12.0-alpha.8