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-27-2016, 09:19 AM   #1621
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
Open calibre, go to Preferences, Plugins, check the box for user-installed plugins (right above the list), expand the device drivers list, and double-click KoboTouchExtended. I'm on my phone, not near a computer, so it's possible some of those directions won't be the exact names you're looking for.

Is there a particular reason why you want to save each converted KePub? Depending on what you're trying to accomplish, there may be a simpler way than using this debugging option.
jgoguen is offline   Reply With Quote
Old 09-27-2016, 09:49 AM   #1622
stumped
Wizard
stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.
 
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
Quote:
Originally Posted by jgoguen View Post

Is there a particular reason why you want to save each converted KePub? Depending on what you're trying to accomplish, there may be a simpler way than using this debugging option.
no - I am happy to turn it off, with your guidance. I was concerned that the settings had it writing to some folder whose name I had forgotten, so there could be a missing folder crash.
I think when i first used it I was curious to see that the files looked like, so I enabled it, & forgot about it...
...
i see I almost found it - i did not inspect all the tabs - so it's the final tab- called extended.
in there I should just blank the entry for
copy generated Kepub files to a directory [ I had C:/test in there , I see ],
I will assume yes, unless you post otherwise
stumped is offline   Reply With Quote
Old 09-27-2016, 10:35 AM   #1623
Tom8o
Member
Tom8o began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jun 2016
Device: Kobo Glo HD
Quote:
Originally Posted by davidfor View Post
The problem has been seen before. A search of the extended driver thread, suggests it is something to do with the Windows username. The username probably has non-ASCII characters in it.

The error is happening when it uses the temporary directory. Changing that in Windows to point elsewhere will probably fix it. Or set the environment variable CALIBRE_TEMP_DIR to point to a suitable directory for calibre to use
I tried to do so- I set two environment variables called CALIBRE_TEMP_DIR (one in System Variables and one in User Variables), both to C:\CALTEMPDIR, but for some reason the log still calls some other path, after which the error shows up:
Code:
Copying file 'C:\CALTEMPDIR\calibre_sxsvzh\kepub_nwtglg_stylehacks' to 'C:\CALTEMPDIR\calibre_sxsvzh\c5xevi_epub_container' as 'kte-css/stylehacks.css'
Adding reference to kte-css/stylehacks.css to file text/part0000.html
C:\Program Files (x86)\Calibre2\pylib.zip\ntpath.py:532: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Python function terminated unexpectedly
  All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters (Error Code: 1)
I am not sure if I did the exact thing, so here are a couple pictures of the "Environment Variables..." window (including part of my username which is likely to be causing the ASCII error, heh):





No idea what to do next, I feel like the next step is to keep Calibre from calling that Calibre2 directory (C:\Program Files (x86)\Calibre2\pylib.zip), but seeing as how it seemingly is where Calibre is installed, I have no idea what to do. Perhaps the folder shouldn't be directly in C:\ ?

Last edited by Tom8o; 09-27-2016 at 10:37 AM.
Tom8o is offline   Reply With Quote
Old 09-27-2016, 11:08 AM   #1624
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
That's it, just make that blank and it won't try to save generated files to a separate folder.
jgoguen is offline   Reply With Quote
Old 09-27-2016, 05:49 PM   #1625
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: 21,826
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
You shouldn't need C:CALTEMPDIR in your System EnvVar 'Path'. But you should have C:\Program Files (x86)\Calibre2\ in there.

But I doubt that's causing the problem.

