[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54311] "test imread" fails on recent Windows
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #54311] "test imread" fails on recent Windows cross-builds |
Date: |
Sat, 14 Jul 2018 07:05:24 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0 |
URL:
<http://savannah.gnu.org/bugs/?54311>
Summary: "test imread" fails on recent Windows cross-builds
Project: GNU Octave
Submitted by: mmuetzel
Submitted on: Sat 14 Jul 2018 11:05:23 AM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Microsoft Windows
_______________________________________________________
Details:
With a cross-build of the dev branch for Windows I am seeing the following
error:
>> test imread
***** testif HAVE_MAGICK
vpng = [ ...
137, 80, 78, 71, 13, 10, 26, 10, 0, 0, ...
0, 13, 73, 72, 68, 82, 0, 0, 0, 3, ...
0, 0, 0, 3, 8, 2, 0, 0, 0, 217, ...
74, 34, 232, 0, 0, 0, 1, 115, 82, 71, ...
66, 0, 174, 206, 28, 233, 0, 0, 0, 4, ...
103, 65, 77, 65, 0, 0, 177, 143, 11, 252, ...
97, 5, 0, 0, 0, 32, 99, 72, 82, 77, ...
0, 0, 122, 38, 0, 0, 128, 132, 0, 0, ...
250, 0, 0, 0, 128, 232, 0, 0, 117, 48, ...
0, 0, 234, 96, 0, 0, 58, 152, 0, 0, ...
23, 112, 156, 186, 81, 60, 0, 0, 0, 25, ...
73, 68, 65, 84, 24, 87, 99, 96, 96, 96, ...
248, 255, 255, 63, 144, 4, 81, 111, 101, 84, ...
16, 28, 160, 16, 0, 197, 214, 13, 34, 74, ...
117, 213, 17, 0, 0, 0, 0, 73, 69, 78, ...
68, 174, 66, 96, 130];
filename = [tempname() ".png"];
unwind_protect
fid = fopen (filename, "wb");
fwrite (fid, vpng);
fclose (fid);
A = imread (filename);
unwind_protect_cleanup
unlink (filename);
end_unwind_protect
assert (A(:,:,1), uint8 ([0, 255, 0; 255, 237, 255; 0, 255, 0]));
assert (A(:,:,2), uint8 ([0, 255, 0; 255, 28, 255; 0, 255, 0]));
assert (A(:,:,3), uint8 ([0, 255, 0; 255, 36, 255; 0, 255, 0]));
!!!!! test failed
Magick++ exception: Magick: Unable to access configuration file
(delegates.mgk) reported by magick/blob.c:2135 (GetConfigureBlob)
MXE-Octave hg id: 7d3a56e36206
Octave hg id: beef68dedef7
On subsequent calls of "test imread" the error message is:
!!!!! test failed
Magick++ exception: Magick: No decode delegate for this image format
(C:\Users\Markus\AppData\Local\Temp\oct-wiPyVC.png) reported by
magick/constitute.c
:1535 (ReadImage)
I am trying to build again after a "make clean" to see if this fixes the
error. But that might take some time.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?54311>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #54311] "test imread" fails on recent Windows cross-builds,
Markus Mützel <=