bugGNU Octave - Bugs: bug #41137, generate_html: does not produce...

 
 

bug #41137: generate_html: does not produce demo images with graphics_toolkit fltk

Submitter:  None
Submitted:  Tue 07 Jan 2014 04:54:29 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Documentation
Status:  Fixed Assigned to:  None
Originator Name:  Daniel Materka Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * other
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sun 19 Apr 2015 03:35:17 PM UTC, comment #7: 

This bug appears to be resolved now that Octave 4.0 will be able to print invisible figures with either the FLTK or Qt toolkits.

There is still a remaining issue that demo plots with TeX markup will not print properly, but that is documented elsewhere and is an open bug report. There is nothing specific in the generate_html package to be fixed.

Mike Miller <mtmiller>
Group Member
Fri 10 Jan 2014 03:27:44 AM UTC, comment #6: 

If someone works on this bug, might want to also look at bug #38540. It's assigned to me currently, but I haven't looked at it in a while. I've been using 3.6.4 to run generate_html the last few times I've needed to.

Mike Miller <mtmiller>
Group Member
Thu 09 Jan 2014 05:12:16 PM UTC, comment #5: 

That's an Octave Forge package. As far as I'm aware, that's only used by maintainers of OF packages to generate the online documentation. They should be fine with it.

Carnë Draug <carandraug>
Group Member
Thu 09 Jan 2014 04:09:06 PM UTC, comment #4: 

Not doing off-screen rendering is fine with me, but some people seem to get very angry about the prospect of seeing images flash briefly on the screen.

In any case, who has the power to change generate_html?  It's not in core Octave so I haven't looked at changing it.

Rik <rik5>
Group administrator
Thu 09 Jan 2014 11:32:26 AM UTC, comment #3: 

Or alternatively, not do off-screen rendering. I think there's one demo on the image package that failed with gnuplot.

Carnë Draug <carandraug>
Group Member
Thu 09 Jan 2014 06:34:53 AM UTC, comment #2: 

This is the same problem that core Octave has had for a long time, and is why we continue to require support for gnuplot.  At least for core Octave the image generation scripts make a point of switching the toolkit over to gnuplot.  This probably wasn't a problem until 3.8 because the default toolkit was gnuplot.  Now that the default is fltk it sounds like generate_html needs to save the current toolkit, switch to using gnuplot, and then restore the toolkit that was in place when it was called.

Rik <rik5>
Group administrator
Thu 09 Jan 2014 02:41:20 AM UTC, comment #1: 

Confirmed, and I believe I found the cause. Retitling this bug report to reflect that.

The generate_html package which is used to make the HTML docs that are uploaded to octave.sf.net does not work if the graphics_toolkit is fltk, probably because it is trying to use off-screen rendering. No errors are reported, all HTML documentation is generated, but no images are produced. Switching graphics_toolkit to gnuplot is all that is needed to generate images again properly.

Forge maintainers, should we re-generate and re-upload HTML doc archives for the packages that are missing images?

Mike Miller <mtmiller>
Group Member
Tue 07 Jan 2014 04:54:29 PM UTC, original submission:  

Hello!

I saw that, there are some missing images below the examples on this page:
http://octave.sourceforge.net/octave/function/contour.html

Best regards!

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  •  

    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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-04-19 mtmiller StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2014-01-09 rik5 CategoryDocumentation Octave Package
    2014-01-09 mtmiller StatusNone Confirmed
        Operating SystemGNU/Linux Any
        Summarymissing images on documentation page generate_html: does not produce demo images with graphics_toolkit fltk

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code