Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-16-2022, 01:00 PM   #1
jtweeks
Junior Member
jtweeks began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2021
Location: South Carolina
Device: ipad
Sigil Nuisance Message "Files exist ...."

I have noticed that often when I open a Sigil file I created that I first have to get beyond an initial message from Sigil that reads: "Files exist in epub that are not listed in the manifest, they will be ignored". In this case when I look at the message detail it tells me that the file mentioned is iTunesMetadata.plist. I cannot find this file anywhere within the epub file, including the manifest section in the content.opf file. I have also searched my computer for this file and I cannot locate it.
Any help to resolve this issue would be appreciated.
I am currently on a Windows 11 PC with Sigil version 1.9.10
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2022-08-15 110527.jpg
Views:	190
Size:	17.5 KB
ID:	195908  
jtweeks is offline   Reply With Quote
Old 08-16-2022, 01:59 PM   #2
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,347
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
That file is only for the Apple products (Books). Sigil is telling you that it is not listed in the manifest - so it will ignore it - completely.

To remove it, close Sigil. Rename the file from ".epub" to ".zip". Open with your favorite zip file editor. find that file and delete it. Rename back to ".epub"
Turtle91 is offline   Reply With Quote
Advert
Old 08-16-2022, 02:03 PM   #3
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,725
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Turtle91 View Post
To remove it, close Sigil. Rename the file from ".epub" to ".zip". Open with your favorite zip file editor. find that file and delete it. Rename back to ".epub"
Or you could simply add and remove a space somewhere and save the file. (Sigil will remove all unmanifested files when you save an .epub.)
Doitsu is offline   Reply With Quote
Old 08-16-2022, 02:56 PM   #4
un_pogaz
Chalut o/
un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.
 
un_pogaz's Avatar
 
Posts: 439
Karma: 145424
Join Date: Dec 2017
Device: Kobo
The Sigil behavior is to delete unmanifested files because they are invalid according to the standard and normally unusable.
In the vast majority of cases, it doesn't matter because they are usually, like here, useless artifacts left by other software... but sometimes not. Sometimes, the ePub was badly constructed and some of the unmanifested files ae important.
This window was added to warn you and check that you won't delete anything important in this ePub by continuing to use Sigil. It is better to be overly cautious rather than silently deleting this files, as Sigil's old behavior did, which could be disastrous.

Otherwise, for this iTunesMetadata.plist, as the others said, if you want to see it, you had to rename the .epub extension of your file to .zip and open it as any compressed folder... but it's a lot of things for not much.
iTunesMetadata.plist contains redundant metadata with the OPF (and again, just the basic one), nothing useful, you could abandon them without fear.

Here an example I found:
Spoiler:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>artistName</key>
    <string>Jacqueline Wilson</string>
    <key>book-info</key>
    <dict>
        <key>cover-image-hash</key>
        <string>01F90BD402AED4591CDAC2854E60FA40</string>
        <key>cover-image-path</key>
        <string>OEBPS/image/Cover.jpg</string>
        <key>mime-type</key>
        <string>application/epub+zip</string>
        <key>package-file-hash</key>
        <string>39E4963F8FA4E1ABAD18FB41A6FD1050</string>
        <key>publisher-unique-id</key>
        <string>978-2-07-502603-1</string>
        <key>unique-id</key>
        <integer>-5295544573930177608</integer>
        <key>update-level</key>
        <integer>2</integer>
    </dict>
    <key>itemName</key>
    <string>Une nouvelle vie pour Millie Plume</string>
    <key>playlistName</key>
    <string>Une nouvelle vie pour Millie Plume</string>
    <key>releaseDate</key>
    <string>2014-03-02</string>
    <key>sort-artist</key>
    <string>Wilson Jacqueline</string>
    <key>sort-artist-status</key>
    <integer>3</integer>
</dict>
</plist>

Last edited by un_pogaz; 08-16-2022 at 04:27 PM.
un_pogaz is offline   Reply With Quote
Old 08-16-2022, 03:56 PM   #5
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: 265
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Quite a coincidence. I was just sent an epub which I decided to look at in Sigil. Sigil complained with an error message: "Files exist in epub that are not listed in the manifest, they will be ignored." I clicked on the Details button and read simply: OEBPS/cover.xhtml. The first time I've ever seen this message.

