bugGNU Octave - Bugs: bug #44400, Print broken when using Qt...

 
 

bug #44400: Print broken when using Qt Application

Submitter:  Pantxo Diribarne <pantxo>
Submitted:  Sun 01 Mar 2015 03:11:23 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Works For Me Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sun 01 Mar 2015 07:35:11 PM UTC, comment #8: 

Ok, my current build is affected by bug #44029.
If I first change my locale to "en_US" before launching Octave everything works fine with or without transfig.

Sorry for the noise, closing bug report.

Pantxo Diribarne <pantxo>
Group Member
Sun 01 Mar 2015 07:09:15 PM UTC, comment #7: 

I'm updated to cset 19880, did a 'make clean', and then tried the failing code.  I get the warning about fig2dev but the figure prints fine.  My ghostscript version is 9.05 rather than 9.10.

Rik <rik5>
Group administrator
Sun 01 Mar 2015 06:55:56 PM UTC, comment #6: 

Can you check if you see the bug with gs version 9.15?

Avinoam Kalma <avinoam>
Group Member
Sun 01 Mar 2015 06:26:18 PM UTC, comment #5: 

This is reproducible for me: if I uninstall transfig and restart Octave, the bug is back.


Pantxo Diribarne <pantxo>
Group Member
Sun 01 Mar 2015 06:18:09 PM UTC, comment #4: 

I uninstalled transfig and updated to cset 19880 to get to your original configuration and it still works for me.  Maybe there was just cruft left-over from an earlier build?  If it isn't reproducible, can we close the bug?

Rik <rik5>
Group administrator
Sun 01 Mar 2015 04:21:15 PM UTC, comment #3: 

Sorry, I just installed fig2dev (transfig) to get rid of the first warning and everything works fine now.

What do fig2dev and even Ghostscript have to do with the generation of a ps file?

Pantxo Diribarne <pantxo>
Group Member
Sun 01 Mar 2015 04:15:26 PM UTC, comment #2: 

Yes this is reproducible (I am at 19880:f25fe5369022), I can't print neither with Qt nor with FLTK toolkits.

Pantxo Diribarne <pantxo>
Group Member
Sun 01 Mar 2015 04:06:25 PM UTC, comment #1: 

This works for me (id: 2350fc8ba960).

But there is a lot of flakiness with Qt and printing at the moment.  Is it repeatable every time?

Rik <rik5>
Group administrator
Sun 01 Mar 2015 03:11:23 PM UTC, original submission:  

I see this strange error message from Ghostscript as soon as I try to print an figure OpenGL from the GUI (terminal or figure menu with Qt toolkit) or from the qt-cli interface:


$ ./run-octave -f --no-gui
octave:2> plot (1:10)
octave:3> print -dps /tmp/qt_qtapp.ps
warning: print.m: fig2dev binary is not available.
Some output formats are not available.
warning: called from
    __print_parse_opts__ at line 381 column 9
    print at line 292 column 8
Error: /undefined in 0,064
Operand stack:
   rThreshold
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1916   1   3   %oparray_pop   1915   1   3   %oparray_pop   --nostringval--   1899   1   3   %oparray_pop   1787   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1176/1684(ro)(G)--   --dict:0/20(G)--   --dict:82/200(L)--   --dict:1/64(L)--
Current allocation mode is local
GPL Ghostscript 9.10: Unrecoverable error, exit code 1


In pure cli ("--no-gui-libs" option) or with gnuplot this works fine.
If confirmed I think this bug should be a blocker for the coming 4.0 release.

Pantxo Diribarne <pantxo>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by avinoam (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by pantxo (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-01 pantxo Open/ClosedOpen Closed
        Dependencies- Depends on bugs #44029
    2015-03-01 rik5 StatusNone Works For Me

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code