Re: [Veusz-discuss] Veusz as a slave

2015-04-20 Par sujet Tim Channon

On 20/04/2015 08:43, Jeremy Sanders wrote:

On 20/04/15 02:47, Tim Channon wrote:


I find the export() command is fragile anyway, won't accept all the
mentioned parameters. I have also managed to trip an MS C++ lib
exception. (nothing like an idiot to find cracks)


The following works ok on Linux for me. It's possible I haven't tested
the Windows support thoroughly enough, however. I don't have a system to
hand to check at the moment.

test.vsz:

To(Add('page'))
To(Add('graph'))
Add('function', function='x')
To('..')
To('..')
To(Add('page'))
To(Add('graph'))
Add('function', function='x**2')
To('..')
To('..')
Export('out.pdf', page=[0,1])
Quit()


At the command line:

veusz --listen  test.vsz


Can you send the exception if this doesn't work (and/or your current
exception)?

Thanks

Jeremy


Highly amused, I see, there was me assuming I was an idiot since don't 
know Python, after reading took a guess at [0, 1], hence only mentioned 
it as an afterthought. :-)


Your snippet

Visual C++ runtime

R6025
-- pure virtual functional call

This is identical to the exception mentioned earlier so we have a stable 
fault. Of course you won't see this so life does the usual play bad.


Twiddle
https://support.microsoft.com/en-us/kb/125749

At one time I would have been able to help out, veteran but I'm rather 
out of current programming


Veusz reports version 1.22

Clues. In experimenting trying to get export() to work I found that 
nothing after page=x works, no longer exports. This might be relevant.

Only the [] form produced an exception.

Urgent fix? No. Scripted output where page selection works so if I need 
multiple, call multiple.



___
Veusz-discuss mailing list
Veusz-discuss@gna.org
https://mail.gna.org/listinfo/veusz-discuss


Re: [Veusz-discuss] Veusz as a slave

2015-04-20 Par sujet Jeremy Sanders

On 20/04/15 02:47, Tim Channon wrote:


I find the export() command is fragile anyway, won't accept all the
mentioned parameters. I have also managed to trip an MS C++ lib
exception. (nothing like an idiot to find cracks)


The following works ok on Linux for me. It's possible I haven't tested 
the Windows support thoroughly enough, however. I don't have a system to 
hand to check at the moment.


test.vsz:

To(Add('page'))
To(Add('graph'))
Add('function', function='x')
To('..')
To('..')
To(Add('page'))
To(Add('graph'))
Add('function', function='x**2')
To('..')
To('..')
Export('out.pdf', page=[0,1])
Quit()


At the command line:

veusz --listen  test.vsz


Can you send the exception if this doesn't work (and/or your current 
exception)?


Thanks

Jeremy


___
Veusz-discuss mailing list
Veusz-discuss@gna.org
https://mail.gna.org/listinfo/veusz-discuss