professional-services
professional-services copied to clipboard
"attributes construct error" in gcpviz
Hi,
I am seeing an error when creating the gke.svg file using the default queries - I get: "error on line 530 at column 98: attributes construct error"
If I look at the content:
522 <!-- N_4602 -->
523 <g id="node34" class="node">
524 <title>N_4602</title>
525 <g id="a_node34"><a xlink:href="https://console.cloud.google.com/kubernetes/workload?pageState=("savedViews":("i":"1","c":%5B"gke%2Feurope-xxxxx-c%2Fxxxxxxxxxx-cluster-1"%5D,"n":%5B"kube-node-lease"%5D))&project=xxxxxxxxxxxx&p" xlink:title="Namespace: kube-node-lease">
526 <polygon fill="#586e75" stroke="#586e75" points="9596.807,-4086.3876 9401.807,-4086.3876 9401.807,-4082.3876 9397.807,-4082.3876 9397.807,-4078.3876 9401.807,-4078.3876 9401.807,-4058.3876 9397.807,-4058.3876 9397.807,-4054.3876 9401.807,-4054.3876 9401.807,-4050.3876 9596.807,-4050.3876 9596.807,-4086.3876"/>
527 <polyline fill="none" stroke="#586e75" points="9401.807,-4082.3876 9405.807,-4082.3876 9405.807,-4078.3876 9401.807,-4078.3876 "/>
528 <polyline fill="none" stroke="#586e75" points="9401.807,-4058.3876 9405.807,-4058.3876 9405.807,-4054.3876 9401.807,-4054.3876 "/>
529 <text text-anchor="middle" x="9499.307" y="-4065.2876" font-family="Google Sans" font-size="12.00" fill="#ffffff">Namespace: kube-node-lease</text>
530 </a>
531 </g>
532 </g>
Removing this section just pushes the error to the next comparable block.
Running on:
- Ubuntu 18.04.6 LTS
- go version go1.10.4 linux/amd64
- dot graphviz version 2.40.1 (20161225.0304)
Interesting. Feels more like a graphviz bug to me (& should be encoded as & in the link). However, I think I might be able to work around this.
@rosmo Do you want to update this, or can this issue be closed?
Just following up on this - if I specify output as PNG rather than SVG the image renders without error.