-
Notifications
You must be signed in to change notification settings - Fork 641
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
When I install a minimal plugin, it breaks the portal #640
Comments
Your plugin looks fine. I don't have access to my computer at the moment (not sure when I have though..). I can't have a closer look at your problem atm - sorry! |
@exelotl, looks like problem in wrong hook name in Current is: @hookimpl
def flaskbb_tpl_before_navigation():
return render_template("atom_navlink.html") Need to change to: @hookimpl
def flaskbb_tpl_navigation_before():
return render_template("atom_navlink.html") After changing hook name, the download of the file is successful. P.S. |
@nikita-popov Oh thanks, that is indeed a problem. But unfortunately it doesn't seem to fix the issue with the Portal plugin being broken while my plugin is installed. Does my plugin break the Portal for you too? |
No, both works fine after that fix. |
Hi, I wrote a super simple plugin which adds an atom feed to flaskbb: https://git.sr.ht/~exelotl/flaskbb-plugin-atom
If I run
pip install flaskbb-plugin-atom
(in my virtualenv) then the flaskbb portal plugin stops working, as pictured below:If I remove my plugin with
pip uninstall flaskbb-plugin-atom
then the portal starts working again.This would lead me to believe there's something wrong with my plugin, but it's about as simple as you can get (just a route, a template, and a couple of settings - made from the cookiecutter template). I also don't understand how this could happen when my plugin isn't even enabled.
Have I done something wrong or could this be a deeper issue somewhere?
The text was updated successfully, but these errors were encountered: