![]() |
New Calibre Kobo Driver allows deleting of Kobo Free books
Hi
I posted in the Calibre forum (https://www.mobileread.com/forums/showthread.php?t=85226) but you may have missed it. I have released a plugin for calibre that will allow you to view and delete any books on the device (free, pdf or epub). The details are in the link above. Beware that you must have the 0.6.95 version of calibre. If it gets some testing it might get into the an upcoming release. Read the details from the link above. I would be interested in hearing of issues. regards Tim |
As I said on the other thread, works on 0.6.96 on Windows
|
Quote:
Tim |
Quote:
Shouldn't that be 0.6.95???? [Edit] I later found the BETA 0.6.96 solved this issue (NOT the standard version) Anyway, I get the following error when I try to import the ZIP file. (My OS is WIN 7 64 bit) ERROR: ERROR: Unhandled exception: <b>ImportError</b>:cannot import name isbytestring Traceback (most recent call last): File "site-packages\calibre\gui2\dialogs\config\__init__.py", line 545, in add_plugin File "site-packages\calibre\customize\ui.py", line 284, in add_plugin File "site-packages\calibre\customize\ui.py", line 67, in load_plugin File "<string>", line 341, in <module> ImportError: cannot import name isbytestring Cheers John in Sunny Carnarvon - Western Australia |
Quote:
That is strange. Did you remember to disable the built in driver? I have not seen that error, its an odd one because the built in driver would also use that module. I do have access to a Windows 7 device but it will be later today (or this week) before I can try it. I assume that you were using the beta driver since you quote the version. Tim |
I used to have that error when I tried the plugin with the stable release, did you dowload the beta one (0.6.95 or higher)?
|
Hi Tim,
I'm running Windows 7 (32bit) with Calibre 0.6.96. Books all list correctly with the NEW (1.0.0) plug-in, however when I try to delete a book (either in the database or an added epub file) I get the following error: -------------------------------------------------------------- coercing to Unicode: need string or buffer, NoneType found Traceback (most recent call last): File "site-packages\calibre\gui2\device.py", line 58, in run File "site-packages\calibre\gui2\device.py", line 308, in _delete_books File "<string>", line 256, in delete_books TypeError: coercing to Unicode: need string or buffer, NoneType found -------------------------------------------------------------- Thanks for working toward a great plug-in. Myles. |
Quote:
I disabled the "Kobo Reader Reader Interface 1.0.0" before browsing to the kobo_plugin.zip file and clicking ADD. I have tried again, but still received the same error. It seems there is a beta version 0.6.96 somewhere, but I can't find it on the site as yet.... Cheers again John in Sunny Carnarvon -Western Australia |
Quote:
Can you open the zip file for the plugin and look in kobo_plugin.py and let me know what line 256 is? You will need a decent editor like vim or textpad. For me it looks to be: ContentID = ContentID.replace(self._card_a_prefix, ''). Tim |
Line 256:
Code:
ContentID = ContentID.replace(self._card_a_prefix, '') |
Quote:
So it seems on Windows 7 64 bit at least the beta 0.6.96 is required. All the supplied books are listed as promised, but I will leave it until tomorrow to try deleting any as it is well past my bedtime ;-) Cheers - and thanks for such a dynamic piece of software! John in Sunny Carnarvon - Western Australia |
Quote:
You could try commenting out that line with a # at the beginning of the line and adding the file back into the zip. I will do some research... Tim |
Quote:
Tim |
Quote:
Tim I removed the copy of the plugin. from this thread. Go to https://www.mobileread.com/forums/showthread.php?t=85226 for the latest copy (it will always be the attached to the first message) |
So it deletes the free books ... can I delete them selectively? Can I restore them selectively later? Thanks!
|
| All times are GMT -4. The time now is 07:05 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.