09-10-2013, 11:37 AM | #196 | |
Well trained by Cats
Posts: 29,779
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:
The message indicates a unicode decode problem. Try with an English only filename as a test |
|
09-10-2013, 02:39 PM | #197 |
Guru
Posts: 959
Karma: 3475832
Join Date: May 2012
Location: France
Device: Elipsa, Sage
|
I downloaded the 7.3 Sigil, and tried it with another English book (I think this morning's was English too), similar problem:
Spoiler:
PS: What is FWIW an acronym for? I knew only FYI. |
Advert | |
|
09-10-2013, 02:43 PM | #198 |
Grand Sorcerer
Posts: 12,155
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
For What Its Worth.
|
09-21-2013, 05:29 PM | #199 |
Plugin Developer
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
@kiwidude -
UPDATE - Ignore this whole question. I misunderstood Kovid, he's adding what I wanted to calibre's eject feature directly, so I don't need to call anything. I don't know if you've been following this thread, Nook STRg doesn't eject completely?, but Kovid was kind enough to make a utility program for the next version that unmounts usb devices before ejecting them. My intention is to make my SmartEject PI (configurably) call it. Rather than reinvent the wheel, would you mind if I had SmartEject call Open With, since it already knows how to run programs on all the OSes? Something like: Code:
ow_plugin = self.gui.iactions['Open With'] ow_plugin.launch_app("path_to_install\calibre-eject.exe","g h i","") Initial testing seems like it works fine. Last edited by JimmXinu; 09-21-2013 at 11:00 PM. Reason: Correct code snippet. |
09-21-2013, 06:03 PM | #200 |
Plugin Developer
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Except not really.
calibre-eject chokes on the empty parameter from the empty path_to_file. And changing launch_app to work without path_to_file would require changes to all three OS paths, so I'll understand if you don't want to do that. |
Advert | |
|
09-21-2013, 06:47 PM | #201 |
Plugin Developer
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Just in case you are interested, here's a modified version of launch_app(). I've only tested it with windows.
Spoiler:
|
09-21-2013, 10:59 PM | #202 |
Plugin Developer
Posts: 6,307
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
@kiwidude - Ignore this whole question. I misunderstood Kovid, he's adding what I wanted to calibre's eject feature directly, so I don't need to call anything.
|
09-22-2013, 05:37 AM | #203 |
Calibre Plugins Developer
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
No worries, ignore is default mode at moment unless a bug due to lack of time
|
10-22-2013, 07:40 PM | #204 |
Addict
Posts: 265
Karma: 724240
Join Date: Aug 2013
Device: KyBook
|
I did search the topic if it was asked but either I chose the wrong search or it's not yet asked.
I see on the menu that it is capable of detecting which items are applicable in a given presence of formats for a book. I would like to suggest an enhancement if this is possible. On the configuration dialog, allow us to mark an entry as the default if more than one program is configured to open a specific format, and then on left click on the plugin icon, launch that entry. e.g. I have a book with an additional .djvu format. WinDjView on the pen drive, and left click would then open WinDjView...(no file associations on portables) I realize that if multiple formats are present, it would be up to the user to select which is the preferred one, and that there can only be one, as in such cases a choice would need to be made which format is the preferred. That is if there is a combination of multiple formats. If there is only one candidate activated then just launch whatever is the enabled menu entry. And since epub seems to work from the details panel even without file associations, I am trying to find a way to do same with the non-epub formats, or at least those the built-in viewer can't handle. Since the details panel requires associations for these I was hoping perhaps via Open With would be an option Last edited by At_Libitum; 10-22-2013 at 07:47 PM. |
10-26-2013, 08:08 AM | #205 |
Calibre Plugins Developer
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@At_Libitum - its an interesting idea, and not something I can see any major flaws in that you haven't mentioned (other than lack of time at the moment to implement it). I confess to just using keyboard shortcuts to launch applications - you might consider that as a more flexible option as it gets around the multiple formats issue.
|
11-28-2013, 11:42 PM | #206 | |
Grand Sorcerer
Posts: 12,155
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Kiwi; you might be interested in bug 1256198 which seems to indicate a cause for the sporadic reports from calibre on startup of
Quote:
|
|
01-23-2014, 06:49 PM | #207 |
Zealot
Posts: 105
Karma: 132
Join Date: Jul 2010
Location: Roubaix, France
Device: PRS-T1;PRS-650;PocketBook Touch Lux 2
|
Translation
A plugin modification adding translation of the plugin (general pot and french done).
Not extensively tested, for review and test. EDIT: -19/07/2014 Port to Qt5 (davidfor modifications included) -18/01/2015: v1.5.9 modifications included Last edited by sengian; 01-18-2015 at 03:37 PM. |
03-14-2014, 08:56 PM | #208 |
Well trained by Cats
Posts: 29,779
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Broken in Calibre 1.28 x64
I just went to use Openwith (Sigil) PI which has been solid thru 1.27.
I can still run Sigil. Tap 'O', Use the Windows context manager to "Open with Sigil" Spoiler:
|
03-14-2014, 09:23 PM | #209 | |
null operator (he/him)
Posts: 20,553
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Win7-SP1, calibre 64bit 1.28, Sigil Windows build 0.7.4 Pity it doesn't tell us which file it can't find BR |
|
03-14-2014, 09:50 PM | #210 | |
Well trained by Cats
Posts: 29,779
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:
The second line must be part of Calibre. OK all Openwiths are failing I have restarted Calibre. The timestamp on Open With.json is 12/7/2013 Note the SPACE in the JSON file name Almost all the JSON's associated with PI's have a space |
|
Tags |
conversion, kepubify |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Search the Internet | kiwidude | Plugins | 433 | 04-01-2024 05:48 PM |
New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 12:11 PM |
Gui confusements. | brewt | Calibre | 8 | 12-30-2008 12:16 PM |
Reference Open eBook Forum: Open eBook Publication Structure. IMP. V1.0.1 14 September 2007 | DaleDe | IMP Books | 0 | 09-14-2007 05:06 PM |
iLiad GUI for the iLiad | tribble | iRex Developer's Corner | 1 | 06-01-2007 02:29 PM |