Comments (2)
Duplicate of #545
from grafana-image-renderer.
Hi @koelle25 ,
I tried v3.11.0, and I got the same error:
grafana-1 | logger=context userId=1 orgId=1 uname=admin t=2024-07-20T14:10:03.090812432Z level=error msg="Request error" error="Context.HTML - Error rendering template: error. You may need to build frontend assets \n template: error:16:42: executing \"error\" at <.Assets.Dark>: can't evaluate field Assets in type struct { Title string; AppTitle string; AppSubUrl string; ThemeType string; ErrorMsg error }" stack="github.com/grafana/grafana/pkg/web/context.go:112 (0x74e8064)\ngithub.com/grafana/grafana/pkg/services/contexthandler/model/model.go:54 (0x74f3328)\ngithub.com/grafana/grafana/pkg/api/render.go:106 (0xa44612a)\ngithub.com/grafana/grafana/pkg/api/response/web_hack.go:40 (0x74f94af)\nnet/http/server.go:2166 (0x74e90f8)\ngithub.com/grafana/grafana/pkg/web/macaron.go:131 (0x74e90b5)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/web/macaron.go:137 (0x74e9194)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/web/macaron.go:137 (0x74e9194)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/web/macaron.go:137 (0x74e9194)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/web/macaron.go:137 (0x74e9194)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/web/macaron.go:137 (0x74e9194)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/services/contexthandler/contexthandler.go:141 (0xa4505f4)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/web/macaron.go:137 (0x74e9194)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/web/macaron.go:137 (0x74e9194)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/web/macaron.go:137 (0x74e9194)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/web/macaron.go:137 (0x74e9194)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/web/macaron.go:137 (0x74e9194)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/web/render.go:44 (0x74e9c0b)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/web/macaron.go:137 (0x74e9194)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/web/macaron.go:137 (0x74e9194)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/web/macaron.go:137 (0x74e9194)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/web/macaron.go:137 (0x74e9194)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/middleware/csrf/csrf.go:66 (0x98f45af)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/middleware/recovery.go:180 (0xa428ffd)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/middleware/loggermw/logger.go:72 (0x98f553e)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/middleware/request_metrics.go:75 (0x82b19ed)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/middleware/request_tracing.go:88 (0xa429d75)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/middleware/requestmeta/request_metadata.go:66 (0xa44f6e1)\nnet/http/server.go:2166 (0x623f028)\ngithub.com/grafana/grafana/pkg/web/context.go:52 (0x74e79fa)\ngithub.com/grafana/grafana/pkg/web/router.go:155 (0x74eb3ed)\ngithub.com/grafana/grafana/pkg/web/router.go:221 (0x74ebf14)\ngithub.com/grafana/grafana/pkg/web/macaron.go:163 (0x74e95dc)\nnet/http/server.go:3137 (0x624272d)\nnet/http/server.go:2039 (0x623da07)\nruntime/asm_amd64.s:1695 (0x5ee74c0)\n"
Did you try the same?
My steps:
-
clone the latest code
-
git checkout v3.11.0
-
cd devenv/docker/simple
-
change the version of image grafana-image-renderer from latest to 3.11.0
-
docker-compose up
-
login in Grafana, create a dashboard and click "Direct link rendered image"
from grafana-image-renderer.
Related Issues (20)
- version 3.9.1 shows artifacts in icingaweb2 preview HOT 2
- Spike: Filter out some network error logs
- Error Loading plugin in Gafana 10.4.0 HOT 15
- Plugin links to static images do not include configured subpaths
- ARM64 for Linux Plugin support HOT 2
- Build: replace vercel/pkg HOT 1
- Fails to find chromium binary HOT 1
- Error "Error: Failed to launch the browser process" on the Raspberry PI 5, architecture issue? HOT 1
- Pixel comparing to dynamically reduce screenshot resolution HOT 4
- No env overrides for https config
- Cannot GET /d-solo/.... HOT 1
- full page rendering fails, using the latest Grafana and grafana image renderer HOT 4
- Grafana-Image-Renderer and DashboardScene : Panel with id Nan not found HOT 1
- Grafana image renderer use the same image attachment when alert are Resolved HOT 1
- TimeoutError: Waiting failed: 60000ms exceeded HOT 1
- [3.11.1+] rendering failed: Error: Failed to launch the browser process HOT 16
- Update to Node v18.19.1 HOT 1
- Timeout when Grafana option "autoMigrateOldPanels" is enabled
- Browser page crashed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grafana-image-renderer.