Code Monkey home page Code Monkey logo

Comments (9)

jgoguen avatar jgoguen commented on May 24, 2024

Are you able to send the book that isn't working to me so I can look at the structure and see what may be breaking?

from calibre-kobo-driver.

jgoguen avatar jgoguen commented on May 24, 2024

Also, if you could restart calibre in debug mode (click the arrow beside "Preferences", choose "Restart in debug mode") and re-add the book, then paste here the debug log as a code block (3 backticks, a new line, paste your log, a new line, and 3 more backticks) that would be helpful. Calibre will automatically open the debug log when you close calibre.

from calibre-kobo-driver.

keroro87 avatar keroro87 commented on May 24, 2024
Added A Bear Called Paddington to db in: 0.68700003624 seconds
Job: 2 Get device information started
DeviceJob: 2 Get device information done, calling callback
DeviceJob: 2 Get device information callback returned
Job: 3 Get list of books on device started
DEBUG:    0.0 KoboTouch:books - oncard='None'
DEBUG:    0.0 KoboTouch:books - prefix='None'
DEBUG:    0.0 Version of driver: (2, 0, 7) Has kepubs: True
DEBUG:    0.0 Version of firmware: 2.4.0 Has kepubs: True
DEBUG:    0.0 [u'', False, False, True, False, True, False, False, False, False, True, u'', True, True]
DEBUG:    0.0 KoboTouch:books - set_debugging_title to 
DEBUG:    0.0 KoboTouch:books - length bl=0
DEBUG:    0.1 KoboTouch:books - length bl after sync=32
DEBUG:    0.5 KoboTouch:books - reading device database
DEBUG:    0.5 Database Version=71
DEBUG:    0.5 KoboTouch:books - shelf list: []
DEBUG:    0.5 KoboTouch:books - query= select Title, Attribution, DateCreated, ContentID, MimeType, ContentType, ImageID, ReadStatus, ___ExpirationStatus, FavouritesIndex, Accessibility, IsDownloaded, Series, SeriesNumber, ___UserID  from content  where BookID is Null  and ((Accessibility = -1 and IsDownloaded in ('true', 1)) or (Accessibility in (1,2))   ) and not ((___ExpirationStatus=3 or ___ExpirationStatus is Null) )
Job: 2 Get device information finished
No details available.
DEBUG:    1.9 KoboTouch:books - automatically managing metadata
DEBUG:    1.9 KoboTouch:books - about to sync_booklists
DEBUG:    1.9 USBMS: starting sync_booklists
DEBUG:    2.3 USBMS: finished sync_booklists
DEBUG:    2.3 KoboTouch:books - have done sync_booklists
DEBUG:    2.3 KoboTouch:books - end - oncard='None'
DEBUG:    2.3 KoboTouch:books - oncard='carda'
DEBUG:    2.3 KoboTouch:books - Asked to process 'carda', but do not have one!
DEBUG:    2.3 KoboTouch:books - oncard='cardb'
DEBUG:    2.3 KoboTouch:books - Asked to process 'cardb', but do not have one!
DeviceJob: 3 Get list of books on device done, calling callback
DeviceJob: 3 Get list of books on device callback returned
Job: 4 Send metadata to device started
DEBUG:    2.3 KoboTouchExtended:sync_booklists:Setting ImageId fields
Job: 3 Get list of books on device finished
No details available.
DEBUG:    3.0 KoboTouchExtended:sync_booklists:done setting ImageId fields
DEBUG:    3.0 KOBO: started sync_booklists
DEBUG:    3.0 KoboTouch:update_device_database_collections - oncard='main'
DEBUG:    3.0 KoboTouch:update_device_database_collections - set_debugging_title to 
DEBUG:    3.0 KTCollectionsBookList:get_collections - start - collection_attributes= []
DEBUG:    3.0 KTCollectionsBookList:get_collections - collection_attributes= []
DEBUG:    3.0 KTCollectionsBookList:get_collections - end
DEBUG:    3.0 No Collections - reseting ReadStatus
DEBUG:    3.0 No Collections - resetting FavouritesIndex
DEBUG:   11.2 KoboTouch:update_device_database_collections - managing bookshelves and series.
DEBUG:   11.2 KoboTouch:update_device_database_collections - Number of series set=0 Number of books=0
DEBUG:   11.2 KoboTouch:update_device_database_collections - Finished 
DEBUG:   11.2 USBMS: starting sync_booklists
DEBUG:   11.4 USBMS: finished sync_booklists
DEBUG:   11.4 KOBO: finished sync_booklists
DeviceJob: 4 Send metadata to device done, calling callback
DeviceJob: 4 Send metadata to device callback returned
Job: 4 Send metadata to device finished
No details available.
Job: 5 Upload 1 books to device:A Bear Called Paddington started
Device using plugboard epub KOBOTOUCHEXTENDED None
Setting metadata in: A Bear Called Paddington at: C:\Users\LIANGM~1\AppData\Local\Temp\calibre_6oacu8\ldzlxxcaltmpfmt.epub
DEBUG:   33.6 KoboTouchExtended:upload_books:Enabling extra ePub features for Kobo devices
DEBUG:   33.6 KoboTouchExtended:_modify_epub:Processing file C:\Users\LIANGM~1\AppData\Local\Temp\calibre_6oacu8\ldzlxxcaltmpfmt.epub
Container:__init__:Got container path C:\Users\LIANGM~1\AppData\Local\Temp\calibre_6oacu8\ukhfoj_kobo-driver-extended
Could not parse encryption.xml
DEBUG:   33.8 KoboTouchExtended:_modify_epub:ERROR: ePub is DRM-encrypted, not modifying
DEBUG:   33.8 KoboTouch:upload_books - 1 books
DEBUG:   33.8 KoboTouch:upload_books - files= [u'C:\\Users\\LIANGM~1\\AppData\\Local\\Temp\\calibre_6oacu8\\ldzlxxcaltmpfmt.epub']
DEBUG:   33.8 USBMS: uploading 1 books
DEBUG:   33.8 KoboTouchExtended:filename_callback:Path - Bear Called Paddington, A.epub
DEBUG:   33.8 KoboTouchExtended:filename_callback:New path - Bear Called Paddington, A.kepub.epub
DEBUG:   44.4 KoboTouch:_upload_cover - filename='Bear Called Paddington, A.kepub' uploadgrayscale='False' 
DEBUG:   44.4 KoboTouch:get_content_type_from_extension - start
DEBUG:   44.4 KoboTouch:get_content_type_from_extension - V2 firmware
DEBUG:   44.4 KoboTouch:_upload_cover - No rows exist in the database - generated ImageID='file____mnt_onboard_ePUB_Bond,_Michael_Bear_Called_Paddington,_A_kepub_epub'
DEBUG:   45.0 USBMS: finished uploading 1 books
DeviceJob: 5 Upload 1 books to device:A Bear Called Paddington done, calling callback
DeviceJob: 5 Upload 1 books to device:A Bear Called Paddington callback returned
Job: 6 Send metadata to device started
DEBUG:   45.1 KoboTouchExtended:sync_booklists:Setting ImageId fields
DEBUG:   45.1 KoboTouchExtended:sync_booklists:done setting ImageId fields
DEBUG:   45.1 KOBO: started sync_booklists
DEBUG:   45.1 KoboTouch:update_device_database_collections - oncard='main'
DEBUG:   45.1 KoboTouch:update_device_database_collections - set_debugging_title to 
DEBUG:   45.1 KTCollectionsBookList:get_collections - start - collection_attributes= []
DEBUG:   45.1 KTCollectionsBookList:get_collections - collection_attributes= []
DEBUG:   45.1 KTCollectionsBookList:get_collections - end
DEBUG:   45.1 No Collections - reseting ReadStatus
DEBUG:   45.1 No Collections - resetting FavouritesIndex
Job: 5 Upload 1 books to device:A Bear Called Paddington finished
No details available.
DEBUG:   60.8 KoboTouch:update_device_database_collections - managing bookshelves and series.
DEBUG:   60.9 KoboTouch:update_device_database_collections - Number of series set=0 Number of books=1
DEBUG:   60.9 KoboTouch:update_device_database_collections - Finished 
DEBUG:   60.9 USBMS: starting sync_booklists
DEBUG:   61.1 USBMS: finished sync_booklists
DEBUG:   61.1 KOBO: finished sync_booklists
DeviceJob: 6 Send metadata to device done, calling callback
DeviceJob: 6 Send metadata to device callback returned
Job: 6 Send metadata to device finished
No details available.

