Skip to content
New issue

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

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

Already on GitHub? # to your account

GraphSheet needs a default help_sidebars. #2601

Closed
anjakefala opened this issue Nov 9, 2024 · 0 comments · Fixed by #2633
Closed

GraphSheet needs a default help_sidebars. #2601

anjakefala opened this issue Nov 9, 2024 · 0 comments · 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.

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

Successfully merging a pull request may close this issue.

1 participant