Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-13-2023, 07:48 PM   #1
Fiat_Lux
Addict
Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.
 
Fiat_Lux's Avatar
 
Posts: 394
Karma: 6700000
Join Date: Jan 2012
Location: Gimel
Device: tablets
Missing language pack for 'Adobe-GB1' mapping

Looking at the output, I'm seeing this syntax error message replicated a number of times.

Code:
Traceback (most recent call last):
  File "calibre/customize/ui.py", line 469, in get_file_type_metadata
  File "calibre/customize/builtins.py", line 176, in get_metadata
  File "calibre/ebooks/metadata/epub.py", line 216, in get_metadata
  File "calibre/ebooks/metadata/epub.py", line 164, in get_zip_reader
  File "calibre/ebooks/metadata/epub.py", line 147, in __init__
  File "calibre/ebooks/metadata/epub.py", line 98, in __init__
  File "calibre/ebooks/metadata/epub.py", line 151, in open
  File "calibre/utils/localunzip.py", line 275, in open
  File "calibre/utils/localunzip.py", line 269, in _get_file_info
ValueError: This ZIP container has no file named: META-INF/container.xml
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
QAbstractItemView::commitData called with an editor that does not belong to this view
QAbstractItemView::closeEditor called with an editor that does not belong to this view
QAbstractItemView::commitData called with an editor that does not belong to this view
QAbstractItemView::closeEditor called with an editor that does not belong to this view
Traceback (most recent call last):
  File "calibre/gui2/viewer/annotations.py", line 93, in run
  File "calibre/gui2/viewer/annotations.py", line 66, in save_annotations
  File "calibre/gui2/viewer/integration.py", line 80, in save_annotations_list_to_library
  File "calibre/db/backend.py", line 319, in save_annotations_for_book
apsw.BusyError: BusyError: database is locked
WARNING: Epub doesn't contain a valid mimetype declaration
Traceback (most recent call last):
  File "calibre/customize/ui.py", line 469, in get_file_type_metadata
  File "calibre/customize/builtins.py", line 176, in get_metadata
  File "calibre/ebooks/metadata/epub.py", line 217, in get_metadata
  File "calibre/ebooks/metadata/epub.py", line 155, in read_bytes
  File "calibre/utils/zipfile.py", line 1005, in read
  File "calibre/utils/zipfile.py", line 1035, in open
  File "tempfile.py", line 756, in seek
OSError: [Errno 22] Invalid argument
Syntax Error: Missing language pack for 'Adobe-GB1' mapping
Syntax Error: Unknown font tag 'C0_0'
Syntax Error (23683): No font in show
Syntax Error: Unknown font tag 'C0_0'
Syntax Error (26253): No font in show
Syntax Error: Missing language pack for 'Adobe-GB1' mapping
Syntax Error: Unknown font tag 'C0_0'
Syntax Error (53270): No font in show
Syntax Error: Unknown font tag 'C0_0'
Syntax Error (55425): No font in show
Syntax Error: Missing language pack for 'Adobe-GB1' mapping
Syntax Error: Unknown font tag 'C0_0'
Syntax Error (85184): No font in show
Syntax Error: Unknown font tag 'C0_0'
Syntax Error (87731): No font in show
Syntax Error: Missing language pack for 'Adobe-GB1' mapping
Syntax Error: Unknown font tag 'C0_0'
Syntax Error (128574): No font in show
Syntax Error: Unknown font tag 'C0_0'
Syntax Error (130970): No font in show
Syntax Error: Missing language pack for 'Adobe-GB1' mapping
Syntax Error: Unknown font tag 'C0_0'
Syntax Error (163108): No font in show
Syntax Error: Unknown font tag 'C0_0'
Syntax Error (165620): No font in show
Syntax Error: Missing language pack for 'Adobe-GB1' mapping
Syntax Error: Unknown font tag 'C0_0'
Syntax Error (189824): No font in show
Syntax Error: Unknown font tag 'C0_0'
Syntax Error (192390): No font in show
Syntax Error: Missing language pack for 'Adobe-GB1' mapping
Syntax Error: Unknown font tag 'C0_0'
Syntax Error (227419): No font in show
Syntax Error: Unknown font tag 'C0_0'
Syntax Error (229674): No font in show
Syntax Error: Missing language pack for 'Adobe-GB1' mapping
Syntax Error: Unknown font tag 'C0_0'
Syntax Error (260401): No font in show
Syntax Error: Unknown font tag 'C0_0'
Syntax Error (262050): No font in show
Syntax Error: Missing language pack for 'Adobe-GB1' mapping
Syntax Error: Unknown font tag 'C0_0'
Syntax Error (293567): No font in show
Syntax Error: Unknown font tag 'C0_0'
Syntax Error (295585): No font in show
Syntax Error: Missing language pack for 'Adobe-GB1' mapping
Syntax Error: Unknown font tag 'C0_0'
Syntax Error (323676): No font in show
Syntax Error: Unknown font tag 'C0_0'
Syntax Error (325818): No font in show
"Error: Non conformant codestream TPsot==TNsot.<0a>"
"Error: Non conformant codestream TPsot==TNsot.<0a>"
QAbstractItemView::commitData called with an editor that does not belong to this view
QAbstractItemView::closeEditor called with an editor that does not belong to this view
Syntax Warning: Invalid number of shared object groups
Syntax Warning: Invalid number of shared object groups
What do I need to add/install to prevent that syntax error from happening?
Fiat_Lux is offline   Reply With Quote
Old 06-13-2023, 08:47 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
That is not an EPUB (or one that was not properly zipped for EPUB use).

