Re: test testPreserveJpg::TestBody fails

2021-09-08 Thread Jean-Baptiste Faure

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 
 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  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.


Re: test testPreserveJpg::TestBody fails

2021-09-08 Thread Miklos Vajna
Hi JBF,

On Tue, Sep 07, 2021 at 07:13:19PM +0200, Jean-Baptiste Faure 
 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  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.

Regards,

Miklos


test testPreserveJpg::TestBody fails

2021-09-07 Thread Jean-Baptiste Faure

Hi,

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  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.

My build:
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: b42516b433c1d71487db061a058887f6dd76dd74
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Ubuntu_20.04_x86-64
Calc: threaded

I have the same problem with LO 7.2.2.0.0+. I use gcc 10 to build LO.

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