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 09-07-2016, 09:03 PM   #1591
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 mbovenka View Post
No worries. It works fine, like you say, except for the database backup filenames that get slashes in them. I can disable it for now.
I'd forgotten about that. I do have a few strangely named backups. The way I test these is to swap the ids around so the one of the devices I have gets called whatever I'm testing. I've forgotten and looked in the backup directory and was baffled for a few moments.

In any case, the code has been changed, checked in and accepted. It will be in the next release.
davidfor is offline   Reply With Quote
Old 09-08-2016, 03:20 AM   #1592
mbovenka
Wizard
mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.
 
Posts: 2,080
Karma: 14079267
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
Quote:
Originally Posted by davidfor View Post
I'd forgotten about that. I do have a few strangely named backups. The way I test these is to swap the ids around so the one of the devices I have gets called whatever I'm testing. I've forgotten and looked in the backup directory and was baffled for a few moments.

In any case, the code has been changed, checked in and accepted. It will be in the next release.
No problem, I can live without the database backup for now. I'll wait for the next release
mbovenka is offline   Reply With Quote
Old 09-08-2016, 04:15 AM   #1593
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,638
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by mbovenka View Post
No problem, I can live without the database backup for now. I'll wait for the next release
That is here now
Terisa de morgan is offline   Reply With Quote
Old 09-08-2016, 01:11 PM   #1594
mbovenka
Wizard
mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.
 
Posts: 2,080
Karma: 14079267
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
Quote:
Originally Posted by davidfor View Post
In any case, the code has been changed, checked in and accepted. It will be in the next release.
And it works

