![]() |
#256 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,842
Karma: 6120478
Join Date: Nov 2009
Device: many
|
Did you note that the epub zip did not start with the proper mimetype file unencrypted? That should not cause any real problems but what actually created this zip file? You never said.
Did you try it with Sigil-0.9.18 to see if it properly loaded the file as I asked? Quote:
|
|
![]() |
![]() |
![]() |
#257 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,645
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
I don't care that people have problems with ill-formed, non-compliant, garbage-archives-masquerading-as-epubs they get from the internet. Not even a little bit. GIGO. |
|
![]() |
![]() |
![]() |
#258 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,645
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Last edited by DiapDealer; 12-05-2019 at 09:10 AM. |
|
![]() |
![]() |
![]() |
#259 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,842
Karma: 6120478
Join Date: Nov 2009
Device: many
|
FWIW, I looked into this error message. It is the result of a runtime error generated by your operating system, not Sigil.
In Sigil we uses a try/catch to catch runtime errors and Sigil does the following: .//src/MainUI/MainWindow.cpp: Utility::DisplayExceptionErrorDialog(tr("Cannot load file %1: %2") The %1 is the local tmp file name for the file in question: /private/var/folders/mv/yh12pg850x565ymz2xwhxlvr0000gn/T/Sigil-SjhZWy/OEBPS/ and the %2 is the runtime error message from your OS: Macro: int EISDIR “Is a directory.” You cannot open a directory for writing, or create or remove hard links to it. So it is telling you you do not have permissions in your own tmp directory to write or create the OEBPS folder. In fact your path to your tmp files looks strange. It should not point into /private/var/folders but instead to /private/tmp/. Have you created your own tmp directory? So either your zip is corrupt and it is not properly distinguishing folders from files, or your manifest is incorrect listing a folder as a file, or your permissions are not properly set to create files and folders in your own temp directory. Sorry but that error message is not under the control of Sigil, it is from your underlying os. All Sigil can do is relay that runtime_error message. KevinH Quote:
Last edited by KevinH; 12-05-2019 at 09:23 AM. |
|
![]() |
![]() |
![]() |
#260 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,842
Karma: 6120478
Join Date: Nov 2009
Device: many
|
And if you are on a Mac you should really read up on Gatekeeper and App Translocation that happens when trying to open a quarantine file directly from your Downloads folder.
You should always manually drag and drop any file out of your Downloads folder before trying to invoke it. Otherwise a read-only image of it is created in /private/var/folders/mv (as is shown in your error message) that causes many/most applications to fail. Your ".epub" file is being treated as an app (could it have a malicious payload attached) exactly like that. |
![]() |
![]() |
![]() |
#261 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,600
Karma: 169712392
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
The major item that had me stop responding after my first reply was that I stopped and thought about what type of site would supply an epub inside a RAR archive. Anyone aware of any store doing so? The only times I've seen this used were by pirate sites.
|
![]() |
![]() |
![]() |
#262 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,842
Karma: 6120478
Join Date: Nov 2009
Device: many
|
Yes, good point! I missed the RAR bit completely.
|
![]() |
![]() |
![]() |
#263 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,095
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Baen delivers my Bundles and orders inside ZIP Archives.
The RAR thing also made me wonder, which is why I did not offer help. |
![]() |
![]() |
![]() |
#264 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,359
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Yes, you can get zip files - and iso files - from Baen. I think that is only for Baen published books, right? I don't think they use the .rar format though.
|
![]() |
![]() |
![]() |
#265 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,095
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
And NEVER have I seen a RAR from them. |
|
![]() |
![]() |
![]() |
#266 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,600
Karma: 169712392
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
As for ebooks, .zip is the only archive format Baen has used for the ebooks they sell (mandatory for bundles, optional for single books). |
|
![]() |
![]() |
![]() |
#267 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,821
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
I can't start Sigil. I receive the following error:
Code:
Embedded Python Error Traceback (most recent call last): File "I:/Programas/Sigil Alpha/python3lib\xmlprocessor.py", line 5, in <module> from sigil_bs4 import BeautifulSoup File "I:/Programas/Sigil Alpha/plugin_launchers/python\sigil_bs4\__init__.py", line 48, in <module> from .builder import builder_registry, ParserRejectedMarkup File "I:/Programas/Sigil Alpha/plugin_launchers/python\sigil_bs4\builder\__init__.py", line 325, in <module> from . import _htmlparser ValueError: source code string cannot contain null bytes Code:
error in xmlprocessor repairXML:-2 Traceback (most recent call last): File "I:/Programas/Sigil Alpha/python3lib\xmlprocessor.py", line 5, in <module> from sigil_bs4 import BeautifulSoup File "I:/Programas/Sigil Alpha/plugin_launchers/python\sigil_bs4\__init__.py", line 48, in <module> from .builder import builder_registry, ParserRejectedMarkup File "I:/Programas/Sigil Alpha/plugin_launchers/python\sigil_bs4\builder\__init__.py", line 325, in <module> from . import _htmlparser ValueError: source code string cannot contain null bytes |
![]() |
![]() |
![]() |
#268 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,842
Karma: 6120478
Join Date: Nov 2009
Device: many
|
Your path elements are all messed up. You have some path segments using forward slashes and some using backward slashes. Where did you get this build from?
|
![]() |
![]() |
![]() |
#269 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,821
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
https://github.com/Sigil-Ebook/Sigil...-x64-Setup.exe By the way, I'm using Windows 7 Ultimate x64. |
|
![]() |
![]() |
![]() |
#270 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,645
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Though I've never had a bit trouble with that build (nor has anyone else reported any similar issue using that installer), there's been considerable changes and fixes since it was made available. There's no real reason use that pre-release at the moment. I just downloaded it and installed it on Windows 10 with no issues, however--just to be sure.
You've also change the install location. Are you trying to run multiple versions of of Sigil at the same time and getting preferences folders crossed and confused? Last edited by DiapDealer; 12-11-2019 at 09:52 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
5.8.11 Pre=release | knc1 | Kindle Developer's Corner | 21 | 04-17-2018 08:42 PM |
Overdrive - Search for Pre-Release | nynaevelan | General Discussions | 11 | 11-24-2013 02:27 PM |
Where are the pre-release purchase buttons? | Sydney's Mom | General Discussions | 8 | 09-06-2012 10:57 PM |
KF Android 4.0 Pre-Release Version | robertc88 | Kindle Fire | 22 | 01-22-2012 07:24 PM |
PDF Viewer 0.3.0 pre-release | pruss | Android Devices | 62 | 11-22-2011 11:18 AM |