[LON-CAPA-admin] Dynamic Plots on Debian

Todd Ruskell truskell at mines.edu
Thu Jun 26 19:49:14 EDT 2003


OK,

I've really been poking in the guts of this thing now, and probably know
more than I ever wanted to about how dynamic plots work.  This is what
I've found out:

as root, if I:

gnuplot /home/httpd/perl/tmp/file_plot.data > test.gif

I get a gif that both xv and mozilla can view without a problem.

If I artificially set the QUERY_STRING environment variable to
file=file_plot.data&output=gif

so I can run the plot.gif script and pipe the output to test.gif,

both mozilla and xv spit up on it.

The Content-type seems to be the culprit to my unprofessional eye.
Perhaps something with my version of apache?

I've got apache 1.3.26-0, and lib-apache-modperl 1.26-3.0 from the stable
woody distribution.

One last datapoint:  I just tried viewing a dynamic plot page with IE, and
it doesn't seem to like it either.

Hope that helps some.

Todd


On Thu, 26 Jun 2003, Guy Albertelli II wrote:

> Hi Todd,
>
>
> > I just logged into the server from home and tried to view a dynamically
> > generated plot that did not appear, and did actually get an error log
> > entry, but just one:
>
> What shows up in access.log when accessing the plot.gif?
>
> --
> guy at albertelli.com  LON-CAPA Developer  0-7-6-7-
> _______________________________________________
> LON-CAPA-admin mailing list
> LON-CAPA-admin at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
>




More information about the LON-CAPA-admin mailing list