[XForms] Using Xform in background without display

Didier Verkindt verkindt at lapp.in2p3.fr
Fri Jun 22 04:20:39 EDT 2007


Hi,
Hoping that Xforms and this mailing list are still alive.

I have developped since several years a data visualization application
that uses Xforms as GUI (but not for showing plots). Now, in some cases, I
would like to run this application in background (without user
interaction and without showing any xform window) on a machine which has
no display. I was able not to display xform windows but I get stucked on
the fl_initialize function.
With the following error message:
    Can't open display --No such file or directory
    Missing or failed fl_initialize()

Does somebody knows a simple way to overcome this problem?
Or should I try to propose a modification
to Xform in order to separate in fl_initialize what is specific xform init
from what is related to the display?

-----------------------------------------------------------
Didier VERKINDT, LAPP, Ch. de Bellevue, 74941 Annecy-le-Vieux, FRANCE
tel:33(0)450091671 or 5573  fax:33(0)450279495  web:lapp.in2p3.fr/~verkindt


On Thu, 28 Dec 2006, Moots, Joel A. (IT Solutions/EOS) wrote:

> To subscribers of the xforms list
>
> Since the program is so small, can you find the smallest amount of code
> needed for you to reproduce the problem and then paste just the parts
> you wrote to this list? E.g., if you don't need a slider callback to
> reproduce the problem, get rid of it; if you need the callback but don't
> need to retrieve the value, get rid of it; etc. If that's still rather
> large, can you tar/gzip just the source files with no extension on the
> filename and email to me.
>
> TIA,
>
> -joel
>
> -----Original Message-----
> From: xforms-bounces at bob.usuhs.mil [mailto:xforms-bounces at bob.usuhs.mil]
> On Behalf Of Kerich, Steve (AGTE)
> Sent: Thursday, December 28, 2006 11:24 AM
> To: xforms at bob.usuhs.mil
> Subject: [XForms] corrupted text or big question box returns
>
> To subscribers of the xforms list
>
>
> Hi
>
> I have been doing more testing and have found with my test program that
> if I call fl_show_alert before fl_show_question, the corruption of the
> question box goes away. I have noticed this fix also works for another
> executable that is having trouble with the question box. If I display an
> alert just before the question box, the problem goes away. I haven't
> tried it with the other 2 images that are showing the same/similar
> problem. There must be some XForms connection between the two.
>
> My test program is very very small so I don't believe that there are
> pointer or memory stack issues involved.
>
> Jens tried out my test program on a Linux box using gcc but was unable
> to reproduce the problem I have been seeing. So I guess that is a clue
> too. That it has something to so with Solaris or the compiler. The
> compiler used is SUNspro instead of gcc. I do not know why this compiler
> was picked in the beginning.
>
> Because this problem is spread through several of our applications, I
> really need to find a solution. Is there anyone who has debug ideas or
> could help with this?
>
> Any help would be appreciated.
>
> Steve
>
>
> ************************************************
> The information contained in, or attached to, this e-mail, may contain
> confidential information and is intended solely for the use of the
> individual or entity to whom they are addressed and may be subject to
> legal privilege.  If you have received this e-mail in error you should
> notify the sender immediately by reply e-mail, delete the message from
> your system and notify your system manager.  Please do not copy it for
> any purpose, or disclose its contents to any other person.  The views or
> opinions presented in this e-mail are solely those of the author and do
> not necessarily represent those of the company.  The recipient should
> check this e-mail and any attachments for the presence of viruses.  The
> company accepts no liability for any damage caused, directly or
> indirectly, by any virus transmitted in this email.
> ************************************************
>
> _______________________________________________
> To unsubscribe, send the message "unsubscribe" to
> xforms-request at bob.usuhs.mil or see:
> http://cweblog.usuhs.mil/mailman/listinfo/xforms
> XForms Home Page: http://world.std.com/~xforms List Archive:
> http://bob.usuhs.mil/pipermail/xforms and
> http://bob.usuhs.mil/mailserv/list-archives/
> Development: http://savannah.nongnu.org/files/?group=xforms
>
> _______________________________________________
> To unsubscribe, send the message "unsubscribe" to
> xforms-request at bob.usuhs.mil or see:
> http://cweblog.usuhs.mil/mailman/listinfo/xforms
> XForms Home Page: http://world.std.com/~xforms
> List Archive: http://bob.usuhs.mil/pipermail/xforms and
> http://bob.usuhs.mil/mailserv/list-archives/
> Development: http://savannah.nongnu.org/files/?group=xforms
>



More information about the Xforms mailing list