Possibly bug with export to epub

José Matos jaomatos at gmail.com
Tue Nov 12 08:43:10 UTC 2024


On Wed, 2024-11-06 at 20:16 +0100, Bernd Nitzschmann wrote:
> Hi lyx-devel,
> I hope this is the right place to report a feature not working (at
> least for me):

Hi Bernd,

> When trying to export a lyx file to epub format an error message pops
> up:
> An error occurred while executing 
> py -3 -tt $$s/scripts/docbook2epub.py "java" none none none
> "<file>.XML" "<Path>" "<file>.epub"
> 
> I got suspicious about the "$$s...", therefore this message.

This confused me a lot but now after navigating around the code I have
a clear picture. The $$s shown above is harmless, it is a bug in the
displayed message.
Internally, when calling the converter, that place holder is replaced,
but it is not when displaying this error.

So that part is a bug but an harmless one, in this context.

As I have told you in the other messages python is also correctly
called.


So now the issue is why is the converter, that is correctly called,
failing?

@Thibaut could this be related with the same issue that you committed
today?

> For comparison, I started exports to odt and txt formats which worked
> fine.
> The lyx-file compiles to PDF without errors.
> LyX-Version: 2.4.2.1
> Platform: Windows 10
> 
> Kind regards,
> Bernd Nitzschmann
> 24afc79c-7530-4b0a-b985-9f65c6d68a8f

Best regards,
-- 
José Abílio


More information about the lyx-devel mailing list