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

[notebook_shortcode]object has no attribute 'handler' #410

Open
ifurther opened this issue May 9, 2022 · 0 comments
Open

[notebook_shortcode]object has no attribute 'handler' #410

ifurther opened this issue May 9, 2022 · 0 comments

Comments

@ifurther
Copy link

ifurther commented May 9, 2022

Traceback (most recent call last):
File "/home/user/lib/bin/nikola", line 8, in
sys.exit(main())
File "/home/user/lib/lib/python3.8/site-packages/nikola/main.py", line 166, in main
_ = DN.run(oargs)
File "/home/user/lib/lib/python3.8/site-packages/nikola/main.py", line 352, in run
self.nikola.init_plugins(load_all=True)
File "/home/user/lib/lib/python3.8/site-packages/nikola/nikola.py", line 1176, in init_plugins
self._activate_plugins_of_category("ShortcodePlugin")
File "/home/user/lib/lib/python3.8/site-packages/nikola/nikola.py", line 1334, in _activate_plugins_of_category
plugin_info.plugin_object.set_site(self)
File "/home/user/docs/plugins/notebook_shortcode/notebook_shortcode.py", line 47, in set_site
super(NotebookShortcodePlugin, self).set_site(site)
File "/home/user/lib/lib/python3.8/site-packages/nikola/plugin_categories.py", line 492, in set_site
site.register_shortcode(self.name, self.handler)
AttributeError: 'NotebookShortcodePlugin' object has no attribute 'handler'

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

1 participant