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

"attributes construct error" in gcpviz #852

Open
asilca opened this issue Jul 5, 2022 · 3 comments
Open

"attributes construct error" in gcpviz #852

asilca opened this issue Jul 5, 2022 · 3 comments
Assignees

Comments

@asilca
Copy link

asilca commented Jul 5, 2022

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&#45;node&#45;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&#45;node&#45;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)
@rosmo
Copy link
Collaborator

rosmo commented Aug 30, 2022

Interesting. Feels more like a graphviz bug to me (& should be encoded as &amp; in the link). However, I think I might be able to work around this.

@agold-rh
Copy link
Contributor

@rosmo Do you want to update this, or can this issue be closed?

@asilca
Copy link
Author

asilca commented Sep 26, 2023

Just following up on this - if I specify output as PNG rather than SVG the image renders without error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants