Skip to content

Conversation

@kj7ice
Copy link
Contributor

@kj7ice kj7ice commented Feb 25, 2025

Netbox deployments using the Netbox Docker image encounter an InvalidVersion error when loading a view (such as device details) that contains the QR code plugin. An example of the error:

<class 'packaging.version.InvalidVersion'>

Invalid version: '4.2.4-Docker-3.2.0'

Python version: 3.12.3
NetBox version: 4.2.4-Docker-3.2.0
Plugins:
netbox_qrcode: 0.0.16

If further assistance is required, please post to the NetBox discussion forum on GitHub.

This pull request implements the same fix I'm seeing elsewhere, such as netbox-community/netbox-topology-views#608

Copy link
Member

@cruse1977 cruse1977 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. thanks for this.

@cruse1977 cruse1977 merged commit 3cbe35d into netbox-community:master Feb 25, 2025
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

Successfully merging this pull request may close these issues.

2 participants