View Single Post
Old 05-12-2010, 07:03 PM   #5
troymc
Groupie
troymc will become famous soon enoughtroymc will become famous soon enoughtroymc will become famous soon enoughtroymc will become famous soon enoughtroymc will become famous soon enoughtroymc will become famous soon enough
 
Posts: 161
Karma: 608
Join Date: Aug 2008
Location: Plano, TX
Device: Sony PRS-505 + B&N Nook + Motion LE1700 + Motorola Xoom Wifi
Quote:
Originally Posted by dwanthny View Post
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:
  1. download Adobe epub
  2. drag-n-drop to add to Calibre
  3. click "Save to disk"
  4. navigate to exported epub & double-click
  5. 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
Attached Files
File Type: epub EPUB Best Practices - Adobe Digital Editions Team.epub (444.5 KB, 95 views)

Last edited by troymc; 05-12-2010 at 07:07 PM.
troymc is offline   Reply With Quote