View Single Post
Old 06-01-2010, 11:40 AM   #9
timlegge
Addict
timlegge loves his/her reader more than momtimlegge loves his/her reader more than momtimlegge loves his/her reader more than momtimlegge loves his/her reader more than momtimlegge loves his/her reader more than momtimlegge loves his/her reader more than momtimlegge loves his/her reader more than momtimlegge loves his/her reader more than momtimlegge loves his/her reader more than momtimlegge loves his/her reader more than momtimlegge loves his/her reader more than mom
 
Posts: 305
Karma: 78651
Join Date: May 2010
Location: New Brunswick, Canada
Device: Kobo, Kobo Wifi, Kobo Touch
Quote:
Originally Posted by mylesau View Post
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.
Hi

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
timlegge is offline   Reply With Quote