Sideloaded kepubs not added to library correctly

Bug #1221035 reported by David Forrester
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

If a sideloaded kepub is added back to the library, it is added as an epub. But, the file is corrupt. It appears that only part of the file is copied. This was reported and discussed in http://www.mobileread.com/forums/showthread.php?t=221180.

The attached patch is only a partial fix. It fixes the copy so that the epub file is created correctly, the metadata is extracted and the epub can be read. But, some more work needs to be done to complete the support of kepubs in calibre. This includes a MetadataReaderPlugin and a KEPUBMetadataWriter and whatever is needed to allow them to be read by the calibre viewer.

Also, this does not affect purchased kepubs. These will still be blocked from being added to the calibre library.

Tags: kobo-driver
Revision history for this message
David Forrester (davidfor) wrote :
Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.