View Single Post
Old 06-22-2019, 10:10 PM   #1883
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Doug001 View Post
Hi,

I am having Plugin problem which David Koval has kindly advised starts with this Plugin.

Here is the original error information:

calibre, version 3.44.0
ERROR: Error: Error communicating with device

'bool' object has no attribute 'startswith'

Traceback (most recent call last):
File "site-packages/calibre/gui2/device.py", line 89, in run
File "site-packages/calibre/gui2/device.py", line 593, in _upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 399, in upload_books
File "site-packages/calibre/devices/kobo/driver.py", line 2087, in upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 313, in _modify_epub
File "lib/python2.7/posixpath.py", line 254, in expanduser
AttributeError: 'bool' object has no attribute 'startswith'


And here is what I get when I try to customize the Plugin:

calibre, version 3.44.0
ERROR: Unhandled exception: <b>TypeError</b>:QLineEdit.setText(): argument 1 has unexpected type 'bool'

calibre 3.44 embedded-python: True is64bit: True
Darwin-18.6.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '18.6.0', 'Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64')
Python 2.7.15
OSX: ('10.14.5', ('', '', ''), 'x86_64')
Interface language: None
Successfully initialized third party plugins: DeDRM (6, 0, 9) && Kindle and Mobipocket DeDRM (0, 4, 13) && KoboTouchExtended (3, 1, 3) && Kobo Utilities (2, 8, 0) && Manage Series (1, 2, 8) && KoboBooks (1, 0, 0)
Traceback (most recent call last):
File "site-packages/calibre/gui2/preferences/plugins.py", line 294, in customize_plugin
File "site-packages/calibre/gui2/preferences/plugins.py", line 372, in modify_plugin
File "site-packages/calibre/customize/__init__.py", line 156, in do_user_config
File "calibre_plugins.kobotouch_extended.device.driver" , line 157, in config_widget
File "calibre_plugins.kobotouch_extended.device.koboext ended_config", line 61, in __init__
File "calibre_plugins.kobotouch_extended.device.koboext ended_config", line 92, in __init__
File "calibre_plugins.kobotouch_extended.device.koboext ended_config", line 178, in __init__
TypeError: QLineEdit.setText(): argument 1 has unexpected type 'bool'


If someone wants me to go in and edit something I would happily try -- but I do not know where the file code lives so would need some fairly introductory information about how to get to that point.

Thank you for any help you are able to provide!
This is the same problem that has been discussed several times recently. Please see my post above for how to fix it.
davidfor is offline   Reply With Quote