05-12-2016, 01:08 PM | #16 | |
Grand Sorcerer
Posts: 27,602
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
I'll be honest ... I'm grasping at straws here. I have no idea why the default compression program on a linux system would have any bearing on how (or if) Sigil unzips a plugin file for installation. I just know that on a custom-built Sigil, its unzipping ability (minzip) is typically linked right into the Sigil executable itself, instead of passing it off to separate system libs. Last edited by DiapDealer; 05-15-2016 at 08:26 AM. |
|
05-12-2016, 02:08 PM | #17 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Hi
I had a look: file-roller is already installed on my system. I do not use engrampa. |
Advert | |
|
05-12-2016, 02:41 PM | #18 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
And I use engrampa and not file-roller, and it works fine. Since they both rely on libarchive or zip/unzip, and Sigil works fine without either one installed, I cannot imagine why it would matter anyway.
The presence or absence of unrelated software should have zero effect on Sigil. Sigil just uses the system libminizip.so, and no patches whatsoever are applied (except sigil-git patches the shellscript launcher to add the SIGIL_DICTIONARIES environment variable), just USE_SYSTEM_LIBS=1 Last edited by eschwartz; 05-12-2016 at 02:44 PM. |
05-12-2016, 03:42 PM | #19 |
Sigil Developer
Posts: 7,733
Karma: 5444398
Join Date: Nov 2009
Device: many
|
Wow - that is strange. I am out of ideas.
roger64, if you click on the button that takes to you your preferences folder and look in plugins does the DOCXImport folder exist? If so, what files are inside that directory? There is one other trick you can try: Exit completely from Sigil. Then manually go to your Sigil Preferences directory and into the plugins directory and manually copy the zip there and manually unzip DOCXImport_v0.1.0.zip into its own folder. Look inside to make sure you can see the plugin.xml and the plugin.py files at the very least. Then fire up Sigil. Is the plugin detected? Does it work? KevinH |
05-12-2016, 05:40 PM | #20 |
Grand Sorcerer
Posts: 5,607
Karma: 23185369
Join Date: Dec 2010
Device: Kindle PW2
|
When you directly open a downloaded plugin.zip file with engrampa, do you also see the non-existing home folder shown in my first screenshot?
BTW, I'm creating my own build following DiapDealer's instructions, i.e. it's quite possible that you don't experience any plugin unpacking problems despite having engrampa installed, because your build might reference different system libraries. |
Advert | |
|
05-12-2016, 07:58 PM | #21 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
I sure do. I see a /home/eschwartz/DOCXImport_v0.1.0.zip file inside the zip, actually. Or else, wherever the DOCXImport_v0.1.0.zip file is located.
But I think that may be a bug in engrampa. |
05-13-2016, 01:09 AM | #22 | |
Grand Sorcerer
Posts: 5,607
Karma: 23185369
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Since Arch Linux is a rolling distro it's highly likely that a system update broke something that makes engrampa and presumable some other programs like Sigil see a non-existing home folder. I.e., this problem will most likely disappear on its own after one of the next system updates. (On my machine it disappeared after I re-installed the latest file-roller version.) As KevinH has suggested, as a work-around, Arch Linux users affected by this issue should simply manually extract plugin zip archives to ~/.local/sigil-ebook/sigil/plugins. |
|
05-13-2016, 11:10 AM | #23 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
I did say I thought it was an engrampa bug.
And sure enough, when I investigated, I found the bug: Upstream file-roller bug Engrampa bug report Engrampa fix ... Uninstall p7zip and Engrampa works properly. It is flagged out-of-date and presumably a fixed version of Engrampa will appear in Arch soon. Regardless, since Sigil does not parse the stdout of `7za l` in order to figure out how to extract a plugin using minizip, it is completely irrelevant what Engrampa does and the Engrampa bug is merely a fun coincidence doubling as a red herring. |
05-14-2016, 03:17 PM | #24 |
Grand Sorcerer
Posts: 27,602
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
@roger64:
More on the "Not a valid Sigil plugin" error message you get when using sigil package from the Arch community repo: I set up a brand-new Arch system and got a Cinnamon Desktop going. Just a bare-bones GUI install. After installing the sigil package, I get the exact same error you do! However... after removing the sigil package and installing sigil-git from the AUR, everything works as it should. If I remove sigil-git and reinstall the sigil package, I'm right back to the same, "Not a valid Sigil plugin" error message when attempting to install a plugin. So it's my opinion that something is simply wrong with the Arch sigil package. Use sigil-git from the AUR instead (or build Sigil manually). @Doitsu: I know you managed to get the same error with a custom Sigil build by removing/install different packages, but I have to assume you're somehow exposing some other deficiency by doing that. Weird stuff. |
05-14-2016, 04:57 PM | #25 | |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
Thanks for your great help (to you and all the Sigil team)! It's clear now. I will perform a horse change. |
|
05-15-2016, 01:16 AM | #26 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Well, I wish I actually knew what my sigil-git package is doing right.
Weird stuff. |
05-15-2016, 08:28 AM | #27 |
Grand Sorcerer
Posts: 27,602
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I broke this conversation out into its own thread since it seemed clear that it had nothing to do with my DOCXImport plugin (itself or it's zipfile). Hope no one minds. Just trying to clean up the plugin's thread a bit.
Last edited by DiapDealer; 05-15-2016 at 08:45 AM. |
05-15-2016, 11:38 AM | #28 | |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
One remark about this ArchLinux zip question, if it may give a clue - or not.
1. - With Linux Mint (Cinnamon), I can chose the menu entry "extract here" with any EPUB file, without having to rename it as a zip, and it breaks down in a folder with OEBPS FILES. Handy. 2. With ArchLinux (Cinnamon), if I try to do the same, I face a refusal Quote:
I have no idea how to explain this difference. Sorry if this comment is not relevant... |
|
05-15-2016, 12:07 PM | #29 |
Grand Sorcerer
Posts: 5,607
Karma: 23185369
Join Date: Dec 2010
Device: Kindle PW2
|
|
05-15-2016, 12:57 PM | #30 |
Grand Sorcerer
Posts: 27,602
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I noticed the same thing. Somebody mentioned Ark on KDE had the same problem. Seems like some archive utilities read the mimetype file (or assume a mimetype from the extension) and try to find a matching plugin instead of simply treating it like a zip archive.
EDIT: for what it's worth, I just use xarchiver on systems where the default archive manager seems to not want to deal with epubs. Last edited by DiapDealer; 05-15-2016 at 01:44 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Arch Linux on Paperwhite2 | HisDudeness | Kindle Developer's Corner | 24 | 10-13-2014 01:23 PM |
mobiperl package in the Arch Linux AUR | Synthead | Amazon Kindle | 3 | 07-05-2013 09:14 AM |
Can't add plugins (Calibre 8.1 on Arch Linux) | byrnerat101 | Plugins | 17 | 02-21-2012 06:06 AM |
sigil Arch Linux | wetterau | Sigil | 5 | 12-02-2010 12:59 PM |
Installing Calibre in Arch Linux | jatz | Calibre | 0 | 03-23-2010 01:41 PM |