I renamed the epub as a zip and opened it in an archive manager. I found the cover.xhtml file in the OEBPS folder but it had failed to be referenced in the manifest although it was in the guide section. I typed in a reference, saved it and renamed to epub. Sigil opened it without complaining.

The epub had been created with Vellum for a "Generic" target. The CSS in the styles sheet seems terribly complex. Every chapter heading is wrapped in 6 <div> tags. Every paragraph has multiple class attributes and when I check what some of them do, they appear to have no effect at all.

Last edited by philja; 08-16-2022 at 03:59 PM.
philja is offline   Reply With Quote
Advert
Old 08-16-2022, 05:40 PM   #6
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,056
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by philja View Post
The epub had been created with Vellum for a "Generic" target. The CSS in the styles sheet seems terribly complex. Every chapter heading is wrapped in 6 <div> tags. Every paragraph has multiple class attributes and when I check what some of them do, they appear to have no effect at all.
You've just found the items that generates the most complaints about Vellum's CSS. If you then add in the number of classes used that are not in the CSS files, you begin to understand @JSWolf's complaints about Vellum.
DNSB is offline   Reply With Quote
Old 08-18-2022, 11:28 AM   #7
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
Just a thought for those who may want to go the route of unzip - edit - re-zip their epubs.

I'm so old I remember doing this routinely, in the era Before Sigil.

If I recall correctly, the re-zipping has to be done in a particular way such that the "mimetype" file ends up as the first file in the root of the zip/epub directory, and it must be exactly 20 bytes in size, and it must have no compression. The content of the mimetype file is simply "application/epub+zip" (without quotes).

