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

vds file with a window column can not be opened #2699

Open
reagle opened this issue Feb 6, 2025 · 0 comments
Open

vds file with a window column can not be opened #2699

reagle opened this issue Feb 6, 2025 · 0 comments
Labels

Comments

@reagle
Copy link
Contributor

reagle commented Feb 6, 2025

Small description

vds file with a window column can not be opened

Data to reproduce

https://people.sc.fsu.edu/~jburkardt/data/csv/biostats.csv

Steps to reproduce

  1. vd https://people.sc.fsu.edu/~jburkardt/data/csv/addresses.csv
  2. c weig
  3. w -1 -1
  4. save as vds file; exit
  5. open vds file and see error with -N: "KeyError: 'WindowColumn'"

Trace

Traceback (most recent call last):
  File "/Users/reagle/.local/share/uv/tools/visidata/lib/python3.13/site-packages/visidata/threads.py", line 227, in _toplevelTryFunc
    t.status = func(*args, **kwargs)
               ~~~~^^^^^^^^^^^^^^^^^
  File "/Users/reagle/.local/share/uv/tools/visidata/lib/python3.13/site-packages/visidata/sheets.py", line 281, in reload
    self.loader()
    ~~~~~~~~~~~^^
  File "/Users/reagle/.local/share/uv/tools/visidata/lib/python3.13/site-packages/visidata/sheets.py", line 306, in loader
    for i, r in enumerate(self.iterload()):
                ~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/Users/reagle/.local/share/uv/tools/visidata/lib/python3.13/site-packages/visidata/loaders/vds.py", line 83, in iterload
    c = globals()[classname](d.pop('name'), sheet=self)
        ~~~~~~~~~^^^^^^^^^^^
KeyError: 'WindowColumn'

Additional context

  • macOS 15.3 24D60 arm64
@reagle reagle added the bug label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant