Skip to content
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

Discover PANOS (PaloAlto) - local variable 'parent_name' where it is not associated with a value #82

Closed
proebstle opened this issue Oct 5, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@proebstle
Copy link
Contributor

An exception occurred: UnboundLocalError: cannot access local variable 'parent_name' where it is not associated with a value

Traceback (most recent call last):
File "/opt/netbox-3.5.9/netbox/extras/scripts.py", line 504, in _run_script
script.output = script.run(data=data, commit=commit)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.5.9/netbox/scripts/netdoc_scripts.py", line 353, in run
log_ingest(log)
File "/opt/netbox/venv/lib/python3.11/site-packages/netdoc/utils.py", line 578, in log_ingest
module.ingest(log)
File "/opt/netbox/venv/lib/python3.11/site-packages/netdoc/ingestors/xml_panw_ngfw_show_interface.py", line 108, in ingest
if parent_name:
^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'parent_name' where it is not associated with a value

@dainok
Copy link
Owner

dainok commented Oct 5, 2023

Can you send me (email) the Netdoc log? (use the export button once you open the log).

@dainok
Copy link
Owner

dainok commented Oct 5, 2023

Go to NetDoc -> Logs -> choose a log -> click Export and attach the file.

image

@dainok dainok added the bug Something isn't working label Oct 5, 2023
Repository owner deleted a comment from proebstle Oct 7, 2023
Repository owner deleted a comment from proebstle Oct 7, 2023
@dainok
Copy link
Owner

dainok commented Oct 7, 2023

Update to 3.5.7

@dainok dainok closed this as completed Oct 7, 2023
@proebstle
Copy link
Contributor Author

proebstle commented Oct 7, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants