dainok / netdoc

Automatic Network Documentation plugin for NetBox
GNU General Public License v3.0
89 stars 14 forks source link

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

Closed proebstle closed 12 months ago

proebstle commented 1 year ago

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 commented 1 year ago

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

dainok commented 1 year ago

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

image

dainok commented 12 months ago

Update to 3.5.7

proebstle commented 12 months ago
Hi, 

  

now looks better... and next error :-( 

  

      An exception occurred: ValueError: Invalid route type a oi 

        

  

  

best regards 

Gilbert 

  

  

  

  

 Andrea Dainese ***@***.***> hat am 07.10.2023 16:30 CEST geschrieben: 

   

   

 Closed #82 as completed. 

   

 -- 

 Reply to this email directly or view it on GitHub: 

https://github.com/dainok/netdoc/issues/82#event-10582069748 

 You are receiving this because you authored the thread. 

   

 Message ID: ***@***.***>