![]() |
Quote:
No clue about this, then. I'll try it on Linux. |
Quote:
Code:
<?xml version='1.0' encoding='utf-8'?>Code:
<?xml version="1.0" encoding="utf-8"?> |
Quote:
However, on my 64bit Windows 10 machine, I got the same results as thiago.eec with Sigi 1.4.3. |
Quote:
|
Quote:
|
Wow. I can not think of a change that would impact this plugin only on Windows since Sigil-1.4.3.
But I have so many Sigil builds lying around that my Sigil 1.4.3 on my mac may not be identical to whatever is on the releases page. I will download exactly that version and try the testcase with that exact version just in case it is a generic plugin bug that only exists in 1.4.3. Quote:
|
Okay, grabbed an official release build of Sigil-1.4.3 for mac from the Official Sigil github releases and wonloaded and installed it and ran Access-Aide on the provided testcase.
On load I had to run Mend to add the Doctypes and then invoked Access-Aide and it did its job correctly. So something very Windows specific that impacts plugins is happening. Very strange. |
I will ask DiapDealer to investigate this on his Windows build to see if he has any ideas.
Edit: Passed along the testcase to him and asked DiapDealer to take a look when he gets a chance. Interestingly enough I could not e-mail the plugin zip code to him as gmail barfed saying it was infected when of course it is just a zip with an executable inside and a bunch of python code. The executable is just to help see svg images in a tk plugin and is not needed. Hopefully he will be able to track down what the issue is and hopefully fix it in master. |
I was going to say I was seeing the same thing on Windows, but it looks like I should just skip to seeing why it might work differently on Windows. :D
|
Does it fail on master on Windows too?
|
Yes (Windows 10). I have the build prepared just now and the problem exists.
|
I haven't tried that yet. I was using a version of Sigil (somewhat newer than 1.4.3) that I have on my work laptop in order to give it a quick test.
|
So the problem may be with the executable as that is pretty much the only Windows specific thing. Perhaps it is causing the plugin to exit abnormally?
|
No, I see issue.
Code:
apath = os.path.normcase(apath)titlemap says "OEBPS/introducao.xhtml", but the bookpath says "OEBPS/Introducao.xhtml". Since the bookpath in the titlemap is different than the actual name in the EPUB file – the condition is not met and the title is not inserted. --- Edit: If the xhtml file name is written in lowercase (e.g. toc.xhtml) then the title is inserted because the bookpath matches the titlemap. |
But how does it work on Linux which is fully case sensitive?
|
| All times are GMT -4. The time now is 08:24 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.