Comments (6)
This is not a bug. Please update to rust 1.67 or higher.
from pylyzer.
And the VSCode extension works just by installing it. There is no need to change its settings.
from pylyzer.
This is not a bug. Please update to rust 1.67 or higher.
Thanks! I updated to 1.68 (from 1.66) and it worked.
And the VSCode extension works just by installing it. There is no need to change its settings.
I installed the latest version (0.1.3) and didn't change any settings, and now it launches, but it fails shortly after:
[Info - 5:14:33 PM] load_modules
[Info - 5:14:33 PM] initializing ELS
[Info - 5:14:36 PM] successfully bound
[Error - 5:14:36 PM] Request textDocument/codeAction failed.
Message: Cannot call write after a stream was destroyed
Code: -32099
[Info - 5:14:36 PM] Connection to server got closed. Server will restart.
true
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /home/hoppingturtles/.cargo/registry/src/github.com-1ecc6299db9ec823/erg_parser-0.6.8-nightly.0/desugar.rs:830:37
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Info - 5:14:36 PM] load_modules
[Info - 5:14:36 PM] initializing ELS
[Info - 5:14:36 PM] successfully bound
[Error - 5:14:36 PM] Request textDocument/codeAction failed.
Message: Cannot call write after a stream was destroyed
Code: -32099
[Info - 5:14:36 PM] Connection to server got closed. Server will restart.
true
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /home/hoppingturtles/.cargo/registry/src/github.com-1ecc6299db9ec823/erg_parser-0.6.8-nightly.0/desugar.rs:830:37
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Info - 5:14:37 PM] load_modules
[Info - 5:14:37 PM] initializing ELS
[Info - 5:14:37 PM] successfully bound
[Info - 5:14:37 PM] textDocument/didOpen: file:///mnt/c/users/[omitted]/documents/pyprojects/python-telegram-bot/telegram/_bot.py
[Info - 5:14:37 PM] checking file:///mnt/c/users/[omitted]/documents/pyprojects/python-telegram-bot/telegram/_bot.py
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /home/hoppingturtles/.cargo/registry/src/github.com-1ecc6299db9ec823/erg_parser-0.6.8-nightly.0/desugar.rs:830:37
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Info - 5:14:37 PM] Connection to server got closed. Server will restart.
true
[Info - 5:14:37 PM] load_modules
[Info - 5:14:37 PM] initializing ELS
[Info - 5:14:37 PM] successfully bound
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /home/hoppingturtles/.cargo/registry/src/github.com-1ecc6299db9ec823/erg_parser-0.6.8-nightly.0/desugar.rs:830:37
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Info - 5:14:37 PM] textDocument/didOpen: file:///mnt/c/users/[omitted]/documents/pyprojects/python-telegram-bot/telegram/_bot.py
[Info - 5:14:37 PM] Connection to server got closed. Server will restart.
true
[Info - 5:14:38 PM] load_modules
[Info - 5:14:38 PM] initializing ELS
[Info - 5:14:38 PM] successfully bound
[Info - 5:14:38 PM] textDocument/didOpen: file:///mnt/c/users/[omitted]/documents/pyprojects/python-telegram-bot/telegram/_bot.py
[Info - 5:14:38 PM] checking file:///mnt/c/users/[omitted]/documents/pyprojects/python-telegram-bot/telegram/_bot.py
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /home/hoppingturtles/.cargo/registry/src/github.com-1ecc6299db9ec823/erg_parser-0.6.8-nightly.0/desugar.rs:830:37
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Error - 5:14:38 PM] The pylyzer server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
from pylyzer.
I installed the latest version (0.1.3) and didn't change any settings, and now it launches, but it fails shortly after:
This was a bug. It should be fixed in the latest version.
from pylyzer.
This was a bug. It should be fixed in the latest version.
Hmm, the extension still isn't working (v0.1.3). I updated pylyzer from cargo to v0.0.12.
[Info - 12:05:30 PM] load_modules
[Info - 12:05:31 PM] initializing ELS
[Info - 12:05:31 PM] successfully bound
[Info - 12:05:31 PM] textDocument/didOpen: file:///mnt/c/users/[omitted]documents/pyprojects/python-telegram-bot/telegram/_bot.py
[Info - 12:05:33 PM] checking file:///mnt/c/users/[omitted]/documents/pyprojects/python-telegram-bot/telegram/_bot.py
[Info - 12:05:34 PM] Connection to server got closed. Server will restart.
true
thread 'main' panicked at 'internal error: entered unreachable code: {.default_backend = .default_backend}', /home/hoppingturtles/.cargo/registry/src/github.com-1ecc6299db9ec823/erg_compiler-0.6.8-nightly.1/context/register.rs:139:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Info - 12:05:35 PM] initializing ELS
[Info - 12:05:35 PM] successfully bound
[Info - 12:05:35 PM] textDocument/didOpen: file:///mnt/c/users/[omitted]/documents/pyprojects/python-telegram-bot/telegram/_bot.py
[Info - 12:05:35 PM] checking file:///mnt/c/users/[omitted]/documents/pyprojects/python-telegram-bot/telegram/_bot.py
thread 'main' panicked at 'internal error: entered unreachable code: {.default_backend = .default_backend}', /home/hoppingturtles/.cargo/registry/src/github.com-1ecc6299db9ec823/erg_compiler-0.6.8-nightly.1/context/register.rs:139:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Info - 12:05:39 PM] Connection to server got closed. Server will restart.
true
[Info - 12:05:39 PM] initializing ELS
[Info - 12:05:39 PM] successfully bound
[Info - 12:05:39 PM] textDocument/didOpen: file:///mnt/c/users/[omitted]/documents/pyprojects/python-telegram-bot/telegram/_bot.py
[Info - 12:05:39 PM] checking file:///mnt/c/users/[omitted]/documents/pyprojects/python-telegram-bot/telegram/_bot.py
thread 'main' panicked at 'internal error: entered unreachable code: {.default_backend = .default_backend}', /home/hoppingturtles/.cargo/registry/src/github.com-1ecc6299db9ec823/erg_compiler-0.6.8-nightly.1/context/register.rs:139:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Info - 12:05:42 PM] Connection to server got closed. Server will restart.
true
[Info - 12:05:42 PM] load_modules
[Info - 12:05:43 PM] initializing ELS
[Info - 12:05:43 PM] successfully bound
[Info - 12:05:43 PM] textDocument/didOpen: file:///mnt/c/users/[omitted]/documents/pyprojects/python-telegram-bot/telegram/_bot.py
[Info - 12:05:43 PM] checking file:///mnt/c/users/[omitted]/documents/pyprojects/python-telegram-bot/telegram/_bot.py
thread 'main' panicked at 'internal error: entered unreachable code: {.default_backend = .default_backend}', /home/hoppingturtles/.cargo/registry/src/github.com-1ecc6299db9ec823/erg_compiler-0.6.8-nightly.1/context/register.rs:139:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Info - 12:05:46 PM] Connection to server got closed. Server will restart.
true
[Info - 12:05:46 PM] load_modules
[Info - 12:05:46 PM] initializing ELS
[Info - 12:05:46 PM] successfully bound
[Info - 12:05:46 PM] textDocument/didOpen: file:///mnt/c/users/[omitted]/documents/pyprojects/python-telegram-bot/telegram/_bot.py
[Info - 12:05:46 PM] checking file:///mnt/c/users/[omitted]/documents/pyprojects/python-telegram-bot/telegram/_bot.py
thread 'main' panicked at 'internal error: entered unreachable code: {.default_backend = .default_backend}', /home/hoppingturtles/.cargo/registry/src/github.com-1ecc6299db9ec823/erg_compiler-0.6.8-nightly.1/context/register.rs:139:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Error - 12:05:49 PM] The pylyzer server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
I get the same error when trying from the command line: pylyzer telegram/_bot.py
. The file I'm referencing is available here, if that helps.
from pylyzer.
The relevant bugs have been fixed.
from pylyzer.
Related Issues (20)
- Failure to install with cargo HOT 4
- pylyzer can't find libraries HOT 1
- Mason: How do I specify python environment to use in pylyzer? HOT 2
- Crash on parsing call statement HOT 2
- pre-commit hook HOT 1
- Error with pip installation HOT 1
- How to run pylyzer ? HOT 2
- Cargo install fails, E0046 HOT 6
- operator.itemgetterを使うとエラーになる
- Add to langserver.org HOT 2
- vnf
- Cargo Install Fail HOT 3
- similar name python module exist: csv HOT 1
- panic with `%<number> is fixed`
- How to setup with sublime text? HOT 1
- VSCode extension: Client pylyzer: connection to server is erroring. Shutting down server. HOT 1
- pylyzer's trange complection behavior in neovim
- `poetry add pylyzer` Failed RunTimeError HOT 1
- Stack overflow when used from nVim
- Comparison to MyPy --strict
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pylyzer.