[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: |
Fri, 15 May 2015 16:12:23 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.7.0 |
URL:
<http://savannah.gnu.org/bugs/?45111>
Summary: generate_package_html fails on second run if
package_doc contains images
Project: GNU Octave
Submitted by: oheim
Submitted on: Fr 15 Mai 2015 18:12:22 CEST
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Crash
Status: None
Assigned to: None
Originator Name: Oliver Heimlich
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: other
Operating System: Any
_______________________________________________________
Details:
If generate_package_html has already been run once, the following code adds
the already existing image subdirectories to the filelist in the second run.
## Read image references from generated files and copy images
filelist = glob (fullfile (doc_out_dir, "*"));
for id = 1 : numel (filelist)
copy_images (filelist{id}, doc_root_dir, doc_out_dir);
endfor
Then, the copy_images function fails during fopen (file), because “file”
actually denotes a directory.
Maybe the doc_out_dir should be cleared before each run.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45111>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #45111] generate_package_html fails on second run if package_doc contains images,
Oliver Heimlich <=