Menu

#96 warn message does not show on IIS (XP)

fix-for-1.0.x
open
nobody
grapher (29)
5
2004-09-20
2004-09-20
prefab
No

hello,

I am running cricket 1.0.5 on windows XP SP2 (IIS). The
graphs do not show (broken icon). When you browse the
graph URL:

http://localhost/cricket/mini-graph.cgi?type=png;target=%2F01%2Fwbem%2Flocalhost.memory;view=memoryusage;range=151200;rand=313

the browser says the content type is
application/octet-stream. It contains the following info:

[20-Sep-2004 22:18:08*] rrd graph:<snip>
[20-Sep-2004 22:18:08*] Could not open<snip>
Content-Type: image/gif

<binary data>

The first warn() on line 1915 is not printed. I have
added an additional warn:

Warn("\n");
Warn("Unable to create graph: $error\n");
Warn("rrd graph: ".join(' ', @args)."\n");

Browsing the same URL now shows the first warn:

[20-Sep-2004 22:24:26*] Unable to create graph: <snip>
[20-Sep-2004 22:24:26*] rrd graph:<snip>
[20-Sep-2004 22:24:26*] Could not open<snip>
Content-Type: image/gif

<binary data>

prefab

Discussion


Log in to post a comment.