netbox-topology-views icon indicating copy to clipboard operation
netbox-topology-views copied to clipboard

Error building topology.

Open ekrichbaum opened this issue 3 years ago • 3 comments

<class 'AttributeError'>

'Interface' object has no attribute 'circuit'

Python version: 3.10.2 NetBox version: 3.1.9

Just installed this today and started adding to it. One of my sites has 2 circuit teminations and when added generates the above error. Sites without those circuits seem to work fine.

ekrichbaum avatar Mar 09 '22 15:03 ekrichbaum

https://github.com/mattieserver/netbox-topology-views/issues/85

Seems to be the same as this one. Sorry for the extra noise.

ekrichbaum avatar Mar 09 '22 15:03 ekrichbaum

Hi,

I believe i know what causes the issue, i will try to create a new release tomorrow.

mattieserver avatar Mar 09 '22 19:03 mattieserver

Patch does eliminate the error. No matter the setting "'enable_circuit_terminations': True" or False, the error does not occur. I don't see any additional elements for those circuits which may be the suspected behaviour. What would be nice is a provider logo with a circuit, maybe, but not necessary for sure.

ekrichbaum avatar Mar 09 '22 20:03 ekrichbaum