07-09-2015, 12:47 PM | #331 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2015
Device: Kindle Fire
|
Quote:
From the plugin Zip I was able to use the python script, thanks for the hint! For anyone else who has the same problem, the script is easy to use, just follow install for python as mentioned in any of the tutorials for DeDRM or KindleUnpack standalone. You dont need the stand alone however, from the latest package this script brings up a gui: <plugin dir>\core_subtree\KindleUnpack.pyw it will give you the op type epub but you get a pdf in the end. Last edited by awmiller; 07-09-2015 at 12:54 PM. |
|
09-06-2015, 05:01 PM | #332 |
BioReader
Posts: 292
Karma: 42568
Join Date: Apr 2009
Location: Germany
Device: Various
|
No "KindleUnpack" icon shows up in calibre
I have setup a completely new calibre environment after installing Win 10. The "KindleUnpack" plugin had been installed on my previous computer and ran flawlessly for some years.
When installing the "KindleUnpack" plugin in my new calibre environment several things happen: - Installation via preferences places <KindleUnpack - The Plugin.zip> in "C:\Users\myname\AppData\Roaming\calibre\plugi ns" - there is no icon in the main toolbar nor is the icon available at all for choice - trying to customize the plugin (yes - it is visible in the list of installed plugins) results in the request to restart calibre first etc. After this the same request pops up every time I try to customize. All other plugins for calibre installed without problems. Is there any prerequisite which I overlooked? Klaus |
Advert | |
|
09-07-2015, 06:03 AM | #333 |
Grand Sorcerer
Posts: 27,548
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Did you truly restart calibre? Or is it set to "close" to the system tray?
|
09-07-2015, 06:13 AM | #334 |
BioReader
Posts: 292
Karma: 42568
Join Date: Apr 2009
Location: Germany
Device: Various
|
Sure - even after restart of my laptop it does not appear in the icon list of calibre. Here some snapshots.
I believe that there is something fundamentally wrong in my setup - but what? Klaus P.S. Just found out that the corresponding java file (json) is missing in the "C:\Users\MyName\AppData\Roaming\calibre\plugi ns" directory. I have no clue with Java scripts ... Last edited by kbaerwald; 09-07-2015 at 06:37 AM. Reason: Add-on |
09-07-2015, 08:12 AM | #335 | ||
Grand Sorcerer
Posts: 27,548
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Try launching calibre in debug mode from a command-line "calibre-debug -g" (without the quotes). If the plugin isn't initializing properly, there should be some kind of message printed there that might give a clue.
Quote:
Quote:
EDIT: OK, well it doesn't seem to be anything inherently wrong with the plugin, as I just installed it to a virgin installation of calibre (v2.37.1) and everything showed up on the toolbars selected as expected (and configuration worked) after a calibre restart. That debug output should prove enlightening when you get it. Also it looks like you are you running Windows, but I can't be sure. Nevermind, you said Windows 10-duh That info (and whether you're using an x86 or x64 flavor of calibre would be handy). Your icons look different, so I assume your using a new custom theme? If you could direct me to the one you're using, I'd like to install it and rule out the possibility that new theming functionality is somehow playing a role in this (since the plugin does supply its own icon resource. Thanks. EDIT2: I matched the icon theme you had that doesn't seem to have any effect on a fresh install either. Unfortunately, I can't test on Windows 10 quite yet. I only have that on my employers PCs. Last edited by DiapDealer; 09-07-2015 at 09:00 AM. |
||
Advert | |
|
09-07-2015, 11:09 AM | #336 |
BioReader
Posts: 292
Karma: 42568
Join Date: Apr 2009
Location: Germany
Device: Various
|
Please find the content of the command window in the attached text file - I anonymized some parts (hope you understand this). There are some errors with the unpack plugin but I do not understand the basics of it.
Hope it gives you some information. Klaus |
09-07-2015, 11:23 AM | #337 |
BioReader
Posts: 292
Karma: 42568
Join Date: Apr 2009
Location: Germany
Device: Various
|
One more thought: the path name of the ...\AppData\Roaming\calibre contains a non-ASCII character (coming from my German first name) "Rüdiger". This ASCII decimal 252 - does this matter?
Klaus-Rüdiger |
09-07-2015, 11:37 AM | #338 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
|
|
09-07-2015, 11:40 AM | #339 | |
Grand Sorcerer
Posts: 27,548
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Off to investigate. Thanks! |
|
09-07-2015, 11:51 AM | #340 | |
Grand Sorcerer
Posts: 27,548
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
I found the problem. There's a call to os.path.expanduser("~") that contains a known bug that affects non-asciii usernames on the Windows platform. I thought I had fixed this once before, but perhaps it has crept back in (or maybe I fixed it in something else--I don't know), but the short answer is: it's an easy fix. Kovid has a workaround method within calibre itself I need to use in place of os.path.expanduser. Now if I can only track down what it was! |
|
09-07-2015, 11:54 AM | #341 |
BioReader
Posts: 292
Karma: 42568
Join Date: Apr 2009
Location: Germany
Device: Various
|
@DoctorOhh: that all makes sense. Here is the complete path:
<C:\Users\Klaus-Rüdiger\AppData\Roaming\calibre> @DiapDealer: looks very promising - thanks so far! Klaus |
09-07-2015, 11:57 AM | #342 |
creator of calibre
Posts: 43,851
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
from calibre.utils.filenames import expanduser
|
09-07-2015, 12:36 PM | #343 |
Grand Sorcerer
Posts: 27,548
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Thanks Kovid! I knew it was in utils, but I never seem to be able to remember the "filenames" part.
Anyway @kbaerwald: See if this attached version works for you. If so, I'll update the first post with v0.81.2. EDIT: removed attachment and updated the first post with version 0.81.2. Last edited by DiapDealer; 09-07-2015 at 03:36 PM. |
09-07-2015, 12:48 PM | #344 | |
BioReader
Posts: 292
Karma: 42568
Join Date: Apr 2009
Location: Germany
Device: Various
|
Quote:
Works like a charm! Thanks to all. Klaus-Rüdiger |
|
09-07-2015, 03:18 PM | #345 |
Grand Sorcerer
Posts: 27,548
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
We aim to please!
This is such a basic fix (and it's working for you), that I'm going to go ahead and update the first post with the new version. Thanks for the report and the supplied data for tracking it down. EDIT: for the record, this is where I fixed this same bug once already. I'm guessing it slipped back in during the complete overhaul that was v0.80.0. Last edited by DiapDealer; 09-07-2015 at 03:25 PM. |
Tags |
mobi2mobi |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] EpubSplit | JimmXinu | Plugins | 422 | 04-07-2024 04:10 PM |
[GUI Plugin] EpubMerge | JimmXinu | Plugins | 522 | 04-01-2024 10:25 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] Ex Libris | AlPe | Plugins | 87 | 10-10-2020 03:10 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |