Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"FileNotFoundError" when use vscode in windows #42

Open
yhj050806 opened this issue Dec 8, 2020 · 7 comments
Open

"FileNotFoundError" when use vscode in windows #42

yhj050806 opened this issue Dec 8, 2020 · 7 comments

Comments

@yhj050806
Copy link

error log:
Traceback (most recent call last):
File "C:\Users\Admin\AppData\Roaming\Python\Python39\site-packages\pyls_jsonrpc\endpoint.py", line 113, in consume
self._handle_request(message['id'], message['method'], message.get('params'))
File "C:\Users\Admin\AppData\Roaming\Python\Python39\site-packages\pyls_jsonrpc\endpoint.py", line 182, in _handle_request
handler_result = handler(params)
File "C:\Users\Admin\AppData\Roaming\Python\Python39\site-packages\pyls_jsonrpc\dispatchers.py", line 23, in handler
return method(**(params or {}))
File "C:\Users\Admin\AppData\Roaming\Python\Python39\site-packages\ffi_navigator\langserver.py", line 62, in m_text_document__definition
source = open(path).readlines()
FileNotFoundError: [Errno 2] No such file or directory: 'c%3A\work\file\technicial_file_record\TVM\incubator-tvm-main\tutorials\language\schedule_primitives.py'

@comaniac
Copy link
Contributor

@masahi it looks like the path issue on Windows?

@masahi
Copy link
Collaborator

masahi commented Dec 18, 2020

Yeah, %3 seems like a space? I don't have access to windows at the moment.

@lygztq
Copy link

lygztq commented Aug 26, 2021

Did you install this package via pip? If so, directly install from source code. The package in pip is too old.

@saurabh-shandilya
Copy link

saurabh-shandilya commented Jul 29, 2022

@lygztq
I encountered similar error, so tried installing from source but now I get a different 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
Python 3.7- ffi-navigator installed via build from source version ffi-navigator==0.5.3 (Anaconda)

@SStarver
Copy link

Help!!!!! Already been driven crazy~~
I've encountered the same question in this issue after solving several other installing problems

image

@saurabh-shandilya
Copy link

@tqchen Can you please help?

@SStarver
Copy link

@tqchen Can you please help?
Any advices would be much appreciated
This problem significantly dispels the passion of TVM beginner like me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants