[Lazarus] Get JPEG from TAChart in CGI app
Henry Vermaak
henry.vermaak at gmail.com
Sun Mar 20 21:16:19 CET 2011
On 20 March 2011 19:42, Leonardo M. Ramé <l.rame at griensu.com> wrote:
> 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:
Try using xvfb. This uses a virtual framebuffer that doesn't need a
display. I've had to use it with a webserver before.
Henry
More information about the Lazarus
mailing list