-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Misleading error message printed when using manage.py runscript
#17700
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
Labels
netbox
severity: low
Does not significantly disrupt application functionality, or a workaround is available
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Comments
@iii-arch I'm getting a different error message, can you please provide a simple sample script to make sure this is the same issue. |
Sure, here is the sample:
|
This is a reminder that additional information is needed in order to further triage this issue. If the requested details are not provided, the issue will soon be closed automatically. |
jeremystretch
added a commit
that referenced
this issue
Oct 29, 2024
jeremystretch
added a commit
that referenced
this issue
Oct 30, 2024
Merged
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
netbox
severity: low
Does not significantly disrupt application functionality, or a workaround is available
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Deployment Type
Self-hosted
NetBox Version
v4.1.1
Python Version
3.12
Steps to Reproduce
This was happening because I was trying to import a python lib that wasn't installed.
Expected Behavior
In the UI there should be some kind of error message, not just the removal of "Run Script" button, also in the error message printed by the CLI version, at least the name of the script should be mentioned.
Observed Behavior
In GUI there is no error message, only "Run Script" button was removed, while in CLI the error message displayed is:
The text was updated successfully, but these errors were encountered: