-
-
Notifications
You must be signed in to change notification settings - Fork 282
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
[windows] VisiData must be run using WSL #2172
Comments
Hey @wcheek, what happens if you use |
|
I get a few more notifications at least but the file still doesn't open and D:\Projects\RiceMiller\RawData>visidata --version
saul.pw/VisiData v3.0dev
D:\Projects\RiceMiller\RawData>visidata faa-wildlife-strikes.csv
saul.pw/VisiData v3.0dev
opening faa-wildlife-strikes.csv as csv
D:\Projects\RiceMiller\RawData>vd faa-wildlife-strikes.csv
'vd' is not recognized as an internal or external command,
operable program or batch file. |
Try running with |
@saulpw same behavior with a small stack trace? D:\Projects\RiceMiller\RawData>visidata --debug faa-wildlife-strikes.csv
saul.pw/VisiData v3.0dev
opening faa-wildlife-strikes.csv as csv [visidata\_open.py:137:openPath]
D:\Projects\RiceMiller\RawData> In else:
print("Here!")
vs = vd.openPath(
Path(p), filetype=filetype, create=create
) # convert to Path and recurse
|
How did you install VisiData, @wcheek? You said you're running on Windows, is this with WSL? |
I installed it using the recommended way: I have WSL installed, but I am running |
Try installing it inside WSL and running it there. Or, you could try installing from the unreleased develop branch. v2.11.1 definitely works for other users under WSL. |
@saulpw confirmed v2.11.1 works in WSL. No offense, but it seems like a serious problem if it's not working on Windows, even the v.3.0dev version. Let me know if you need more information from my system. |
None of us on the dev team use Windows, so I don't believe it's ever worked on Windows outside of WSL. I think the correct fix here is to remove any hint from https://visidata.org/install that it might work without WSL. If anyone is interested in getting VisiData to work on Windows apart from WSL, please get in touch! |
Small description
visidata
doesn't work. I'm running Windows 10 ProVersion 10.0.19045 Build 19045
. I'm on a Japanese laptop, so maybe encoding is throwing things off.Expected result
visidata <file>
would open a file.Actual result with screenshot
When I try to run eg
visidata faa-wildlife-strikes.csv
, it hangs for a moment and then returns me to the command prompt without displaying anything:When I run
visidata -h
I get aUnicodeDecodeError
:Steps to reproduce with sample data and a .vd
When I run
Nothing happens.
Additional context
D:\Projects\RiceMiller\RawData>visidata --version saul.pw/VisiData v2.11.1
Python 3.12.0
I was able to fix the
visidata -h
UnicodeDecodeError
by explicitly specifyingencoding="utf-8"
in line 113 ofmain.py
, but so far unable to figure out how to actually get files opening.The text was updated successfully, but these errors were encountered: