Skip to content

A new install generates parse error #150

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

Open
maggie44 opened this issue Apr 19, 2025 · 4 comments
Open

A new install generates parse error #150

maggie44 opened this issue Apr 19, 2025 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@maggie44
Copy link

Describe the bug

I had been using this chart perfectly before. I just started up a new cluster, and added the chart again, so presumably using the one since the recent fixes last week. And now seeing this error:

Image

Do you think it is related? An issue with the parsing of the \ it seems, that appears to have been added.

In the browser console:

runRequest.catchError
Object

config: {method: "GET", hideFromInspector: true, url: "api/datasources/uid/aej84iwob198gc/resources/api/v…%5D%2B)%3F)%22%7D&start=1745064581&end=1745068181", headers: {X-Grafana-Org-Id: 1, X-Grafana-Device-Id: "3a0de2f6b008324884d99de2a97b4fad"}, retry: 0}

data: {status: "error", errorType: "bad_data", error: "1:27: parse error: unknown escape sequence U+002E '.'", message: "1:27: parse error: unknown escape sequence U+002E '.'"}

message: "1:27: parse error: unknown escape sequence U+002E '.'"

status: 400

statusText: ""

traceId: undefined
SceneVariableSet updateAndValidate error
Object

config: {method: "GET", hideFromInspector: true, url: "api/datasources/uid/aej84iwob198gc/resources/api/v…%5D%2B)%3F)%22%7D&start=1745064581&end=1745068181", headers: {X-Grafana-Org-Id: 1, X-Grafana-Device-Id: "3a0de2f6b008324884d99de2a97b4fad"}, retry: 0}

data: {status: "error", errorType: "bad_data", error: "1:27: parse error: unknown escape sequence U+002E '.'", message: "1:27: parse error: unknown escape sequence U+002E '.'"}

message: "1:27: parse error: unknown escape sequence U+002E '.'"

status: 400

statusText: ""

traceId: undefined


### How to reproduce?

repoURL: https://grafana.github.io/helm-charts
targetRevision: 8.12.1

### Expected behavior

No error messages. 

### Additional context

_No response_
@maggie44 maggie44 added the bug Something isn't working label Apr 19, 2025
@maggie44
Copy link
Author

maggie44 commented Apr 19, 2025

Specifically on k8s-views-nodes.json

Revision: 2024-10-03T20:28:57

Image

Revision: 2025-03-12T21:36:58

Image

@aroca-opengov
Copy link

Yes. Same error with that dashboard for me too.

@parsa-asgari
Copy link

Yes. Same error.

@stefan-shredder
Copy link

stefan-shredder commented May 9, 2025

Yes. Same error here. Looks like when you take out the two escape characters \\ before the dot from the below query, the issue is resolved.

"query": "label_values(node_uname_info{nodename=~\"(?i:($node)(\\.[a-z0-9.]+)?)\"}, instance)",

change it to:

"query": "label_values(node_uname_info{nodename=~\"(?i:($node)(.[a-z0-9.]+)?)\"}, instance)",

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

5 participants