Git Product home page Git Product logo

Comments (6)

saurabh-shandilya avatar saurabh-shandilya commented on June 14, 2024

@tqchen

I am encountering similar error -

"UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 2228: character maps to << undefined >>"

My environment setting
Windows 11.
VSCode 1.69.2 - VSCode extension downloaded and installed via marketplace (version 0.7.0)
Python 3.7- ffi-navigator installed via build from source version ffi-navigator==0.5.3 (Anaconda)

Log from VSCode output window for ffi-navigator

[2022-07-28 18:29:47,488] Failed to handle request 1
Traceback (most recent call last):
  File "C:\Anaconda3\lib\site-packages\pyls_jsonrpc\endpoint.py", line 178, in _handle_request
    handler = self._dispatcher[method]
  File "C:\Anaconda3\lib\site-packages\pyls_jsonrpc\dispatchers.py", line 26, in __getitem__
    raise KeyError()
KeyError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Anaconda3\lib\site-packages\pyls_jsonrpc\endpoint.py", line 113, in consume
    self._handle_request(message['id'], message['method'], message.get('params'))
  File "C:\Anaconda3\lib\site-packages\pyls_jsonrpc\endpoint.py", line 180, in _handle_request
    raise JsonRpcMethodNotFound.of(method)
pyls_jsonrpc.exceptions.JsonRpcMethodNotFound: Method Not Found: shutdown

Any help/advise to fix this is really appreciated.
Thanks

@gganduu Were you able to solve this?

from ffi-navigator.

Biubiubiu12 avatar Biubiubiu12 commented on June 14, 2024

@gganduu hi,I have the same problem as you, how did you solve it?Thank you for your reply。

from ffi-navigator.

gganduu avatar gganduu commented on June 14, 2024

@gganduu hi,I have the same problem as you, how did you solve it?Thank you for your reply。

Actually, I did not do anything, just vscode updated by requested by company, then reinstall this ffi and pip install it, then it works on my side now~~

from ffi-navigator.

gganduu avatar gganduu commented on June 14, 2024

Please try to update your vscode to the latest version, and try again

from ffi-navigator.

Biubiubiu12 avatar Biubiubiu12 commented on June 14, 2024

@gganduu hi,I have the same problem as you, how did you solve it?Thank you for your reply。

Actually, I did not do anything, just vscode updated by requested by company, then reinstall this ffi and pip install it, then it works on my side now~~

Thanks!After I updated vscode as you said, it still doesn't work, the error reported is still “UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 5143: ordinal not in range(128)”.

from ffi-navigator.

continue-revolution avatar continue-revolution commented on June 14, 2024

Please see my pull request #52

I met the same problem and resolved in this way.

from ffi-navigator.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.