Quote:
Originally Posted by dwanthny
This is a non-update???
What were your results?
I had no trouble with importing or converting this file and reading it at every stage with Calibre's viewer.
|
Yes - there were no changes.
I just replicated the issue on 3 different machines. (of course they are all *my* machines so they could all be broken the same way!
)
Here's all I did:
- download Adobe epub
- drag-n-drop to add to Calibre
- click "Save to disk"
- navigate to exported epub & double-click
- DRM error
Here's what I see when I try to run ebook-viewer from the command line:
Code:
$ ebook-viewer *.epub
** (<unknown>:5344): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed
link hasn't been detected!
link hasn't been detected!
InputFormatPlugin: EPUB Input running
on /home/philosoph/Downloads/Team, Adobe Digital Editions/EPUB Best Practices/EPUB Best Practices - Adobe Digital Editions Team.epub
Traceback (most recent call last):
File "/home/kovid/build/calibre/src/calibre/ebooks/epub/input.py", line 54, in process_encryption
File "/home/kovid/build/calibre/src/calibre/ebooks/epub/input.py", line 26, in decrypt_font
TypeError: unsupported operand type(s) for ^: 'int' and 'str'
And then I get the DRM message.
Here's when I open the good version from my actual Calibre library:
Code:
$ ebook-viewer *.epub
** (<unknown>:5238): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed
link hasn't been detected!
link hasn't been detected!
InputFormatPlugin: EPUB Input running
on /media/DATA/library/elibrary/philosophy/Adobe Digital Editions Team/EPUB Best Practices (3557)/EPUB Best Practices - Adobe Digital Editions Team.epub
Loaded embedded font: u'Myriad Pro'
Loaded embedded font: u'Adobe Jenson Pro'
Loaded embedded font: u'Bell Gothic Std'
WARNING: Family aliasing not fully supported.
Declared family: Courier not in actual families: [u'Courier New']
Substituting font family: Myriad Pro -> Myriad Pro
Substituting font family: Myriad Pro -> Myriad Pro
Substituting font family: Adobe Jenson Pro -> Adobe Jenson Pro
...continues & opens book...
I've attached the exported file that gives the DRM error.
EDIT: comparing the two shows only the .opf file changed - the metadata has been updated. But nothing which should have caused this.
On a side note, I notice that the original epub has the language set to 'en', but the exported epub is set to 'UND'. That's probably a bug of it's own. Manually fixing it still gives the DRM error.
Troy