[scilab-Users] GL2PS error when exporting

Dean Parsons lparsons at vitesse.com
Thu Mar 15 19:23:03 CET 2012


Mathieu,

Thanks for your response. Here is the line of code where I execute xs2svg:

xs2svg(1,strcat([file_name,".svg"]),"portrait");

This line works fine on windows version of scilab.

When I run the line above I get 2 errors at the same time. The first one appears in the scilab console window:

xs2svg: GL2PS error during export.
at line     412 of exec file called by :
  exec(%fileToExec);                 disp(msprintf(gettext("Execution done.\
while executing a callback

The second one I believe comes from the linux redhat OS. It appears in a linux window or linux terminal. In other words, it appears in a non-scilab window:

GL2PS error: gl2psBeginPage called in wrong program state

Please let me know if you need any other info.

Regards,

Dean Parsons



From: Mathieu Dubois [mailto:mathieu.dubois at limsi.fr]
Sent: Thursday, March 15, 2012 12:47 PM
To: users at lists.scilab.org
Subject: Re: [scilab-Users] GL2PS error when exporting

Hello,

On 03/15/2012 03:38 PM, Dean Parsons wrote:
I thought I would send this again since I never received a response.

Dean Parsons

From: Dean Parsons
Sent: Tuesday, March 13, 2012 9:03 AM
To: users at lists.scilab.org<mailto:users at lists.scilab.org>
Subject: GL2PS error when exporting

Oops, I forgot to mention that my linux terminal gives me the following error message when I run xs2svg:

GL2PS error: gl2psBeginPage called in wrong program state
Why do you mean by Linux Terminal? You mean when you type 'xs2svg' under bash? If that's the I don't know this command (not found on my ubuntu box) but I think it's not related to scilab.

So if I understand correctly you receive 2 different error messages when using xs2svg: one time "GL2PS error: gl2psBeginPage called in wrong program state", one time ''xs2svg: GL2PS error during export.", right?

Can you give us exactly the way you call xs2svg?



Regards,

Dean Parsons


Hi,

I'm running scilab 5.1 64 bit on linux. (I had to change the Device to "vesa" in the "Device" Section of the /etc/X11/xorg.conf file to get the graphics to work correctly.)

When I run xs2svg I get the following error:

xs2svg: GL2PS error during export.
at line     412 of exec file called by :
  exec(%fileToExec);                 disp(msprintf(gettext("Execution done.\
while executing a callback

My graphics card is an nVidia Quadro FX3450. The driver is version A1391.85 dated 10/30/2007. After searching the nvidia website I did find a more recent version of the driver which I will install and try. Besides updating my GC driver, do you have any other suggestions as to how I can work around this?

Thanks,

Dean Parsons

CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20120315/fc498252/attachment.htm>


More information about the users mailing list