severity #432404 wishlist thanks David J. M. Karlsen wrote: > Package: bindgraph > Version: 0.2-5 > Severity: grave > Justification: renders package unusable > > > No graphs are generated. > If run from the command line w/o any arguments it produces: > BindGraph was never meant to be called directly from the command line. It is a CGI, and so it *needs* to be called from Apache (or other suitable webserver)
Of course, the script itself could be tweaked to "barf" on a more appropriate way, but I see no reason why a CGI should work if invoked from command line, without the information it needs to work. Moreover, how it bindgraph supposed to generate graphs in this situation? Do you meant to have it echo the generated PNG on stdio? Write that into a randomly-generated filename? In either case, which of the different graphs that it is able to generate would be written? > sunshine:~# /usr/lib/cgi-bin/bindgraph.cgi > Use of uninitialized value in substitution (s///) at > /usr/share/perl/5.8/File/Basename.pm line 338. > fileparse(): need a valid pathname at /usr/lib/cgi-bin/bindgraph.cgi line 180 > As said before, this is perfectly fine behaviour for a CGI script invoked directly. Friendly, J.L. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]