Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 06-04-2019, 06:36 PM   #1876
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,553
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Have Woogli's issues been addressed - posts 1866/7 ?

I merged them into here a couple of days ago because they were in the wrong place.

BR
BetterRed is online now   Reply With Quote
Old 06-04-2019, 10:35 PM   #1877
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,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by BetterRed View Post
Have Woogli's issues been addressed - posts 1866/7 ?

I merged them into here a couple of days ago because they were in the wrong place.

BR
It's the same problem as @Phoebus was having two or three posts above where you merged them. I gave a solution to that and it was confirmed a couple of posts later.
davidfor is offline   Reply With Quote
Advert
Old 06-15-2019, 03:15 PM   #1878
smiley1081
Member
smiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watch
 
Posts: 14
Karma: 10794
Join Date: Jan 2016
Location: Italy
Device: Kobo Glo HD
Quote:
Originally Posted by davidfor View Post
The problem is in the configuration for the driver. You can try editing the file "device_drivers_KOBOTOUCHEXTENDED.py.json" which is in the the calibre configuration directory. Find the line with "file_copy_dir". I'm expecting that on that line after the colon will be either "true" or "false" (without quotes). Change that to just two double quotes and save the file. That should fix it.

Alternatively, delete the files "device_drivers_KOBOTOUCHEXTENDED.py.json" and "device_drivers_KOBOTOUCHEXTENDED.py". You will need to reconfigure the driver if you do this.
I have a similar problem.

However, it seems that I cannot find the Calibre configuration directory on my Windows 10, I have been looking in C:\Users\YourUserID\AppData\Local without success...

Where is it located?
smiley1081 is offline   Reply With Quote
Old 06-15-2019, 06:37 PM   #1879
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by smiley1081 View Post
I have a similar problem.

However, it seems that I cannot find the Calibre configuration directory on my Windows 10, I have been looking in C:\Users\YourUserID\AppData\Local without success...

Where is it located?
roaming, not local
theducks is online now   Reply With Quote
Old 06-15-2019, 11:12 PM   #1880
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,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by smiley1081 View Post
I have a similar problem.

However, it seems that I cannot find the Calibre configuration directory on my Windows 10, I have been looking in C:\Users\YourUserID\AppData\Local without success...

Where is it located?
In calibre, open the preferences and go to the "Miscellaneous" page. Then click the appropriate button.
davidfor is offline   Reply With Quote
Advert
Old 06-22-2019, 02:05 PM   #1881
Doug001
Junior Member
Doug001 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2019
Device: Kobo Aura H2O
Error communicating with device

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!

Doug
Doug001 is offline   Reply With Quote
Old 06-22-2019, 03:58 PM   #1882
smiley1081
Member
smiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watchsmiley1081 is clearly one to watch
 
Posts: 14
Karma: 10794
Join Date: Jan 2016
Location: Italy
Device: Kobo Glo HD
Quote:
Originally Posted by davidfor View Post
In calibre, open the preferences and go to the "Miscellaneous" page. Then click the appropriate button.
Switching from the Italian locale back to the English locale helped.

A lot.

Thanks, also to @theducks.
smiley1081 is offline   Reply With Quote
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,907
Karma: 47303748
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
Old 06-22-2019, 10:11 PM   #1884
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,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by smiley1081 View Post
Switching from the Italian locale back to the English locale helped.

A lot.
Do you mean it helped find the button I was pointing to? Or did it get rid of the problem you were seeing?
davidfor is offline   Reply With Quote
Old 07-12-2019, 11:18 PM   #1885
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,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Beta - Fix errors with configuration

Attached is a beta that should fix the problems reported with opening the driver configuration or sending books. The error is in how the options are migrated between versions of the plugins. A change in how calibre stores the configuration seems to have exacerbated the problem. This version should fix the issue.

If anyone stills sees the error with this, please post the "device_drivers_KOBOTOUCHBETA.py" and "device_drivers_KOBOTOUCHEXTENDED.py.json" from the calibre configuration directory. These are the before and after versions of the configuration file. And I would be interested in seeing what the last changed timestamp of the "device_drivers_KOBOTOUCHBETA.py" is.

Last edited by davidfor; 07-29-2019 at 07:56 PM. Reason: Removed beta as update has been released.
davidfor is offline   Reply With Quote
Old 07-12-2019, 11:44 PM   #1886
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,061
Karma: 2178845
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
Can you make a PR against the GitHub repo, or send me a patch file for the change? It's been working fine for me when I've tried (but not always removing the option from the config file) but maybe that's the options I have set? I'm out of the country for a while but I can make a new release once I'm back.
jgoguen is offline   Reply With Quote
Old 07-14-2019, 12:43 AM   #1887
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,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Here's the patch file. I have checked the change using a very old config file from @snowstone. It migrates properly.

Note, in doing this I found a problem with 3.45.2 and migrating old config files to the JSON version. I had to do the testing with 3.44 to prove it was done correctly.
Attached Files
File Type: txt configfix.patch.txt (4.5 KB, 194 views)
davidfor is offline   Reply With Quote
Old 07-14-2019, 04:31 AM   #1888
snowstone
Connoisseur
snowstone doesn't littersnowstone doesn't litter
 
snowstone's Avatar
 
Posts: 74
Karma: 102
Join Date: Aug 2013
Device: Kobo Aura edition 2
Quote:
Originally Posted by davidfor View Post
Here's the patch file. I have checked the change using a very old config file from @snowstone. It migrates properly.

Note, in doing this I found a problem with 3.45.2 and migrating old config files to the JSON version. I had to do the testing with 3.44 to prove it was done correctly.
How to I install this patch file? Or the previous plugin zip file will do the trick?
snowstone is offline   Reply With Quote
Old 07-14-2019, 05:59 AM   #1889
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,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by snowstone View Post
How to I install this patch file? Or the previous plugin zip file will do the trick?
The patch is for @jgoguen to merge into the source. The changes are already in the beta I posted above.
davidfor is offline   Reply With Quote
Old 07-15-2019, 05:00 PM   #1890
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,061
Karma: 2178845
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
I've published a new version with davidfor's changes, calibre should pick it up in the next couple hours.
jgoguen is offline   Reply With Quote
Reply

Tags
error, kobo aura one


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo Device Driver Update davidfor Devices 284 05-24-2019 05:24 PM
[Device Plugin] Kindle 2, 3, 4, Touch Device Interface MBP Update Mod cryzed Plugins 7 10-28-2012 04:58 PM
[Device Interface Plugin] Update for Nook Color Driver jmricker Plugins 0 10-22-2011 10:11 AM
Touch Kobo Touch Extended 2 Year Warranty - Is it worth the $34.99? EverC Kobo Reader 11 08-31-2011 11:47 PM
Touch Kobo Touch Extended Warranty Program SensualPoet Kobo Reader 1 07-17-2011 04:08 AM


All times are GMT -4. The time now is 05:41 PM.


MobileRead.com is a privately owned, operated and funded community.