07-04-2013, 01:34 AM | #1 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
sigil will not open book.original_epub
it would be handy to be able to peek into calibre conversion epub backups - file type original_epub occasionally, without having to go thru the copy.. rename.. palava. but sigail will not open them as is, even though they are just epubs with a different file type.
I get a no opener for... error is this an easy future fix ? |
07-04-2013, 06:24 AM | #2 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I think that you need to manually rename the file to the correct extension. Perhaps a change request to Calbre to have backups renamed to: <filename>_original.epub?
|
07-04-2013, 07:53 AM | #3 | |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
what exactly is sigil objecting to, as the contents of such a file are fine - as proven by the fact that a rename works. but that requires taking a copy from within calibre library - bcause renaming it within the library will mess up calibre - so it's open path, select backup copy, copy to desktop - rename - open - 5 steps. |
|
07-04-2013, 08:39 AM | #4 |
Grand Sorcerer
Posts: 27,561
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
It's just a line drawn in the sand. Nothing more nothing less. Sigil's apparently coded to open .epub files... not ePubs disguised with other file extensions. Should it also open files named *.zip -- provided there's a valid epub structure within?
I can certainly see the convenience (for you and possibly others) of your request, but I don't think it's a good idea to start catering to the whims of external programs' backup/failsafe naming conventions--regardless of how popular said program might be. But in the end, it wouldn't really affect me in the least if Sigil was modified to allow the opening *.original_epub files, so ... whatever. |
07-04-2013, 09:05 AM | #5 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
I take your point but sigil is an epub processor and an epub with a strange file type is still really an epub, inside....
is there not something inside a file that tells windows what it "really" is & could not sigil not look at that, rather than at the filetype shell. & yes I think it should open zips if the zip is really an epub. I am surprised it does not already do zip. is it not just a case of removing the line of code that inspects file type & says "quit already" ? & let sigil at least try to open it |
07-04-2013, 09:24 AM | #6 | ||||
Grand Sorcerer
Posts: 27,561
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Quote:
Quote:
Quote:
Last edited by DiapDealer; 07-04-2013 at 10:05 AM. |
||||
07-04-2013, 09:50 AM | #7 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Sounds like a lot of work for the developers to protect Sigil from zip files that may be anything from viruses to somebody's list of kazoos.
With epub, at least somebody thought it was a epub. |
07-04-2013, 10:12 AM | #8 |
Well trained by Cats
Posts: 29,836
Karma: 54837878
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
No!
For all the reasons DiapDealer gave Unless, of coarse, you manage to convince all those other apps to change, making Sigil the one that was out of step |
07-04-2013, 10:46 AM | #9 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
well, many programs are willing to at least try to open anything you throw at them e.g. notepad, most of MS office suite; the results may be useless but they at least try.
And what's this nonsense about "protecting sigil" from viruses. the only thing at risk here is the user's PC, nothing is going to zap across cyberspace & infect the program authors! If the right kind of virus is loose on a pC it can infect sigil or any other exe with malicious add-ons anyway. it does not matter what formats sigil is set to open as infection can happen to exe files that are not in active use, just on the local hard drive. but I seem well outvoted ( 3:1 and counting) so I'll drop the idea |
07-10-2013, 08:56 PM | #10 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Sigil can open .html, .txt and .epub. How does Sigil know what handler to use for the file? By the file extension.
|
07-11-2013, 12:58 AM | #11 | |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
Many program have a main association and also a backup association. e,g, excel opens .xlb as well as .xls. MS word also has a backup file type, & I am sure that a rummage though installed programs would find other examples... Last edited by cybmole; 07-11-2013 at 01:02 AM. |
|
07-11-2013, 03:39 AM | #12 | |
Imperfect Perfectionist
Posts: 466
Karma: 724664
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: none
|
Quote:
Just my two pennies worth opinion Regards, Kim |
|
07-11-2013, 07:24 AM | #13 | |
Well trained by Cats
Posts: 29,836
Karma: 54837878
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
07-11-2013, 09:24 AM | #14 |
Addict
Posts: 304
Karma: 2454436
Join Date: Sep 2008
Device: PRS-505, PRS-650, iPad, Samsung Galaxy SII (JB), Google Nexus 7 (2013)
|
|
07-11-2013, 12:23 PM | #15 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Why do I get a blank file when I open SIGIL? | camdenmaine | Sigil | 3 | 04-05-2013 08:04 PM |
Sigil 7.0 taking longer to open files | GOGGS75 | Sigil | 27 | 03-03-2013 04:25 PM |
ORIGINAL_EPUB problem | Iskariot | Calibre | 20 | 08-05-2011 09:29 PM |
Importing Open Office HTML in Sigil | paulpeer | Sigil | 17 | 03-18-2010 04:23 AM |
sigil doesn't open epub file | cyberbaffled | Sigil | 8 | 11-10-2009 03:28 PM |