One thing, though, when I start Calibre and connect my One for the first time, it still gets recognized (at least that's what the message shows; Kobo Utilities gets passed the correct type for the autobackup) as a generic Kobo. If I then eject it and reconnect it without restarting Calibre, the message correctly identifies it as a One.

But that's the same way my H2O behaved (and perhaps even my Aura HD before that), so that's been there for a while. And I've always ignored it, but now that I have your ear
mbovenka is offline   Reply With Quote
Old 09-08-2016, 11:00 PM   #1595
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
This report in the Kobo forum is of an error in the extended driver. The problem is that the apsw library doesn't have a commit method. These have to be done as an SQL statement. So any:

Code:
db.commit()
need to be replaced with:

Code:
cursor.execute("commit")
davidfor is offline   Reply With Quote
Old 09-08-2016, 11:15 PM   #1596
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,427
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
FYI SQLITE by default (and apsw since it tries to stay as close to sqlite as possible) works in auto-commit mode. So unless you explicitly open a transaction every execute is auto-committed.
kovidgoyal is online now   Reply With Quote
Old 09-08-2016, 11:28 PM   #1597
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 kovidgoyal View Post
FYI SQLITE by default (and apsw since it tries to stay as close to sqlite as possible) works in auto-commit mode. So unless you explicitly open a transaction every execute is auto-committed.
Yes, I'd forgotten about that. I removed a pile of commits when I changed to apsw as they weren't going to be needed. In this particular place, I could see committing separately might be a good idea, but it also needs a transaction to be opened first.
davidfor is offline   Reply With Quote
Old 09-09-2016, 02:01 AM   #1598
anacreon
Guru
anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.
 
anacreon's Avatar
 
Posts: 978
Karma: 3475832
Join Date: May 2012
Location: France
Device: Elipsa, Sage, Libra 2
connexion error message

See this message posted in the wrong thread.

https://www.mobileread.com/forums/sho...0&postcount=98
anacreon is offline   Reply With Quote
Old 09-09-2016, 11:52 AM   #1599
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,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
TIL autocommit by default, thanks
jgoguen is offline   Reply With Quote
Old 09-17-2016, 03:48 PM   #1600
TBBle
Member
TBBle began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2011
Device: Kobo Touch
Having IO errors on my device, I discovered a typo on line 199 of device/driver.py:
Code:
            if os.path.isfile:
should be
Code:
            if os.path.isfile(calibre_details_file):

Last edited by TBBle; 09-17-2016 at 03:50 PM. Reason: Fix formatting
TBBle is offline   Reply With Quote
Old 09-18-2016, 01:09 PM   #1601
percio
Junior Member
percio began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2014
Device: Kobo glo
I use KoboTouchExtended (2.8.0) but still chose to send the books to the Kobo Glo in the epub format (feel safer about annotations).

I upgraded to Calibre 2.68.0 and now the books are being sent as kepub files, can't seem to find where to change this, or where I can pick which way one to send. If I try to open the configuration for KoboTouchExtended, I get this error.

Spoiler:
calibre, version 2.68.0
ERRORE: Eccezione non gestita: <b>TypeError</b>:QLineEdit.setText(str): argument 1 has unexpected type 'bool'

calibre 2.68 [64bit] embedded-python: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: Goodreads (1, 1, 11) && Kobo Utilities (2, 4, 1) && Count Pages (1, 6, 9) && Annotations (1, 4, 11) && KoboTouchExtended (2, 8, 0)
Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\plugins.py", line 291, in customize_plugin
File "site-packages\calibre\gui2\preferences\plugins.py", line 369, in modify_plugin
File "site-packages\calibre\customize\__init__.py", line 154, in do_user_config
File "calibre_plugins.kobotouch_extended.device.driver" , line 105, in config_widget
File "site-packages\calibre\devices\kobo\driver.py", line 2804, in config_widget
File "site-packages\calibre\devices\kobo\kobotouch_config.py" , line 50, in __init__
File "site-packages\calibre\devices\kobo\kobotouch_config.py" , line 159, in __init__
File "site-packages\calibre\devices\kobo\kobotouch_config.py" , line 388, in __init__
TypeError: QLineEdit.setText(str): argument 1 has unexpected type 'bool'


For now I solved the practical aspect of it by disabling the plugin.

Last edited by percio; 09-18-2016 at 01:33 PM.
percio is offline   Reply With Quote
Old 09-19-2016, 12:08 PM   #1602
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,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
Oh that's cute! I'm not sure how it worked for me… :/

Give me a little bit to push an update.
jgoguen is offline   Reply With Quote
Old 09-19-2016, 12:15 PM   #1603
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,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
Quote:
Originally Posted by percio View Post
I use KoboTouchExtended (2.8.0) but still chose to send the books to the Kobo Glo in the epub format (feel safer about annotations).

I upgraded to Calibre 2.68.0 and now the books are being sent as kepub files, can't seem to find where to change this, or where I can pick which way one to send. If I try to open the configuration for KoboTouchExtended, I get this error.

Spoiler:
calibre, version 2.68.0
ERRORE: Eccezione non gestita: <b>TypeError</b>:QLineEdit.setText(str): argument 1 has unexpected type 'bool'

calibre 2.68 [64bit] embedded-python: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: Goodreads (1, 1, 11) && Kobo Utilities (2, 4, 1) && Count Pages (1, 6, 9) && Annotations (1, 4, 11) && KoboTouchExtended (2, 8, 0)
Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\plugins.py", line 291, in customize_plugin
File "site-packages\calibre\gui2\preferences\plugins.py", line 369, in modify_plugin
File "site-packages\calibre\customize\__init__.py", line 154, in do_user_config
File "calibre_plugins.kobotouch_extended.device.driver" , line 105, in config_widget
File "site-packages\calibre\devices\kobo\driver.py", line 2804, in config_widget
File "site-packages\calibre\devices\kobo\kobotouch_config.py" , line 50, in __init__
File "site-packages\calibre\devices\kobo\kobotouch_config.py" , line 159, in __init__
File "site-packages\calibre\devices\kobo\kobotouch_config.py" , line 388, in __init__
TypeError: QLineEdit.setText(str): argument 1 has unexpected type 'bool'


For now I solved the practical aspect of it by disabling the plugin.
I think this one is for davidfor. That line in my code is just calling a method in his, and the specific line has a setting I don't touch. It's possible there's a bug in migrating old settings though, could you check the plugin settings and make sure everything looks good? Then either way, make some change, click OK, then go back in and set it back the way you want, see if it still causes an error?
jgoguen is offline   Reply With Quote
Old 09-19-2016, 08:41 PM   #1604
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 jgoguen View Post
I think this one is for davidfor. That line in my code is just calling a method in his, and the specific line has a setting I don't touch. It's possible there's a bug in migrating old settings though, could you check the plugin settings and make sure everything looks good? Then either way, make some change, click OK, then go back in and set it back the way you want, see if it still causes an error?
Your right, it is in my code. And it does look like a setting migration gone wrong. But, it is while opening the configuration, so fixing it that way won't work.

@percio: As jgoguen has pointed out, this is in the base KoboTouch driver. Something has gone wrong with migrating the configuration. This usually means the last time you changed the configuration was a very long time ago. I don't really think there is going to be a good way to fix this, and it won't be until at least the next version of calibre. The simplest thing is to delete the configuration file and start again. This is in the calibre configuration directory and is called "device_drivers_KOBOTOUCHEXTENDED.py".

But, I would like a debug log to look at to see if I can solve it. Before doing the above, can you restart calibre in debug mode, try to open the configuration and see the error. Then close calibre and post the debug log. Or, PM it to me as it isn't really an in this plugin.
davidfor is offline   Reply With Quote
Old 09-19-2016, 10:20 PM   #1605
percio
Junior Member
percio began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2014
Device: Kobo glo
Quote:
Originally Posted by davidfor View Post
I would like a debug log to look at to see if I can solve it.
Okay, I'll send you the PM, backup that configuration file and see what happens.
Update: renamed the file to device_drivers_KOBOTOUCHEXTENDED.bak and now I can access the configuration of the plugin again.

I'm confused though, is there a way to have this plugin enabled and send epubs (not kepubs) to the Kobo? Sorry, I installed it long ago and I forgot which does which.

Last edited by percio; 09-19-2016 at 11:02 PM.
percio 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 04:43 AM.


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