![]() |
#61 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,662
Karma: 23468403
Join Date: Dec 2010
Device: Kindle PW2
|
Unfortunately, I wasn't able to reproduce this problem on my Windows 11 machine. The file selection dialog didn't have problems with spaces or umlauts in the path or the file name. Maybe the file path contained some invisible control characters.
Last edited by Doitsu; 05-25-2024 at 12:24 PM. |
![]() |
![]() |
![]() |
#62 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,038
Karma: 11227259
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
As well as in the folder, there had been a "ú" in the name of the file itself ("Júlia"). When the plugin didn't work for the first time, I changed the name of both ("Julia"), suspecting that this letter might have caused the problem. But the issue continued. So, I tried to choose a totally different name and save it to a different location. That solved the problem.
|
![]() |
![]() |
Advert | |
|
![]() |
#63 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,662
Karma: 23468403
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
convert_all (default) old value hard_labels convert_label_styles old value css1 convert_labels old value css1_hack ignore_all I found a sample config.xml file on the writer2xhtml Github page: https://github.com/writer2latex/writ...cleanxhtml.xml and slightly updated it for epub3 output and removed all redundant entries where the value matched the default value. If you change the value in the following line from: Code:
<option name="list_formatting" value="ignore_all" /> <!-- default: convert_all -->
Code:
<option name="list_formatting" value="convert_label_styles" /> <!-- default: convert_all -->
I also found out by chance that writer2xhtml 1.7.x supports page numbers in epub3 files. Unfortunately, it'll add a masterpage attribute to page break definitions, which EPUBCheck doesn't like. I commented out one source code line to change this behavior and created a new experimental build that is attached to this post. If you generate epub2 books, you'll need to change the following config.xml entry from: to: Code:
<option name="original_page_numbers" value="true" /> <!-- default: false -->
Code:
<option name="original_page_numbers" value="false" /> <!-- default: false -->
|
|
![]() |
![]() |
![]() |
#64 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,613
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Failure to launch plugin
Today,when trying to create a new ePub, ODT Import failed to launch.
OS:Archlinux. java version "1.8.0_431" Java(TM) SE Runtime Environment (build 1.8.0_431-b10) Java HotSpot(TM) 64-Bit Server VM (build 25.431-b10, mixed mode) I have the latest version of Sigil (2.3.1.). Please find below the relevant error message. Last edited by roger64; 12-25-2024 at 09:56 PM. |
![]() |
![]() |
![]() |
#65 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,332
Karma: 5568878
Join Date: Nov 2009
Device: many
|
Your Arch Python is too new. It has dropped support for the imghdr.py module. This was a really stupid decision by the maintainers of python as the module is small but heavily used and should not have been dropped in any point release no matter if deprecated or not earlier.
Luckily, you can extract the pure python imghdr.py file from the previous version of python and add it to the plugin zip archive and all should work. You can grab it from here: https://github.com/python/cpython/bl.../Lib/imghdr.py Since python breaking plugins is not in the best interest for any platform I may add it to the Sigil python plugin standard library if its license is at all compatible. Last edited by KevinH; 12-25-2024 at 10:47 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#66 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,613
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Thanks for your informed reply. I'll try it and report asap.
|
![]() |
![]() |
![]() |
#67 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,613
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
ODT Import is now working as usual.
I added imghdr.py precisely here (see below) For info, my python version is 3.13.1-1 and has been -massively- updated on the 22nd of December 2024. Thanks again! Last edited by roger64; 12-26-2024 at 12:07 AM. Reason: python version |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 506 | 02-14-2025 10:52 PM |
[FileType Plugin] YVES Bible Plugin | ClashTheBunny | Plugins | 27 | 01-16-2023 02:25 AM |
Plugin not customizable: Plugin: HTML Output does not need customization | flyingfoxlee | Conversion | 2 | 02-24-2012 03:24 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |
New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 01:11 PM |