Skip to content

Plugin not loading anymore with NetBox v4.3.0 #102

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

Open
Ben0it opened this issue May 2, 2025 · 6 comments
Open

Plugin not loading anymore with NetBox v4.3.0 #102

Ben0it opened this issue May 2, 2025 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@Ben0it
Copy link

Ben0it commented May 2, 2025

By design in the plugin code, version of NetBox is checked if between 4.2.0 and 4.2.99 and refuses to load if outside of the range :

Image

Out of curiosity I replaced the max. version value by 4.3.99, the plugins seems to load fine but displays multiple QRCodes in the items pages :)

Image

@cruse1977
Copy link
Member

cruse1977 commented May 2, 2025

Yes, its not supported - yet, we should have a release early next week however I'm keen to merge in LBHLs excellent work into the next version

@diegogodoy06
Copy link

@Ben0it Where exactly did you change the max version?

@cruse1977
Copy link
Member

cruse1977 commented May 7, 2025 via email

@Ben0it
Copy link
Author

Ben0it commented May 8, 2025

I added this line (for testing only) in my Dockerfile-Plugins :

RUN sed -i "s/max_version = '4.2.99'/max_version = '4.3.99'/g" /opt/netbox/venv/lib/python3.12/site-packages/netbox_qrcode/__init__.py

@diegogodoy06
Copy link

That worked. Thank you! Everything does get tripled and the formatting is a bit strange, but it will do for now.

@chrisvella92
Copy link

Hi, any indication to when compatibility issue with version 4.3.0 will be fixed?

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

No branches or pull requests

4 participants