ValueError: This ZIP container has no file named: META-INF/container.xml
You might change the extension to ZIP and try Importing (as a new book), then converting that to EPUB
theducks is offline   Reply With Quote
Advert
Old 06-13-2023, 08:51 PM   #3
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,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
This ZIP container has no file named: META-INF/container.xml
The first thing that comes to mind is that you have to use a valid ePub file. The specification says that you MUST have a file called container.xml and it MUST be in the META-INF directory.

Simply renaming a file as .epub does not make it a valid epub file.

And also, where did you obtain that file so others may know to avoid it.
DNSB is offline   Reply With Quote
Old 06-13-2023, 10:27 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's an error from a font library. Presumably one of the fonts in the file you are processing is causing it.
kovidgoyal is online now   Reply With Quote
Old 06-14-2023, 12:36 AM   #5
Fiat_Lux
Addict
Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.
 
Fiat_Lux's Avatar
 
Posts: 394
Karma: 6700000
Join Date: Jan 2012
Location: Gimel
Device: tablets
Quote:
Originally Posted by kovidgoyal View Post
That's an error from a font library. Presumably one of the fonts in the file you are processing is causing it.
Does Calibre verify that the fonts that the ebook uses are installed?
Fiat_Lux is offline   Reply With Quote
Advert
Old 06-14-2023, 12:38 AM   #6
Fiat_Lux
Addict
Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.
 
Fiat_Lux's Avatar
 
Posts: 394
Karma: 6700000
Join Date: Jan 2012
Location: Gimel
Device: tablets
Quote:
Originally Posted by theducks View Post
That is not an EPUB (or one that was not properly zipped for EPUB use).

ValueError: This ZIP container has no file named: META-INF/container.xml
You might change the extension to ZIP and try Importing (as a new book), then converting that to EPUB

How does having a container.xml that is either invalid, or absent, trigger a font error message?
Fiat_Lux is offline   Reply With Quote
Old 06-14-2023, 12:58 AM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Fiat_Lux View Post
Does Calibre verify that the fonts that the ebook uses are installed?
That's an error processing the font file *inside the EPUB* most likely. I have no way to tell you more since you dont say what it is you are trying to do, or provide complete logs or the EPUB file in question.
kovidgoyal is online now   Reply With Quote
Old 06-14-2023, 03:28 AM   #8
Fiat_Lux
Addict
Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.
 
Fiat_Lux's Avatar
 
Posts: 394
Karma: 6700000
Join Date: Jan 2012
Location: Gimel
Device: tablets
Quote:
Originally Posted by kovidgoyal View Post
That's an error processing the font file *inside the EPUB* most likely. I have no way to tell you more since you dont say what it is you are trying to do, or provide complete logs or the EPUB file in question.
Today I was cleaning up/correcting/adding metadata to the files I imported yesterday.

I only noticed it after I closed Calibre, and was scrolling through the terminal output.
Fiat_Lux is offline   Reply With Quote
Old 06-14-2023, 03:45 AM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Dont worry about it then. It will have most likely been when rendering the first page of an EPUB that does not have a cover. At such times fonts have to be processed.
kovidgoyal is online now   Reply With Quote
Old 06-14-2023, 12:00 PM   #10
Fiat_Lux
Addict
Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.
 
Fiat_Lux's Avatar
 
Posts: 394
Karma: 6700000
Join Date: Jan 2012
Location: Gimel
Device: tablets
Quote:
Originally Posted by kovidgoyal View Post
Dont worry about it then. It will have most likely been when rendering the first page of an EPUB that does not have a cover. At such times fonts have to be processed.
That almost makes sense. Virtually none of the ebooks I was working on had a cover.
Fiat_Lux is offline   Reply With Quote
Reply

Tags
adobe gb1


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Language Learning section is missing Pinyin option tangerino Amazon Kindle 3 09-15-2018 10:37 PM
Multi tag value mapping RobinLee Plugins 1 10-05-2017 10:29 AM
Making a Keyboard language pack April_7th Kindle Developer's Corner 7 05-22-2014 02:21 PM
User Interface Language - Preference item missing! jjenkov Sigil 5 07-06-2012 07:27 AM
adjusting toc.ncx file to restore missing chapters viewed in Adobe Digital Editions cyberbaffled ePub 5 12-06-2009 09:44 PM


All times are GMT -4. The time now is 03:01 AM.


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