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

GraphSheet needs a default help_sidebars. #2601

Open
anjakefala opened this issue Nov 9, 2024 · 0 comments · May be fixed by #2633
Open

GraphSheet needs a default help_sidebars. #2601

anjakefala opened this issue Nov 9, 2024 · 0 comments · May be fixed by #2633
Labels

Comments

@anjakefala
Copy link
Collaborator

Small description

vd -p tests/graphPR-nosave.vd

And then press b to toggle sidebar.

You get this error:

Traceback (most recent call last):
  File "/home/anja/git/visidata/visidata/sidebar.py", line 115, in drawSidebar
    sidebar, title = sheet.help_sidebars[vd.disp_help%len(sheet.help_sidebars)]()
                                         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
ZeroDivisionError: integer modulo by zero

Apparently, there are 0 sheet.help_sidebars on GraphSheet.

@anjakefala anjakefala added the bug label Nov 9, 2024
@midichef midichef linked a pull request Dec 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant