![]() |
#1 |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2023
Device: MacBook ProM1 Max, iPad Pro 4th G, iPhone 13 Pro Max
|
Problem running plugins on MacOS
What can I do to give enough debug data? I installed the ZIP from Github and when I try to go to "Plugins" and then I click on:
Plugins --> Input --> DOCXImport Status: failed Launcher: missing or incorrect paths passed in |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,340
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
What version of MacOS? What version of the plugin? What version of Sigil (and where did you download/install Sigil from)? Are you using the bundled Python that comes with Sigil for plugins, or an external Python? If the latter, what version of Python?
If you installed Sigil from MacPorts, your Sigil plugin functionality will probably be very limited (if not completely nonexistent). |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2023
Device: MacBook ProM1 Max, iPad Pro 4th G, iPhone 13 Pro Max
|
||*DiapDealer
Sigil Version: 1.9.30 Loaded Qt: 5.12.9 DL from https://sigil-ebook.com/sigil/download/ MacBook Pro (16-inch, 2021) Apple M1 Max macOS Monterey 12.6.1 (21G217) Python Python 3.11.3 Installed with homebrew Path is set manually --> Sigil/Preferences/Plugins --> Path to Interpreter Executable --> /usr/bin/python3 Plugin DOCXImport Version 0.3.0 Source: https://github.com/dougmassay/docximport-sigil-plugin |
![]() |
![]() |
![]() |
#4 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,438
Karma: 5702578
Join Date: Nov 2009
Device: many
|
Our version of Sigil for macOS comes with a proper embedded python3. Using third party distributors of Sigil is always a question as to whether they have properly embedded everything they should have in their builds (not to mention what unwanted extras they may have packaged with it).
Simply check the box to use the Bundled Python and do not use external pythons that are missing required python modules. Last edited by KevinH; 04-22-2023 at 09:39 AM. |
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,340
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Yep. My plugin needs the modules that are pre-installed in Sigil's bundled Python. So either check the "Use bundled python" box in Sigil's preferences, or alternatively install all the extra modules that Sigil's plugin framework (and most plugins) expect to be present in your external python. The former is much easier.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2023
Device: MacBook ProM1 Max, iPad Pro 4th G, iPhone 13 Pro Max
|
||*DiapDealer
I tried it before this way. Unfortunately, exactly that did not work. So I adjusted the path myself and that didn't work either. ||*KevinH I think the tip with LibreOffice was the spark I was missing. I was able to read in my docx file there and created an Epub_2 format from there. It's not perfect by a long shot, but it's a good foundation. Since it can be opened in Sigil, without the problems described before. So that I am now able to understand the structure and make me now once the trouble to adapt the TOC correctly and to bring the rest in clean HTML, or XML. After that I can cleanly manage 2 versions. One with Apple Pages to sell PDF and Epub through my own site. And a version managed in Sigil that I can send to the various online stores. I hope this will help others who are facing the same problem. Thank you all for your help! |
![]() |
![]() |
![]() |
#7 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,438
Karma: 5702578
Join Date: Nov 2009
Device: many
|
For macOS, for our official builds, you should always check the use bundled python interpreter box as it has the required additional python modules that Sigil plugins need.
So please try that again and let us know any exact error messages so that we can track down any remaining possible issues on M1 M2 machines as the embedded python works perfectly on intel based macos machines. |
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2023
Device: MacBook ProM1 Max, iPad Pro 4th G, iPhone 13 Pro Max
|
|
![]() |
![]() |
![]() |
#9 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,438
Karma: 5702578
Join Date: Nov 2009
Device: many
|
That is strange. That error message actually comes from Sigil itself, not the plugin. It validates all of the paths/info passed to the plugin itself.
There is no reason for that to fail unless the install is literally missing pieces or the python code itself is missing permissions to actually execute on M1/M2 machines. Or perhaps you have renamed the plugin folder somehow or renamed the plugin before installing it? The thing is that is pure python (.py) code that should run on any platform. Are you 100% sure you have actually downloaded and installed Sigil directly from our github release page and not from someplace else? Please look at the About Sigil page. What is the exact Build date and time? Where are you keeping the Sigil.app application? Is it in /Applications or someplace else? Something is very broken just for plugins but working for the embedded python otherwise Sigil would fail at startup. This is very strange. Perhaps Apple in its push for security has prevented py code from being run from inside the Sigil.app? Or perhaps its permissions are messed up. Unfortunately, I do not yet own a M1/M2 build machine as I just bought a new MacBook Pro i7 intel box literally days before they announced the move to Apple Silicon. But no one else has reported any issue running plugins, so I doubt it is that. Last edited by KevinH; 04-22-2023 at 04:41 PM. |
![]() |
![]() |
![]() |
#10 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,788
Karma: 6758980
Join Date: Mar 2015
Device: Kindle, iOS
|
|
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,340
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Anybody mind if I move the last several posts into a new thread in the Sigil Forum? It's clearly not an individual plugin issue, and has little to do with the original topic either.
EDIT: I hope no one minded, because I went ahead and did it without waiting for answers. ![]() Last edited by DiapDealer; 04-22-2023 at 06:09 PM. |
![]() |
![]() |
![]() |
#12 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,438
Karma: 5702578
Join Date: Nov 2009
Device: many
|
|
![]() |
![]() |
![]() |
#13 |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2023
Device: MacBook ProM1 Max, iPad Pro 4th G, iPhone 13 Pro Max
|
||*KevinH
I downloaded Sigil from the Sigil Website. And it is located in the "Applications" folder. Nothing is renamed. I also not renamed the plugin. It's downloaded from Github an I just added the ZIP file as it is inside the plugin section. |
![]() |
![]() |
![]() |
#14 |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2023
Device: MacBook ProM1 Max, iPad Pro 4th G, iPhone 13 Pro Max
|
Stop.. Strange thing.
The first time I uploaded the ZIP from Github and this fails, like shown before. I tried again with the ZIP you can download from this forum. And now it seems to work. |
![]() |
![]() |
![]() |
#15 |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2023
Device: MacBook ProM1 Max, iPad Pro 4th G, iPhone 13 Pro Max
|
If I UNZIP the file from Github, the folder is named
docximport-sigil-plugin-master The folder from the forum is named DOCXImport You referred a lot to the naming. Does that have anything to do with it? I added both the same, via Preferences >> Plugins >> Add Plugin. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem converting on MacOS Monterrey | dunhill | Conversion | 2 | 11-01-2021 03:20 PM |
running calibre-server via launchd on macOS Big Sur | bhyde | Server | 2 | 06-30-2021 01:11 PM |
Can I build Calibre 4.0 on a native macOS machine running OS X El Capitan 10.11.6? | vaboro | Development | 23 | 10-16-2019 04:37 PM |
Problem with Plugins | Thasaidon | Sigil | 3 | 11-18-2015 03:32 AM |
Installing/Running Plugins | David Kudler | Plugins | 3 | 11-12-2014 11:59 PM |