09-10-2014, 10:46 AM | #31 | |
Sigil Developer
Posts: 7,651
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Hi DiapDealer,
Hmm ... that may explain why you can unpack and work with joint mobis but I simply could not see how that could even work based on the code! As your guimain class inherits from Frame, do you think maybe destroy() or quit() needs to be called on itself? If so that should tell your mainloop to exit as the only frame has quit. Then I guess you could follow-up by adding a root.destroy() in run after the mainloop? So maybe something like the following might work (just a guess here) in quitApp(), maybe it should end like the following: def quitApp(self): self.destroy() # or maybe the above should simply be self.quit() But then in run you do the following: def run(bk): root = Tk() root.title('') root.resizable(True, True) guiMain(root, bk).pack(fill=Tkconstants.BOTH, expand=False) root.mainloop() root.destroy() return 0 Again, this is just a guess ... I will play around with it on my Mac tonight when I get home from work and see if the same issue happens. Take care, KevinH Quote:
|
|
09-10-2014, 11:28 AM | #32 | ||
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Quote:
Last edited by DiapDealer; 09-10-2014 at 02:23 PM. |
||
Advert | |
|
09-10-2014, 02:22 PM | #33 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I think I need to go back to my original method of just using tkinter to get a file path -- rather than trying to do all the plugin's logic, processing, and error raising inside the mainloop.
|
09-10-2014, 02:24 PM | #34 |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
FYI, for good measure I've also tested DiapDealer's KindleImport plug-in on a 64-bit Linux machine (with Python 2.7.3) and didn't get any pathof warnings.
I.e., this might be a 64-bit Windows Sigil build issue, a Windows 8 issue or a 64-bit ActivePython 2.7.8.1 issue. @DiapDealer: Since the plug-in definitely works, maybe you could simply readme this behavior and move on to more interesting things instead of debugging Windows-only bugs. :-) @Sigil 0.7.7 Windows beta testers: Can you please test DiapDealer's KindleInput plugin on your machine and report back whether you're also getting pathof warnings at the end? (You can use this .azw3 file as input file.) |
09-10-2014, 03:27 PM | #35 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
Advert | |
|
09-12-2014, 02:32 AM | #36 | |
Klak
Posts: 174
Karma: 150374
Join Date: Sep 2011
Location: Belgrade, Serbia
Device: many
|
Quote:
|
|
09-13-2014, 12:27 PM | #37 | |
Connoisseur
Posts: 56
Karma: 70350
Join Date: May 2013
Device: Kobo AuraH2O, Glo, AuraHD, JBC2
|
Quote:
Really happy Sigil is being worked on again!! Tested on Win8.1 64bit using python 2.7.2 32bit (active python 2.7.2.5). I have not updated my python in a while. I can test python 64bit version if needed. Let me know. Also using Sigil 7.7 64bit. Status: success Entering KindleUnpack input plugin's run() routine Path to Kindlebook C:/Downloads/eBook Stuff/Finati, Giovanni - The Life and Adventures of Giovanni Finati.azw3 Palm DB type: BOOKMOBI, 105 sections. Unpacking a KF8 book... Processing K8 section of book... Mobi Version: 8 Codec: utf-8 Title: The Life and Adventures of Giovanni Finati Palmdoc compression Unpacking images, resources, fonts, etc Extracting image: cover00097.gif from section 97 Extracting image: image00099.jpeg from section 99 Unpacking raw markup language Processing ncx / toc Write K8 ncx Building an epub-like structure Building proper xhtml for each file Building a cover page. Building an opf for mobi8 using epub version: 2 Building Navigation Document. Creating an epub-like file Path to new epub c:\users\kirred\appdata\local\temp\tmpbycat_\mobi8 \Finati, Giovanni - The Life and Adventures of Giovanni Finati.epub Warning: pathof expects utf-8 encoded byestring: C:\Users\KirRed\AppData\Local\Temp\Sigil\scratchpa d\3ba799db-a5ca-4d7b-96bd-4d4c218aa2db\new.epub Warning: pathof expects utf-8 encoded byestring: C:\Users\KirRed\AppData\Local\Temp\Sigil\scratchpa d\3ba799db-a5ca-4d7b-96bd-4d4c218aa2db\new.epub Warning: pathof expects utf-8 encoded byestring: C:\Users\KirRed\AppData\Local\Temp\Sigil\scratchpa d\3ba799db-a5ca-4d7b-96bd-4d4c218aa2db Warning: pathof expects utf-8 encoded byestring: C:\Users\KirRed\AppData\Local\Temp\Sigil\scratchpa d\3ba799db-a5ca-4d7b-96bd-4d4c218aa2db\new.epub Best, Shunter Last edited by SHunter101; 09-13-2014 at 12:31 PM. |
|
09-18-2014, 04:38 PM | #38 |
Wizard
Posts: 1,161
Karma: 1404241
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Hi KevinH and user_none,
fine to see you back. Is it possible to have an update for the translation file at Transifex? As there are some additional strings in the GUI, I like to update the translation too. Best regards, DD |
09-18-2014, 04:48 PM | #39 | |
Wizard
Posts: 1,161
Karma: 1404241
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
@Doitsu,
same to me (WinVista64bit): Spoiler:
Quote:
|
|
09-18-2014, 05:06 PM | #40 | |
Sigil Developer
Posts: 7,651
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Hi DivingDuck
Quote:
Thanks, KevinH |
|
09-21-2014, 07:21 PM | #41 |
actually it is /var/log
Posts: 341
Karma: 2994236
Join Date: Sep 2012
Location: usually Europa
Device: prs t1
|
I was away from internet for last month and a lot happened in the meantime... but I will certainly try to take part.
last commit needs to be corrected: Plugin.cpp -#elif deifned(_WIN32) +#elif defined(_WIN32) to be compiled - but you know it already, I think. I miss context menu. Perhaps not important really. I miss an opportunity to register librarys: plugins should be able to use other plugins/third party code with no changes. |
09-21-2014, 08:00 PM | #42 | ||
Sigil Developer
Posts: 7,651
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Hi varlog,
Thanks for the typo fix. Added it to my github tree for user-none to pull. Quote:
Quote:
Python Plugins will not be able to use other plugins directly. Simply incorporate their code into your project if you need it as you would any other python code. Take care, KevinH |
||
09-25-2014, 05:18 PM | #43 |
actually it is /var/log
Posts: 341
Karma: 2994236
Join Date: Sep 2012
Location: usually Europa
Device: prs t1
|
On my Ubuntu (14.04) compiling 0.7.700 (git latest) with Qt Creator (3.1.2 opensource) I don't get share/sigil/plugin_launchers folder in my build folder, I have to copy it manually. Is it design, do I miss something?
-DCMAKE_INSTALL_PREFIX is set to my build folder Why lua is no more? On the side: Maintenance problems... duplicating code... . Last edited by varlog; 09-25-2014 at 05:29 PM. |
09-25-2014, 05:42 PM | #44 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Do you mean that you've set your install prefix to the same directory as the build directory (where you first issue the cmake command)?
I've absolutely no experience with using Qt Creator as part of the build process. Just cmake, make, make install. |
09-25-2014, 05:45 PM | #45 | |||
Sigil Developer
Posts: 7,651
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Hi,
Quote:
Quote:
Quote:
|
|||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Smashwords: direct epub upload in alpha testing | avantman42 | Writers' Corner | 15 | 01-01-2013 05:19 PM |
Android Xobni for Android coming soon - Sign up today for Alpha testing | guyjack | enTourage Archive | 4 | 04-09-2011 02:27 PM |
Alpha 700 = 8.9" 1024x600 LCD + E-Reader = $219 | Sonist | News | 31 | 03-22-2010 12:46 PM |
Book Designer iLiad module is ready for testing | vvv | iRex | 16 | 09-21-2006 12:57 PM |
So is the Iliad really production ready and is the market ready for e-readers? | pdam | iRex | 28 | 09-14-2006 05:24 PM |