![]() |
#1 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jul 2017
Device: Kobo Aura HD
|
![]()
Hello,
I have got a problem with Calibre and my KOBO device. Calibre recognises my KOBO but when I want to writ a book from Calibre to my device, I get the following error: bool' object has no attribute 'startswith' Traceback (most recent call last): File "site-packages/calibre/gui2/device.py", line 88, in run File "site-packages/calibre/gui2/device.py", line 592, in _upload_books File "calibre_plugins.kobotouch_extended.device.driver" , line 335, in upload_books File "site-packages/calibre/devices/kobo/driver.py", line 2014, in upload_books File "calibre_plugins.kobotouch_extended.device.driver" , line 259, in _modify_epub File "lib/python2.7/posixpath.py", line 254, in expanduser AttributeError: 'bool' object has no attribute 'startswith' Is this message familiar to you and do know any solution? Kind regards, Theo Jansen |
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Are you using the Kobo Extended driver to send kepub to the Kobo? if so, validate the ePub with epubcheck 4.0.2 and see if there are any errors. Plugins like that don't usually work with errors.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,056
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
What Version Calibre?
What OS? |
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
The workaround for this is to put the temporary directory somewhere else. This can be done at the OS or user level, or just for calibre by setting the environment variable "CALIBRE_TEMP_DIR". |
|
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@davidfor: Use from calibre.utils.filenames import expanduser
which fixes the bug in python's expanduser. |
![]() |
![]() |
Advert | |
|
![]() |
Tags |
attribute error, bool object |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Hudl 2: calibre, version 3.2.1 ERROR: Error: Error communicating with device | elfed | Devices | 4 | 07-21-2017 05:33 AM |
Kobo H2O getting error in calibre | Rika24 | Kobo Reader | 11 | 07-31-2015 02:37 PM |
Kobo Glo / Calibre Comm Error (FW 3.11) & Book Issue. | Chris_Snow | Kobo Reader | 7 | 12-01-2014 12:26 AM |
Calibre + Kobo Error Msg | jewell | Devices | 1 | 04-19-2012 10:41 PM |
Calibre/Kobo communication error | carolehughes | Calibre | 4 | 10-21-2010 06:08 AM |