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

KeyError: 'pixel' in PixelDrawer notebook #11

Closed
voodoohop opened this issue Oct 6, 2021 · 3 comments
Closed

KeyError: 'pixel' in PixelDrawer notebook #11

voodoohop opened this issue Oct 6, 2021 · 3 comments

Comments

@voodoohop
Copy link

I get a KeyError for any of the drawer types I select in the PixelDrawer notebook.

  KeyError                                  Traceback (most recent call last)
  <ipython-input-2-d0093cd52676> in <module>()
       43 # pixray.add_settings(iterations=500, display_every=50)
       44 
  ---> 45 settings = pixray.apply_settings()
       46 pixray.do_init(settings)
       47 pixray.do_run(settings)
  
  /content/pixray/pixray.py in apply_settings()
     1569 
     1570     vq_parser = setup_parser(vq_parser)
  -> 1571     class_table[settings_core.drawer].add_settings(vq_parser)
     1572 
     1573     if len(global_pixray_settings) > 0:
  
  KeyError: 'pixel'
@voodoohop
Copy link
Author

oups. i realized i didn't restart

@ArtemKupriyanov
Copy link

@voodoohop Hi! Tell me how did you solve this problem? I ran into her too

@dribnet
Copy link
Owner

dribnet commented Oct 12, 2021

This is an error generally caused either by not doing "restart runtime" in the menu. (after setup)

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

No branches or pull requests

3 participants