Skip to content

'NoneType' object has no attribute 'storage_path' on 4205 #280

@akrabat

Description

@akrabat

I have this problem on 4205 on my Mac.

Output of LSP: Troubleshoot server:

Troubleshooting: LSP-copilot

Version

  • LSP: 2.10.2
  • Sublime Text: 4205

Server Test Run

  • exit code: -1
  • output
'NoneType' object has no attribute 'storage_path'

Server Configuration

  • command
[
  "$server_path",
  "--stdio"
]
  • shell command
  • selector
source | text | embedding
  • priority_selector
source | text | embedding
  • init_options
{}
  • settings
{
  "auto_ask_completions": true,
  "commit_completion_on_tab": true,
  "completion_style": "popup",
  "debug": false,
  "hook_to_auto_complete_command": false,
  "local_checks": false,
  "prompts": [
    {
      "description": "Review code and provide feedback.",
      "id": "review",
      "prompt": [
        "Review the referenced code and provide feedback.",
        "Feedback should first reply back with the line or lines of code, followed by the feedback about the code.",
        "Do not invent new problems.",
        "The feedback should be constructive and aim to improve the code quality.",
        "If there are no issues detected, reply that the code looks good and no changes are necessary.",
        "Group related feedback into a single comment if possible.",
        "Present each comment with a brief description of the issue and a suggestion for improvement.",
        "Use the format `Comment #: [description] [suggestion]` for each comment, # representing the number of comments.",
        "At last provide a summary of the overall code quality and any general suggestions for improvement."
      ]
    }
  ],
  "proxy": "",
  "status_text": "{% if is_copilot_ignored %}{{ is_copilot_ignored }}{% elif is_waiting %}{{ is_waiting }}{% elif server_status_kind == 'InProgress' %}{{ server_status_message }}{% elif server_version %}v{{ server_version }}{% endif %}",
  "telemetry": {
    "telemetryLevel": null
  }
}
  • env
{}

Active view

  • File name
None
  • Settings
{
  "auto_complete_selector": null,
  "lsp_active": null,
  "syntax": null
}

Project / Workspace

  • folders
[]
  • is project: False

LSP configuration

{
  "show_inlay_hints": true
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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