About 2.5 million of people run calibre from the standard Windows install folders (Program Files and Program Files (x86), and most are from non English speaking countries, see ==> calibre - Usage Statistics for calibre. Many would have diacritics etc in their user names.

You could try installing the Portable version of calibre - its completely self-contained. If the conversion fails using it, then that would suggest it's not a Windows related issue. Installing the Portable version will not interfere with your installed version - if you install on on a thumb drive you can use it on another computer.

BTW: I can't see your launchpad post - probably because its marked Private to protect an attachment. Not a problem.

BR
BetterRed is offline   Reply With Quote
Old 09-28-2016, 11:45 AM   #1626
Tom8o
Member
Tom8o began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jun 2016
Device: Kobo Glo HD
Quote:
Originally Posted by BetterRed View Post
You shouldn't need C:CALTEMPDIR in your System EnvVar 'Path'. But you should have C:\Program Files (x86)\Calibre2\ in there.

But I doubt that's causing the problem.

About 2.5 million of people run calibre from the standard Windows install folders (Program Files and Program Files (x86), and most are from non English speaking countries, see ==> calibre - Usage Statistics for calibre. Many would have diacritics etc in their user names.

You could try installing the Portable version of calibre - its completely self-contained. If the conversion fails using it, then that would suggest it's not a Windows related issue. Installing the Portable version will not interfere with your installed version - if you install on on a thumb drive you can use it on another computer.

BTW: I can't see your launchpad post - probably because its marked Private to protect an attachment. Not a problem.

BR
Well, the Launchpad thing shouldn't be a problem seeing as it's the exact text as the body of this post and a public domain book from Amazon.

Tried portable, but it gave me this error:


Oh well. Tried it on another account on the same computer which didn't have any non-ASCII in its name, and that worked! Sent it over, and it worked beautifully (save for displaying a couple punctuation marks incorrectly). I guess I'll make do with that for now.
Tom8o is offline   Reply With Quote
Old 09-28-2016, 01:23 PM   #1627
trinity1
Enthusiast
trinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy blue
 
trinity1's Avatar
 
Posts: 39
Karma: 13450
Join Date: Feb 2013
Location: Civitavecchia (Italy)
Device: Kobo Glo
BTW, since I had issues with epub removed from my Kobo Glo shelves (whenever I connect the Glo to the PC-Calibre), I removed the plugin (as well as the config file), but Calibre 2.68 still removes my epubs from the shelves onto the device... So, I don't think it's a plugin issue.
trinity1 is offline   Reply With Quote
Old 09-28-2016, 05:14 PM   #1628
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: 21,826
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Tom8o - where did you install portable - if it was somewhere in your %userprofile% directory I suspect it too was struck down by the non-ASCII chars in the file path.

But I can't understand why you and not many, many other people.

@davidfor - if this is a plugin related issue, then if you tell me which one I'll merge this thread into it. I try to keep loose threads to a minimum in the PI subforum - like Florida does with hanging chads

BR
BetterRed is offline   Reply With Quote
Old 09-28-2016, 08:02 PM   #1629
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 trinity1 View Post
BTW, since I had issues with epub removed from my Kobo Glo shelves (whenever I connect the Glo to the PC-Calibre), I removed the plugin (as well as the config file), but Calibre 2.68 still removes my epubs from the shelves onto the device... So, I don't think it's a plugin issue.
No, it's a driver configuration issue. You have configured the driver to manage collections. This is done whenever you connect. If you don't want the collections to be managed from calibre, turn the option off. Otherwise, you need to adjust them to do what you want.

Of course, it is possible there is a bug in the driver. (Well, actually there is, but it won't have the effect I thing you are describing.) If you have the driver configured correctly and the the collections seem to be messed up, I need a debug log. Run calibre in debug mode, connect the device and let the connection jobs run. Then close calibre and post the log displayed or PM it to me. And give me the name of a book and collection that is being being messed up and how it is. I can usually tell from the log what is going wrong.
davidfor is offline   Reply With Quote
Old 09-28-2016, 08:51 PM   #1630
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 Tom8o View Post
Oh well. Tried it on another account on the same computer which didn't have any non-ASCII in its name, and that worked! Sent it over, and it worked beautifully (save for displaying a couple punctuation marks incorrectly). I guess I'll make do with that for now.
In that case, it sounds like there is a problem in how you did the environment variables. You don't need the temp directory in the PATH, but I doubt that is causing a problem. With the CALIBRE_TEMP_DIR set, it might be useful to see the full log.

@BetterRed: This is a problem with the KoboTouch Extended Driver. You can merge it into that thread.
davidfor is offline   Reply With Quote
Old 09-28-2016, 09:14 PM   #1631
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: 21,826
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by davidfor View Post
@BetterRed: This is a problem with the KoboTouch Extended Driver. You can merge it into that thread.
Moderator Notice
Duly Done
BetterRed is offline   Reply With Quote
Old 09-29-2016, 10:18 AM   #1632
trinity1
Enthusiast
trinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy blue
 
trinity1's Avatar
 
Posts: 39
Karma: 13450
Join Date: Feb 2013
Location: Civitavecchia (Italy)
Device: Kobo Glo
Quote:
Originally Posted by davidfor View Post
No, it's a driver configuration issue. You have configured the driver to manage collections. This is done whenever you connect. If you don't want the collections to be managed from calibre, turn the option off. Otherwise, you need to adjust them to do what you want.

Of course, it is possible there is a bug in the driver. (Well, actually there is, but it won't have the effect I thing you are describing.) If you have the driver configured correctly and the the collections seem to be messed up, I need a debug log. Run calibre in debug mode, connect the device and let the connection jobs run. Then close calibre and post the log displayed or PM it to me. And give me the name of a book and collection that is being being messed up and how it is. I can usually tell from the log what is going wrong.
if for "collections messed up" you mean that - whenever I connect Kobo with Calibre - ALL my books are removed from the collections (which I have manually created, and in which I want to decide whether to include a book or not), well, the collections are messed up.
I thought it was a Calibre issue because when I uninstalled the plugin, the problem was still there (or there was some file to be manually deleted after unistalling the plugin? Like, “device_drivers_KOBOTOUCHEXTENDED.py”, which wasn’t deleted after the plugin unistall)
(Noob) Question 1: I have Windows 10 (64bit). How can I let Calibre run in debug mode?
Question 2: if I use the kobotouchextended is there any other plugin which has to be unistalled due to possible conflicts?
trinity1 is offline   Reply With Quote
Old 09-29-2016, 10:36 AM   #1633
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 trinity1 View Post
if for "collections messed up" you mean that - whenever I connect Kobo with Calibre - ALL my books are removed from the collections (which I have manually created, and in which I want to decide whether to include a book or not), well, the collections are messed up.
If after connecting to calibre, the collections change, then that means the driver is configured to manage collections. Open the driver configuration and look at the options.
Quote:
I thought it was a Calibre issue because when I uninstalled the plugin, the problem was still there (or there was some file to be manually deleted after unistalling the plugin?
It probably means you had both the extended driver and the KoboTouch driver configured for collection managment.
Quote:
Like,
“device_drivers_KOBOTOUCHEXTENDED.py”, which wasn’t deleted after the plugin unistall)
Uninstalling plugins does not remove any configuration. But, there won't be anything using it, so there is no harm
Quote:
(Noob) Question 1: I have Windows 10 (64bit). How can I let Calibre run in debug mode?
Right-click on the preferences button and select "Restart in debug mode".
Quote:
Question 2: if I use the kobotouchextended is there any other plugin which has to be unistalled due to possible conflicts?
Only the KoboTouch driver. They both manage the same devices. Usually if both are enabled, then extended driver is used, but, I prefer not to risk it.
davidfor is offline   Reply With Quote
Old 09-29-2016, 11:43 AM   #1634
trinity1
Enthusiast
trinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy bluetrinity1 can differentiate black from dark navy blue
 
trinity1's Avatar
 
Posts: 39
Karma: 13450
Join Date: Feb 2013
Location: Civitavecchia (Italy)
Device: Kobo Glo
Thanks. I want to give another chance to Kobo touch extended. So, I will disable Kobo touch, install Kobo touch extended again, [run calibre in debug mode], configure it and then see what happens.

In the meanwhile, thanks for your support.

Tapatalked from LeeDroidROM-powered HTC One M8

EDIT: of course it was as you said. Disabled kobo touch, checked kobotouch extended settings, everything works.

Last edited by trinity1; 09-29-2016 at 02:38 PM.
trinity1 is offline   Reply With Quote
Old 09-29-2016, 08:52 PM   #1635
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 trinity1 View Post
Thanks. I want to give another chance to Kobo touch extended. So, I will disable Kobo touch, install Kobo touch extended again, [run calibre in debug mode], configure it and then see what happens.

In the meanwhile, thanks for your support.

Tapatalked from LeeDroidROM-powered HTC One M8

EDIT: of course it was as you said. Disabled kobo touch, checked kobotouch extended settings, everything works.
Good to hear it is working.
davidfor 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:43 AM.


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