Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 05-12-2016, 01:08 PM   #16
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,602
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by KevinH View Post
I am confused? What does Linux builds of Sigil use to replace minizip? Is it a perhaps a newer version of minizip or do they actually patch Sigil in some way to use a different unzipping tool?
I don't think they're patching anything zip-related. I'm just thinking that Sigil (and they're certainly not using Sigil's included minizip source when building) is being built against different versions of repo-supplied minzip libraries.

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.
DiapDealer is offline   Reply With Quote
Old 05-12-2016, 02:08 PM   #17
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
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.
roger64 is offline   Reply With Quote
Advert
Old 05-12-2016, 02:41 PM   #18
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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.
eschwartz is offline   Reply With Quote
Old 05-12-2016, 03:42 PM   #19
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
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
KevinH is offline   Reply With Quote
Old 05-12-2016, 05:40 PM   #20
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,607
Karma: 23185369
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by eschwartz View Post
And I use engrampa and not file-roller, and it works fine.
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.
Doitsu is offline   Reply With Quote
Advert
Old 05-12-2016, 07:58 PM   #21
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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.
eschwartz is offline   Reply With Quote
Old 05-13-2016, 01:09 AM   #22
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,607
Karma: 23185369
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by eschwartz View Post
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.
If engrampa sees a non-existing home folder most likely the Sigil plugin import code also sees it and'll report an error since valid Sigil plugins may only contain one folder.

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.
Doitsu is offline   Reply With Quote
Old 05-13-2016, 11:10 AM   #23
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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.
eschwartz is offline   Reply With Quote
Old 05-14-2016, 03:17 PM   #24
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
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.
DiapDealer is offline   Reply With Quote
Old 05-14-2016, 04:57 PM   #25
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by DiapDealer View Post
@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).

Thanks for your great help (to you and all the Sigil team)! It's clear now. I will perform a horse change.
roger64 is offline   Reply With Quote
Old 05-15-2016, 01:16 AM   #26
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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.
eschwartz is offline   Reply With Quote
Old 05-15-2016, 08:28 AM   #27
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
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.
DiapDealer is offline   Reply With Quote
Old 05-15-2016, 11:38 AM   #28
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
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:
Impossible d'ouvrir this.epub
Type d'archive non pris en charge
and if I wish to to break it down, I need to rename it first as a zip.

I have no idea how to explain this difference.

Sorry if this comment is not relevant...
roger64 is offline   Reply With Quote
Old 05-15-2016, 12:07 PM   #29
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,607
Karma: 23185369
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by roger64 View Post
2. With ArchLinux (Cinnamon), if I try to do the same, I face a refusal
I had the same problem on my arch machine. file-roller refused to unpack .ePub files, but engrampa did.
Doitsu is offline   Reply With Quote
Old 05-15-2016, 12:57 PM   #30
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
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.
DiapDealer is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 04:46 AM.


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