Yue Zhang
Yue Zhang

Reputation: 23

Graphite: graphs not rendering, image cannot be displayed because it contains errors

I am new to graphite. After setting it up, I ran into the issue that no graphs can be viewed (or plotted) but everything else seems fine. If I tried to open the graph directly from its url it says "The image http://.... cannot be displayed because it contains errors".

Below is the output in console when I tried clicked on loadavg_1min and displayed it:

[03/Aug/2015 21:07:06]"GET /render/?width=1041&height=542&_salt=1438661217.502 HTTP/1.1" 200 4
- Broken pipe from ('127.0.0.1', 52538)

There are nothing special about my setup, I use a Mac 10.10 and totally follow the documentation to follow the initialization, everything is default except the CARBONLINK_HASHING_KEYFUNC in local_settings.py, which I set it to "None". And I followed this link to get started: http://graphite.wikidot.com/quickstart-guide.

I will provide more information if that is needed. Thank you in advance!

In my Graphite Browser, the Graphite Composer just shows a broken image.

Upvotes: 2

Views: 1734

Answers (1)

Paritosh
Paritosh

Reputation: 1129

You can check the error at http://yourGraphiteServer.com/dashboard. It gives you a complete python traceback.

As far as the broken images are concerned, its the cairocffi package that handles the font and the image rendering. The traceback at the above URL should show that the cairocffi package is missing. You should install cairocffi with all the dependencies resolved.

pip install cairocffi will do the job.

This the Github page for cairocffi.

Upvotes: 1

Related Questions