octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #45111] generate_package_html fails on second


From: Oliver Heimlich
Subject: [Octave-bug-tracker] [bug #45111] generate_package_html fails on second run if package_doc contains images
Date: Wed, 15 Jul 2015 18:43:20 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.8.0

Follow-up Comment #2, bug #45111 (project octave):

It no longer crashes with your proposed change, so it is good to create the
patch.

I have worked around the issue by deleting the output directory before
generate_package_html.  Now that I do not delete the output directory anymore,
a different problem shows up: The “images” subdirectory of the demos for
the function reference contains deprecated, duplicate images after the second
run.

The following line in html_help_text/get_output could be changed and you could
use a counter instead of a random number:


r = round (1000*rand ());


(Also there is a certain risk that several images for the same function
produce file name conflicts)

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45111>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]