[Lazarus] Get JPEG from TAChart in CGI app

Leonardo M. Ramé l.rame at griensu.com
Sun Mar 20 20:42:36 CET 2011


On 2011-03-21 05:39:01 +1000, Alexander Klenin wrote:
> On Mon, Mar 21, 2011 at 05:30, Leonardo M. Ramé <l.rame at griensu.com> wrote:
> >> You have to link you CGI app with some graphic widgetset,
> >> which will unfortunately bloat an executable, but should otherwise work.
> >>
> >
> > Well, I tested that, but I get "Internal Server Error" from my Apache.
> 
> What does the log show?
> 

[Sun Mar 20 16:30:09 2011] [error] [client ::1] (cgicharts:16246):
Gtk-WARNING **: cannot open display: 
[Sun Mar 20 16:30:09 2011] [error] [client ::1] Premature end of script
headers: cgicharts




-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com




More information about the Lazarus mailing list