Again, IIRC, I did it by first zipping the mymetype file alone into a fresh zip file, then add the META-INF and OEBPS subdirectories in another step(s). (did that have to be done separately, in that order? I don't recall.)

Someone correct me if I've remembered it wrong. At the time, I just wrote a script file to handle it so I wouldn't have to think about it. Now, I've lost the script file.

Moral of the story: a very big to the Sigil developers and maintainers.

Albert
st_albert is offline   Reply With Quote
Old 08-18-2022, 12:17 PM   #8
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,725
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by st_albert View Post
Someone correct me if I've remembered it wrong. At the time, I just wrote a script file to handle it so I wouldn't have to think about it. Now, I've lost the script file.
BTW, each release of Sigil comes with a Python script that contains routines for packing and unpacking .epub files: epub_utils.py
Doitsu is offline   Reply With Quote
Old 08-18-2022, 12:54 PM   #9
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,750
Karma: 5706256
Join Date: Nov 2009
Device: many
And for macOS, there is Paul's wonderful drag and drop app (available from Mobileread someplace) that handles things properly. At one point there was something similar for Windows.

Found the macOS epub zip tool app thread with links here:

https://www.mobileread.com/forums/sh...ad.php?t=55681

And something similar for Windows here:

https://www.mobileread.com/forums/sh...ad.php?t=84675

Last edited by KevinH; 08-18-2022 at 01:48 PM.
KevinH is offline   Reply With Quote
Old 08-18-2022, 01:06 PM   #10
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,347
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, Sigil is awesome for handling all those details automagically.

I haven’t had any issues doing the rename/edit/rename process on an existing ePub. I don’t touch the mimetype file I just edit the opf to change a version 3 to a version 2 ePub. Creating a new ePub without Sigil would be “fun”.
Turtle91 is offline   Reply With Quote
Old 08-18-2022, 02:24 PM   #11
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,712
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by jtweeks View Post
I have noticed that often when I open a Sigil file I created that I first have to get beyond an initial message from Sigil that reads: "Files exist in epub that are not listed in the manifest, they will be ignored". In this case when I look at the message detail it tells me that the file mentioned is iTunesMetadata.plist. I cannot find this file anywhere within the epub file, including the manifest section in the content.opf file. I have also searched my computer for this file and I cannot locate it.
Any help to resolve this issue would be appreciated.
I am currently on a Windows 11 PC with Sigil version 1.9.10
That file means you've added that eBook to iTunes. You don't need it. It should be deleted.
JSWolf is offline   Reply With Quote
Old 08-18-2022, 02:32 PM   #12
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,712
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by philja View Post
Quite a coincidence. I was just sent an epub which I decided to look at in Sigil. Sigil complained with an error message: "Files exist in epub that are not listed in the manifest, they will be ignored." I clicked on the Details button and read simply: OEBPS/cover.xhtml. The first time I've ever seen this message.

I renamed the epub as a zip and opened it in an archive manager. I found the cover.xhtml file in the OEBPS folder but it had failed to be referenced in the manifest although it was in the guide section. I typed in a reference, saved it and renamed to epub. Sigil opened it without complaining.

The epub had been created with Vellum for a "Generic" target. The CSS in the styles sheet seems terribly complex. Every chapter heading is wrapped in 6 <div> tags. Every paragraph has multiple class attributes and when I check what some of them do, they appear to have no effect at all.
First thing I do with this sort of mess is drop the HTML files I don't need. Then I remove all unused CSS in the CSS and HTML. I'll use Diap's Editing Toolbag to remove more garbage. I'll again remove the unused CSS. When I am done enough, I'll add in my code to the CSS and delete any duplicates. Then I'll proceed from there to fix the code (HTML/CSS). And yes, I'll simplify the CSS.

Vellum is a terrible program and should go away forever. All the eBooks I've seen made with Vellum have terrible code.
JSWolf is offline   Reply With Quote
Old 08-18-2022, 02:37 PM   #13
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,712
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by st_albert View Post
Just a thought for those who may want to go the route of unzip - edit - re-zip their epubs.

I'm so old I remember doing this routinely, in the era Before Sigil.

If I recall correctly, the re-zipping has to be done in a particular way such that the "mimetype" file ends up as the first file in the root of the zip/epub directory, and it must be exactly 20 bytes in size, and it must have no compression. The content of the mimetype file is simply "application/epub+zip" (without quotes).

Again, IIRC, I did it by first zipping the mymetype file alone into a fresh zip file, then add the META-INF and OEBPS subdirectories in another step(s). (did that have to be done separately, in that order? I don't recall.)

Someone correct me if I've remembered it wrong. At the time, I just wrote a script file to handle it so I wouldn't have to think about it. Now, I've lost the script file.

Moral of the story: a very big to the Sigil developers and maintainers.

Albert
I used to edit the code that way. But I'd not extract META-INF and OEBPS. I would leave them be. Now I can use an editor to do my edits. Editing eBooks to fix the formatting helped me learn a lot of CSS/HTML and how eBooks are mostly poorly made.
JSWolf is offline   Reply With Quote
Old 08-18-2022, 02:51 PM   #14
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,559
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by JSWolf View Post
... and how eBooks are mostly poorly made.
To be fair, it's not just ebooks. Anywhere (x)HTML and CSS is used, many are using it poorly. I tend to focus on how the book renders. I hardly ever "pop the hood" on my ebook purchases any more. I don't really care if it it's all higgledy-piggledy under there so long as it renders reasonably.

So much like the websites I frequent, commercial ebooks are either "clean" enough for me to read without me needing to root around in their code first, or I don't read them. *shrug*
DiapDealer is offline   Reply With Quote
Old 08-18-2022, 03:47 PM   #15
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,712
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DiapDealer View Post
To be fair, it's not just ebooks. Anywhere (x)HTML and CSS is used, many are using it poorly. I tend to focus on how the book renders. I hardly ever "pop the hood" on my ebook purchases any more. I don't really care if it it's all higgledy-piggledy under there so long as it renders reasonably.

So much like the websites I frequent, commercial ebooks are either "clean" enough for me to read without me needing to root around in their code first, or I don't read them. *shrug*
My problem is that a lot of the books I do want to read need fixing. So I go in to fix them. Most are not too bad under the hood. But any made with Vellum are terrible under the hood.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil 1.1.0 "losing" files snarkophilus Sigil 19 03-14-2020 01:58 PM
Error :"Book does not exist" -- Moon+ Reader Pro alfonker Android Devices 0 08-21-2018 04:26 PM
Sigil on Linux: "A plugin by that name does not exist" st_albert Sigil 9 11-08-2016 04:17 PM
Sigil 024 and regular expressions on "all HTML files" WS64 Sigil 4 08-13-2010 07:33 PM
Importing "big" XHTML files in Sigil paulpeer Sigil 8 03-19-2010 05:00 AM


All times are GMT -4. The time now is 09:42 PM.


MobileRead.com is a privately owned, operated and funded community.