Closed
Description
Deployment Type
Self-hosted
NetBox Version
v4.0.0
Python Version
3.11
Steps to Reproduce
- Create a script
- Run it with `python manage.py runscript 'module.ScriptName' inside the NetBox instance
Expected Behavior
Script should run.
Observed Behavior
Script fails with:
AttributeError: 'Script' object has no attribute 'full_name'
Running the same script from GUI works fine, have tried multiple scripts, and haven't been able to run any via CLI in v4.
Seems to be this line that fails: https://github.com/netbox-community/netbox/blob/develop/netbox/extras/management/commands/runscript.py#L104