Skip to content

ValueError: line parameter is not in a valid range #14

@breitburg

Description

@breitburg

I specified Python Language Server executable, and after that I've got an error ValueError: 'line' parameter is not in a valid range.

Here is the full log:

Python[22:21:22.177000] pyls.executable: /Library/Frameworks/Python.framework/Versions/3.8/bin/pyls
Python[22:21:22.177000] pyls.enableLogging: true
Python[22:21:22.178000] pyls.logPath: null is null. Returning /tmp/pyls.log
Python[22:21:22.394000] pyls.configurationSources: pycodestyle
Python[22:21:22.394000] pyls.rope.extensionModules: null is null. Returning undefined
Python[22:21:22.394000] pyls.rope.ropeFolder: null is null. Returning undefined
Python[22:21:22.394000] pyls.plugins.jedi.enabled: true
Python[22:21:22.394000] pyls.plugins.jedi.extra_paths: null is null. Returning undefined
Python[22:21:22.395000] pyls.plugins.jedi.env_vars: null is null. Returning undefined
Python[22:21:22.395000] pyls.plugins.jedi.workspace.environment: null is null. Returning undefined
Python[22:21:22.395000] Workspace Jedi environment undefined. Using global value
Python[22:21:22.395000] pyls.plugins.jedi.environment: null is null. Returning undefined
Python[22:21:22.395000] pyls.plugins.jedi_completion.enabled: true
Python[22:21:22.395000] pyls.plugins.jedi_completion.fuzzy: true
Python[22:21:22.395000] pyls.plugins.jedi_completion.include_params: false
Python[22:21:22.395000] pyls.plugins.jedi_completion.include_class_objects: true
Python[22:21:22.396000] pyls.plugins.jedi_definition.enabled: true
Python[22:21:22.396000] pyls.plugins.jedi_definition.follow_imports: true
Python[22:21:22.396000] pyls.plugins.jedi_definition.follow_builtin_imports: true
Python[22:21:22.396000] pyls.plugins.jedi_hover.enabled: true
Python[22:21:22.396000] pyls.plugins.jedi_references.enabled: true
Python[22:21:22.396000] pyls.plugins.jedi_signature_help.enabled: true
Python[22:21:22.397000] pyls.plugins.jedi_symbols.enabled: true
Python[22:21:22.397000] pyls.plugins.jedi_symbols.all_scopes: true
Python[22:21:22.397000] pyls.plugins.mccabe.enabled: true
Python[22:21:22.397000] pyls.plugins.mccabe.threshold: 15
Python[22:21:22.397000] pyls.plugins.preload.enabled: true
Python[22:21:22.397000] pyls.plugins.preload.modules: null is null. Returning undefined
Python[22:21:22.397000] pyls.plugins.pycodestyle.enabled: true
Python[22:21:22.397000] pyls.plugins.pycodestyle.exclude: null is null. Returning undefined
Python[22:21:22.398000] pyls.plugins.pycodestyle.filename: null is null. Returning undefined
Python[22:21:22.398000] pyls.plugins.pycodestyle.select: null is null. Returning undefined
Python[22:21:22.398000] pyls.plugins.pycodestyle.ignore: null is null. Returning undefined
Python[22:21:22.398000] pyls.plugins.pycodestyle.hangClosing: null is null. Returning undefined
Python[22:21:22.398000] pyls.plugins.pycodestyle.maxLineLength: 79
Python[22:21:22.398000] pyls.plugins.pydocstyle.enabled: false
Python[22:21:22.398000] pyls.plugins.pydocstyle.convention: null is null. Returning undefined
Python[22:21:22.398000] pyls.plugins.pydocstyle.addIgnore: null is null. Returning undefined
Python[22:21:22.399000] pyls.plugins.pydocstyle.addSelect: null is null. Returning undefined
Python[22:21:22.399000] pyls.plugins.pydocstyle.ignore: null is null. Returning undefined
Python[22:21:22.399000] pyls.plugins.pydocstyle.select: null is null. Returning undefined
Python[22:21:22.399000] pyls.plugins.pydocstyle.match: (?!test_).*\.py
Python[22:21:22.400000] pyls.plugins.pydocstyle.matchDir: [^\.].*
Python[22:21:22.400000] pyls.plugins.pylint.enabled: false
Python[22:21:22.400000] pyls.plugins.pylint.args: null is null. Returning undefined
Python[22:21:22.400000] pyls.plugins.pylint.executable: null is null. Returning undefined
Python[22:21:22.401000] pyls.plugins.rope_completion.enabled: false
Python[22:21:22.401000] pyls.plugins.pyflakes.enabled: true
Python[22:21:22.401000] pyls.plugins.pylint.enabled: false
Python[22:21:22.401000] pyls.plugins.yapf.enabled: true
Python[22:21:22.401000] pyls.plugins.pydocstyle.enabled: false
Python[22:21:22.401000] pyls.plugins.pyls_mypy.enabled: false
Python[22:21:22.401000] pyls.plugins.pyls_mypy.live_mode: false
Python[22:21:22.402000] pyls.plugins.pyls_black.enabled: false
Python[22:21:22.402000] pyls.plugins.pyls_isort.enabled: false
Python[22:21:22.402000] Added Language Client to subscriptions.
Python Language Server[22:21:26.513000] ValueError: `line` parameter is not in a valid range.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions