test testPreserveJpg::TestBody fails

Jean-Baptiste Faure jbfaure at libreoffice.org
Wed Sep 8 15:44:17 UTC 2021


Hi Miklos,

Le 08/09/2021 à 08:42, Miklos Vajna a écrit :
> Hi JBF,
> 
> On Tue, Sep 07, 2021 at 07:13:19PM +0200, Jean-Baptiste Faure <jbfaure at libreoffice.org> wrote:
>> I get the following error when I run the tests on the master:
>>
>>> [_RUN_____] testPreserveJpg::TestBody
>>> unknown:0:testPreserveJpg::TestBody
>>> An uncaught exception of type com.sun.star.io.IOException
>>> - SfxBaseModel::impl_store <private:stream> failed: 0xc10(Error Area:Io Class:Write Code:16) [...]/libo/master/sfx2/source/doc/sfxbasemodel.cxx:3187 [...]/libo/master/sfx2/source/doc/sfxbasemodel.cxx:1767
>>
>> My C++ skills are not enough to understand the problem.
>>
>> Something has changed recently because the tests passed fine 2 or 3 weaks ago.
> 
> Did you try manually performing the test? Open the preserve-jpg.odt test
> document, select the image, context menu, export to SVG and see if it
> fails.
> 
> If so, you could bibisect when this started in your environment.

Manualling performing the test works in master and LO 7.2.
The only problem is that the default sizes of the image in the svg export dialog is 0.06 x 
0.06 cm and I see nothing when I open the svg in Firefox. If I open the svg file with 
gedit, I can see a binary string which seems to be the original jpeg image converted in PNG.

Best regards.
JBF

-- 
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.


More information about the LibreOffice mailing list