![]() |
#1 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 404
Karma: 1143880
Join Date: Jan 2011
Location: Ohio
Device: Boyue T62+; Boyue Mimas; and my old Kindle Keyboard
|
Internal Error: Huge Input Lookup
Hello. I have been using Sigil, off and on, for a long time and never received this error. I can't find information on what it means or what to do about it, and I'm hoping somebody here can help me.
I previously always used Sigil to create and/or edit ebooks on Windows 7. This is the first book I am editing on Linux Mint. Actually, it's just the Linux Mint user manual. (I wanted to read it on my ereader, but the reflow is awful because the text on top of it has at least two words that run together on almost every line. I figured since I have to read it on my computer anyway, I might as well fix it.) I copied, pasted, and edited about forty percent of it earlier today, and then saved it and turned off my computer. Now when I reopened it, I got this error: This page contains the following errors: error on line 249 at column 8: internal error: Huge input lookup Below is a rendering of the page up to the first error. I scrolled to the bottom, and it looks like it is displaying the text all the way to where I left off earlier. The only unusual thing I noticed when I was working on it earlier was this: I was copying the text from the pdf file and then pasting it into Sigil. For a short while, instead of pasting it straight into Sigil, I pasted it into the Linux built-in Text Editor to remove any formatting, and then pasted it into Sigil. (I used to do that some times in Windows with Notepad.) I started to notice that I couldn't place my mouse pointer in certain lines of text, and instead had to use the keyboard error buttons to navigate over to words that needed to be edited. It wasn't all the lines of text, just one here and there. It was weird. I never had that issue in Windows. I ended up just going back to pasting straight into Sigil and choosing "plain text". I'm now wondering if that caused the error. I Googled it and also tried to find an answer in the Sigil Wiki, but so far, no luck. Is anybody here familiar with this particular error? Is there a way to correct it, or do I need to just scrap the epub? It was quite a few hours of work, so I'm hoping it can be saved without too much trouble. Thanks in advance for any advice! ![]() Edited to Add: I am using version 0.9.9, which I just installed today from the repository. Last edited by blue_skies; 08-10-2019 at 10:34 PM. |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,453
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Is this error showing up in CodeView, BookView, or Preview Windows? Are you just pasting big blobs of text into a single huge paragraph or body tag instead of a paragraph for each.
Take a screenshot of the offending page in CodeView so that we can see what you are actually asking about. That should help. Kevin |
![]() |
![]() |
![]() |
#3 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,453
Karma: 5703586
Join Date: Nov 2009
Device: many
|
A google search for your error seems to indicate this is an internal libxml2 error message.
My guess is the code you have appears to be one big blob. |
![]() |
![]() |
![]() |
#4 | ||
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 404
Karma: 1143880
Join Date: Jan 2011
Location: Ohio
Device: Boyue T62+; Boyue Mimas; and my old Kindle Keyboard
|
Quote:
Quote:
I didn't know that I wasn't supposed to paste text in bookview. It's been years since I read the Sigil manual, and I never had a problem using Bookview. Hold on... I'll be right back. Last edited by blue_skies; 08-10-2019 at 11:20 PM. |
||
![]() |
![]() |
![]() |
#5 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 404
Karma: 1143880
Join Date: Jan 2011
Location: Ohio
Device: Boyue T62+; Boyue Mimas; and my old Kindle Keyboard
|
Okay. I clicked on Codeview to get the screencap, and Sigil froze up, and froze one of my system's cores at 100%. I had to restart. It's a new computer and I'm still pretty new to Linux. I think I'm just in over my head right now dealing with a new operating system too... so I will probably just delete the epub I was working on and just use Sigil on my Windows 7 computer in the future.
Thank you very much KevinH, for taking the time to respond and offer help. I really appreciate it. |
![]() |
![]() |
![]() |
#6 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 404
Karma: 1143880
Join Date: Jan 2011
Location: Ohio
Device: Boyue T62+; Boyue Mimas; and my old Kindle Keyboard
|
I think I will copy the epub to my Windows computer sometime in the next few days and see if I can fix it there without cause system issues.
I have not kept up with what's been going on with Sigil. So no more BookView in Sigil at all any more? Is that correct? |
![]() |
![]() |
![]() |
#7 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
This would be one step instead, then having to clean up all the mess, instead of trying to manually copy/paste each page one-by-one. But be warned, PDF is the worst input format... always try to work from something better if available. |
|
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,352
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I know v0.9.9 is probably the most recent version of Sigil in your repo, but it's actually quite old compared to the most recent version of Sigil (0.9.17). Even if there is a bug in that version of Sigil's codebase, we wouldn't be able to fix it in a way that would be useful to you.
As to how to possibly recover the contents of the epub in question: epubs are just specially structured zip files. Back it up somewhere, unzip it (might have to change the file extension to .zip for your archive manager to work with it) and take a look a look at the html code at the area in question in that particular file mentioned in the error. Maybe the code in question can be hand edited to fix the problem. Either way, any of the other xhtml files can be imported into a new Sigil epub. Even the contents of the problematic one can be pasted into a new file in Sigil's Code View. Just stay away from the problematic code that triggers the error. |
![]() |
![]() |
![]() |
#9 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,352
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Unfortunately, it's not likely that the newest versions of Sigil, or the stopgap app in question--PageEdit--will be available in Mint's software repositories. You would have to compile them yourself. |
|
![]() |
![]() |
![]() |
#10 | |||
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 404
Karma: 1143880
Join Date: Jan 2011
Location: Ohio
Device: Boyue T62+; Boyue Mimas; and my old Kindle Keyboard
|
Quote:
Quote:
Quote:
|
|||
![]() |
![]() |
![]() |
#11 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
But what you're saying currently doesn't make any sense. You were copying/pasting out of a PDF into Sigil, but that wouldn't include images... What's the ultimate goal though, are you trying to create text that's more readable on your reader? Because there are tools like k2pdfopt that will crop the PDFs. Then you don't have to go through all this copy/pasting, or going through the hell of trying to clean up PDF-to-text conversions. |
|
![]() |
![]() |
![]() |
#12 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 404
Karma: 1143880
Join Date: Jan 2011
Location: Ohio
Device: Boyue T62+; Boyue Mimas; and my old Kindle Keyboard
|
Quote:
I was going through all of this because I like to use large fonts, and in this case the reflow was terrible. Since it isn't a very long guide and I was going to read it anyway... I figured I would just make it into an ePub while I was at it. I've never had any problems doing this before. (On Windows anyway. I'm new to Linux. Maybe Windows 7 was just more forgiving of my apparently wrong way of doing this, or I was just lucky to not have any problems before now?) Thank you for the link. I think I looked at it years ago, but I still needed a larger font on my 6" eReader. I have a 10" one, so I may give it another try next time I boot up my Windows computer and hook up a monitor. |
|
![]() |
![]() |
![]() |
#13 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,352
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
The Windows Qt5 that ships with Sigil 0.9.15+ doesn't use libxml2 like the Linux versions do. Since that seems to be where your particular error originates, this could have been a problem for a long time on Linux. We have no real way of knowing.
|
![]() |
![]() |
![]() |
#14 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 404
Karma: 1143880
Join Date: Jan 2011
Location: Ohio
Device: Boyue T62+; Boyue Mimas; and my old Kindle Keyboard
|
I don't have access to my Windows computer right now, but it probably has an old version of Sigil on it. Possibly much older, I'm not sure.
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Internal Service Error | CardcaptorRLH85 | Calibre Companion | 4 | 05-06-2019 03:55 PM |
Just a few books - but huge portion of internal memory occupied? | nikosal | Calibre Companion | 6 | 07-13-2014 10:42 AM |
[Errno 5] Error of input/output | Chris_Leo | Calibre | 6 | 08-12-2013 01:29 AM |
Aura HD Huge file in Kobo Aura internal storage | wizzard | Kobo Reader | 3 | 06-02-2013 02:19 PM |
Input/Output error | tulsa | Calibre | 9 | 04-11-2010 10:51 AM |