problems with writer2epub

I’m using LibreOffice Writer Version: 6.0.6.2 (x64) on Windows 10.

I have installed the extension writer2epub latest version with no problems.

However when I try to use this extension I encountered a number of problems.

When I use it on a file I get the following message:

BASIC runtime error.
An exception occurred
Type: com.sun.star.container.NoSuchElementException
Message: .

A debug window is then opened and it shows me the offending line (144) as:

oPicStorage = ThisComponent.DocumentStorage.getByName(“Pictures”).getByName(sPicGraphicUrl)

in file writer2epub

The files to test this problem are at: http://thefrugalcomputerguy.com/vtOfcWriter.php
Group 13 : Footnotes and endnotes, any of the four files in this group causes the same problem.

Please advice.

Daniel Volinski

Maybe this bug:

https://bugs.documentfoundation.org/show_bug.cgi?id=114162

I think the page you refer corresponds to command File->Export As->Export As Epub. This command is unusable because it does not export figures or formulas. I am referring to a LibreOffice extension called writer2epub.

I have a similar error, in LibreOffice 6.2.4.2:

BASIC runtime error.
An exception occurred
Type: com.sun.star.uno.RuntimeException
Message: Getting from this property is not supported.

Line in question:

sPicGraphicUrl = ThisComponent.GraphicObjects.getByIndex(0).graphicUrl

I note on the writer2epub URL (https://extensions.libreoffice.org/extensions/writer2epub) the note:

Current Release Writer2ePub - 1.1.2.8
Released Mar 29, 2017 — tested with:

LibreOffice 3.3, LibreOffice 3.4,
LibreOffice 3.5, LibreOffice 3.6,
LibreOffice 4.0, LibreOffice 4.1,
LibreOffice 4.2, LibreOffice 4.3,
LibreOffice 4.4, LibreOffice 5.0,
LibreOffice 5.1, LibreOffice 5.2,

So my guess is that the extension doesn’t work in newer versions of Writer.

I’m exactly the same problem.

so I can’t create my epub… it seems to be a huge problem