from calibre-kobo-driver.

keroro87 avatar keroro87 commented on May 24, 2024

Hi Joel,

I had pasted the debug log as requested.

Yes, I can send to you. Could I have your email or something?

Thanks =)

from calibre-kobo-driver.

jgoguen avatar jgoguen commented on May 24, 2024

The debug log says that the book you tried to upload is encumbered with DRM. The plugin couldn't parse the encryption.xml file that describes the restrictions, so it's possible that it's actually something I should be able to handle. I won't be able to tell for sure until you send me the book, but so far it looks like the plugin is working as designed.

from calibre-kobo-driver.

keroro87 avatar keroro87 commented on May 24, 2024

I see. I had send the book to your email. Hope you had received it. Thanks alot!

from calibre-kobo-driver.

jgoguen avatar jgoguen commented on May 24, 2024

I got the book. I'll take a look at it next time I'm at my computer. How did you convert it? Using calibre? Very interesting that there's an encryption.xml file present as a conversion result.

from calibre-kobo-driver.

keroro87 avatar keroro87 commented on May 24, 2024

Hi! Yes. Using Calibre. If you need more information about the plugin version, I can provide when I'm using my computer.
Date: Tue, 19 Mar 2013 01:43:35 -0700
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [calibre-kobo-driver] Issue with bookmark and annotation, and book cover (#22)

I got the book. I'll take a look at it next time I'm at my computer. How did you convert it? Using calibre? Very interesting that there's an encryption.xml file present as a conversion result.

ยกยช
Reply to this email directly or view it on GitHub.

from calibre-kobo-driver.

jgoguen avatar jgoguen commented on May 24, 2024

Hopefully this latest update will do it. There was a lot I didn't get right about encryption.xml the first time around, limited exposure to very simple real-world examples, so here's hoping I got it right this time.

from calibre-kobo-driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.