visidata icon indicating copy to clipboard operation
visidata copied to clipboard

visidata silently fails under Windows with Python 3.12 (3.11 fine)

Open clach04 opened this issue 5 months ago • 2 comments

Small description

visidata fails to load/display files without error

Expected result

visidata to load correctly (or report an error)

Actual result with screenshot If you get an unexpected error, please include the full stack trace that you get with Ctrl-E.

Steps to reproduce with sample data and a .vd

Either pip install visidata or from source code

  1. follow https://github.com/saulpw/visidata/blob/6a1f17c961d3a4cc32b198b018169198f7e4e4c3/README.md?plain=1#L30 pip3 install git+https://github.com/saulpw/visidata.git@develop
  2. run visidata

Will see version information, but process exits without UI showing.

I tried different tags with no success. Works fine with Python

Calling with a parameter, appears to load as there is a message to that effect but no UI loads up.

First try reproducing without any user configuration by using the flag -N. e.g. echo "abc" | vd -f txt -N

Please attach the commandlog (saved with Ctrl-D) to show the steps that led to the issue. See here for more details.

Additional context Please include the version of VisiData and Python.

any 3.0.x and 3.1

Python 3.12

(py312visidata_pip) C:\tmp>visidata
saul.pw/VisiData v3.0.2

(py312visidata_pip) C:\tmp>python
Python 3.12.0 (tags/v3.12.0:0fb18b0, Oct  2 2023, 13:03:39) [MSC v.1935 64 bit (AMD64)] on win32

clach04 avatar Jan 23 '24 19:01 clach04