Skip to content

[Bug] Zod "invalid_enum_value" validation error in logs with Linux version 0.3.15 (build: 11) #85

@MarArMar

Description

@MarArMar

While exploring a problem linked to models not downloading, I saw this error in the logs :

[2025-04-30 10:28:11.305] [info]  [AppUpdater] Update channel set to 'stable'
[2025-04-30 10:28:11.379] [info]  Hardware survey for general system resources through 'vulkan' took 66.32ms
[2025-04-30 10:28:11.452] [info]  [AppUpdater] Checking for updates... (current state: idle)
[2025-04-30 10:28:11.452] [info]  AppUpdater state changed to checking-for-updates-periodic
[2025-04-30 10:28:11.452] [info]  [AppUpdater] Fetching version info from https://versions-prod.lmstudio.ai/update/linux/x86/0.3.15
[2025-04-30 10:28:11.853] [info]  [AppUpdater] Received version info response
[2025-04-30 10:28:11.853] [info]  [AppUpdater] Current version: 0.3.15 (build: 11), new version: 0.3.15 (build: 11)
[2025-04-30 10:28:11.853] [info]  No update available: 0.3.15 (build: 11) <= 0.3.15 (build: 11)
[2025-04-30 10:28:11.853] [info]  AppUpdater state changed to idle
[2025-04-30 10:28:12.496] [error] [DelayedInitProvider] Error running delayed init: ModelIndexProvider Error: NSFW was unable to start watching that directory.
[2025-04-30 10:28:13.764] [warn]  Failed to survey hardware with engine '[email protected]': LMSCore load lib failed - child process with PID 36013 exited with code 1
[2025-04-30 10:28:13.830] [error] [RuntimeIndexProvider] Failed to watch runtimes folder Error: NSFW was unable to start watching that directory.
[2025-04-30 10:28:14.216] [error] [CachedFileDataProvider] Error reading file at /home/me/.lmstudio/.internal/ui-state/window-1.json ZodError: [
  {
    "received": "chat",
    "code": "invalid_enum_value",
    "options": [
      "context",
      "plugins",
      "model"
    ],
    "path": [
      "chat",
      "activeToolSidebarTab"
    ],
    "message": "Invalid enum value. Expected 'context' | 'plugins' | 'model', received 'chat'"
  }
]
    at get error (/tmp/.mount_LM-Stu0Gxbhi/resources/app/.webpack/main/index.js:7:1603510)
    at _0x50da72.parse (/tmp/.mount_LM-Stu0Gxbhi/resources/app/.webpack/main/index.js:7:1607522)
    at _0x1014a5.SimpleAutoMergingCachedFileAccessor.deserialize (/tmp/.mount_LM-Stu0Gxbhi/resources/app/.webpack/main/index.js:92:5147)
    at [deserialize] (/tmp/.mount_LM-Stu0Gxbhi/resources/app/.webpack/main/index.js:92:3903)
    at _0x1014a5.<computed>.readData (/tmp/.mount_LM-Stu0Gxbhi/resources/app/.webpack/main/index.js:92:1111)
    at async _0x1014a5.<computed>.createAndRefObservedFileData (/tmp/.mount_LM-Stu0Gxbhi/resources/app/.webpack/main/index.js:90:1389)
    at async _0x1014a5.<computed>.obtainObservedFileData (/tmp/.mount_LM-Stu0Gxbhi/resources/app/.webpack/main/index.js:90:3798)

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