View Single Post
Old 02-04-2025, 03:24 PM   #8
philja
Addict
philja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enough
 
Posts: 270
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
testplugin fails on 2.4.2 build

I've just built Sigil 2.4.2 on my Linux box. This time I used the bundled version of hunspell and didn't see any errors during the make and make install.

However, when I ran the testplugin (v0.2.0) as I usually do, on an epub2 file it produced 4 failures: "Failure - 4 Tests of Plugin Operations Failed". I've not seen such results after other builds.

The epub2 file had 'no problems found' under EPUBCheck 5.2.1.

Code:
Verifying selected basic plugin interface elements
  bk.text_iter() works False
  Listing manifested files...
    Text/Section0001.xhtml
    Text/chapter10.xhtml
  bk.manifest_iter() works False
  bk.spine_iter() works False
  bk.other_iter() works False
  reading a non-manifest book file works True
  reading a specific OPF manifest id works True
  writing to a specific OPF manifest id works True
  Launcher Version 20250131
  ePub Version 2.0
  adding your own file to the manifest works True
  basename to id mapping works True
  deleting our added file works True
Next I tried an epub3 file (also 'nff' under EPUBCheck 5.2.1) and got the same results.

What is testplugin trying to tell me?

Last edited by philja; 02-04-2025 at 03:27 PM.
philja is offline   Reply With Quote