Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 01-20-2020, 06:16 PM   #1
Daria Lacy
Junior Member
Daria Lacy began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2020
Device: none
Problem importing files to book

I've been using Sigil for quite a few years, usually by exporting from InDesign to epub and then cleaning up using Sigil. Occasionally I've needed to add images, and never had a problem - until now. Now I get the message "you don't have permission to open this file." I'm the creator of the files, and I've double checked the permissions within the file, the file works in every other program (InDesign, Illustrator, Photoshop) just fine, but can't be imported into Sigil or Calibre, for that matter. I tried adding the file directly to the ebook via opening the epub using zip, and adding the file, and it shows up there just fine, and even works in the html using Dreamweaver. But even added that way, the file can't be placed on a Sigil page. What's up???? Any ideas???
Daria Lacy is offline   Reply With Quote
Old 01-20-2020, 08:09 PM   #2
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: 21,764
Karma: 119866762
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Just the one file? Other files work fine?
DiapDealer is online now   Reply With Quote
Advert
Old 01-20-2020, 11:25 PM   #3
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 1,437
Karma: 7010385
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Daria Lacy View Post
I tried adding the file directly to the ebook via opening the epub using zip, and adding the file, and it shows up there just fine, and even works in the html using Dreamweaver. But even added that way, the file can't be placed on a Sigil page. What's up???? Any ideas???
Well, the reason why this specific method doesn't work is that Sigil is an "EPUB editor". The file needs to exist in the content.opf for it to be a valid EPUB, it can't just have random files floating around inside like your typical ZIP file.

Quote:
Originally Posted by Daria Lacy View Post
[...] usually by exporting from InDesign to epub and then cleaning up using Sigil. Occasionally I've needed to add images, and never had a problem - until now. Now I get the message "you don't have permission to open this file."
Which version of Mac + Sigil are you using? Did you recently update?

And like Diap asked, is it just this specific file? Or when you try to add any images?
Tex2002ans is offline   Reply With Quote
Old 01-21-2020, 02:30 PM   #4
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,359
Karma: 909336
Join Date: Dec 2012
Device: Kindle
Yeah, you must right-click on the Images folder, then choose Add Existing Files, and find your image. Then you must point to it in Code View, something like <img alt="My Pretty Picture" src="../Images/prettypic.jpg" width="100%"/>

That's how I do it. Sigil has redundant file options, so there are probably other ways as easy or easier.
Notjohn is offline   Reply With Quote
Old 01-24-2020, 07:33 PM   #5
Daria Lacy
Junior Member
Daria Lacy began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2020
Device: none
Not just one file. Several files, even tried with ones that were created back when I could add files.

And no, one can add files to a project from outside the epub book file, there's a button above the field for adding images already in that you can click to go outside the epub to add an image. It then adds it to the images folder. And yup, I've done that before. Just won't work now.

I guess I was wondering if this is happening to anyone else, such as an upgrade is causing the issue for some of us. Actually, I'm wondering if the last Windows 7 upgrades are the issue, although I backed my machine up to prior to the last couple of Windows upgrades. No joy, but maybe I didn't go to a far enough past back up.
Daria Lacy is offline   Reply With Quote
Advert
Old 01-24-2020, 07:36 PM   #6
Daria Lacy
Junior Member
Daria Lacy began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2020
Device: none
Actually, you can add an image from outside the images folder, by clicking on the box about the add line for folder images. But... thinking maybe that was the issue, I actually unzipped the epub file, added two images, and rezipped. The images show up in the zip file, but are still unusable inside of Sigil. Still get the error message that I'm not allowed to open the files. I made them, so that's a stupid statement, and I am shown with full rights to work with the files in the file Properties.
Daria Lacy is offline   Reply With Quote
Old 01-24-2020, 07:37 PM   #7
Daria Lacy
Junior Member
Daria Lacy began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2020
Device: none
Quote:
Originally Posted by Tex2002ans View Post
Well, the reason why this specific method doesn't work is that Sigil is an "EPUB editor". The file needs to exist in the content.opf for it to be a valid EPUB, it can't just have random files floating around inside like your typical ZIP file.



Which version of Mac + Sigil are you using? Did you recently update?

And like Diap asked, is it just this specific file? Or when you try to add any images?
Any image not imported into the ebook file upon creation from export from InDesign. Several different ebook files as well.
Daria Lacy is offline   Reply With Quote
Old 01-24-2020, 10:47 PM   #8
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: 21,764
Karma: 119866762
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Daria Lacy View Post
But... thinking maybe that was the issue, I actually unzipped the epub file, added two images, and rezipped. The images show up in the zip file, but are still unusable inside of Sigil.
As previously mentioned, you can't just pop files into the zip file and expect it to work. They need to manifested in the OPF file for Sigil to know about them.

You're not, by any chance, meddling around in the temp folders Sigil uses to expand epubs into while Sigil has them open are you?

Last edited by DiapDealer; 01-24-2020 at 10:56 PM.
DiapDealer is online now   Reply With Quote
Old 01-24-2020, 10:57 PM   #9
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: 21,764
Karma: 119866762
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I don't believe the error message you're getting is from Sigil. A search of the source code shows no error message strings that use that kind of phrasing. Can you copy the exact text of the error message and post it here, please?

Also, what version of Sigil are you using?
DiapDealer is online now   Reply With Quote
Old 01-24-2020, 11:39 PM   #10
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 15,469
Karma: 16370000
Join Date: Mar 2012
Location: Sydney Australia
Device: none
‘You don’t have permission to open this file' is a long standing Windows msg.

Click image for larger version

Name:	Annotation 2020-01-25 143721.jpg
Views:	31
Size:	28.2 KB
ID:	176647

BR
BetterRed is offline   Reply With Quote
Old 01-24-2020, 11:48 PM   #11
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: 21,764
Karma: 119866762
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Actually, I'm seeing this in the changelog for the next release of Sigil:

"- Fix bug in Insert Files from Disk"

Wondering if it's related. I'll see if I track down the bug discussion.
DiapDealer is online now   Reply With Quote
Old 01-25-2020, 12:15 AM   #12
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: 21,764
Karma: 119866762
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
There was definitely an issue with the Insert Files utility in Sigil v1.0.0. I can see the commit where it was fixed, but I can't find any conversations about how the issue manifested.

If you're using v1.0.0, I'm betting this was the same issue. If so, the good news is it's been fixed, but the bad news is that a new version with the fix hasn't been released yet. We're hoping soon(ish).
DiapDealer is online now   Reply With Quote
Old 01-25-2020, 12:28 AM   #13
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: 21,764
Karma: 119866762
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
No permissions error was reported, but this issue was exactly mentions using Insert File, and then clicking the Other Files button to add external files as the problem. Hopefully that's the same issue.
DiapDealer is online now   Reply With Quote
Old 01-31-2020, 01:42 PM   #14
Daria Lacy
Junior Member
Daria Lacy began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2020
Device: none
Quote:
Originally Posted by DiapDealer View Post
No permissions error was reported, but this issue was exactly mentions using Insert File, and then clicking the Other Files button to add external files as the problem. Hopefully that's the same issue.
Downloads are too slow this morning here in the boonies to check the link you provided, but that sounds like the problem. So until the update comes in, I'll have to go back to the start if I want to add files. Thanks for your invaluable help!

Since adding files worked before (both using the program, the easiest method) and adding by entering them into the epub via zip) it probably has to do with some update Windows through in there. Sometimes they just don't like to play together nicely - Windows and everybody else.
Daria Lacy is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing old Files Rellwood Library Management 7 01-03-2016 10:46 AM
Importing files JimmyG Sigil 2 04-09-2013 08:04 AM
PRS-T1 problem importing book bought from google thomasn75 Sony Reader 5 09-24-2012 06:24 AM
Kindle Touch importing books problem: No covers, no book description. Mayr Amazon Kindle 5 05-28-2012 07:43 AM


All times are GMT -4. The time now is 08:28 PM.


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