manuskript
manuskript copied to clipboard
Running app 0.15.0 on Mac Catalina
Followed instructions for Mac. True, 'a button appears, allowing you to start Manuskript “anyway”'. However get definitive message that program cannot be checked for malware and "needs to be updated" and program refuses to open. Further attempts to open app simply fail.
Please open the Application folder in Finder, right click on the manuscript app and choose Open option. It should solve the issue going forward.
On Fri, 21 Jul 2023 at 15:01, Victor Kane @.***> wrote:
Followed instructions for Mac https://www.theologeek.ch/manuskript/download/. True, 'a button appears, allowing you to start Manuskript “anyway”'. However get definitive message that program cannot be checked for malware and program refuses to open. Further attempts to open app simply fail.
— Reply to this email directly, view it on GitHub https://github.com/olivierkes/manuskript/issues/1191, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6DH33RZIJ5V3N7GV3BSPTXRKDRZANCNFSM6AAAAAA2S4H5AY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
@marosoft thanks for answering so promptly; however, tried that, unfortunately icon flashes and nothing happens, as described. Is there a command I can try in a terminal to see what the error message might be?
I have successfully installed other similar apps (latest version of novelWriter, for example), so I was under the impression that manuskript would work
Can you start the application from terminal? That might give you the stack trace in case of an error.
Otherwise you could also try running it from source. If there's an issue in the application it should be reproducible by doing so.
Can you start the application from terminal? That might give you the stack trace in case of an error.
Otherwise you could also try running it from source. If there's an issue in the application it should be reproducible by doing so.
Could you tell me how to run from terminal (what is the command? manuskript
doesn't work, thanks!
ok, don't know if this means anything to anyone:
victorkane@Victors-MacBook-Air ~ % open -a "manuskript"
LSOpenURLsWithRole() failed for the application /Applications/Manuskript.app with error -10810.
victorkane@Victors-MacBook-Air Applications % open -a "Manuskript"
LSOpenURLsWithRole() failed for the application /Applications/Manuskript.app with error -10810.
open -a Console, found:
Unable to load defaults for [executable<manuskript(501)>:60682]: no audit token
default 14:55:44.839802-0300 runningboardd [executable<manuskript(501)>:60682] Death sentinel fired!
default 14:55:44.841094-0300 runningboardd Acquiring assertion targeting executable<manuskript(501)> from originator [daemon<com.apple.coreservices.launchservicesd>:171] with description <RBSAssertionDescriptor; foregroundApp:60682; ID: 326-171-21714; target: 60682> attributes = {
<RBSDomainAttribute: 0x7fadb4647f60; domain: com.apple.launchservicesd; name: RoleUserInteractiveNonFocal; sourceEnvironment: 0x0>;
}
default 14:55:44.841339-0300 runningboardd Assertion 326-171-21714 (target:executable<manuskript(501)>) will be created as active
default 14:55:44.842350-0300 runningboardd Acquiring assertion targeting executable<manuskript(501)> from originator [daemon<com.apple.coreservices.launchservicesd>:171] with description <RBSAssertionDescriptor; foregroundApp:60682; ID: 326-171-21715; target: 60682> attributes = {
<RBSDomainAttribute: 0x7fadb472ada0; domain: com.apple.launchservicesd; name: RoleUserInteractiveNonFocal; sourceEnvironment: 0x0>;
}
default 14:55:44.842415-0300 runningboardd [executable<manuskript(501)>:60682] Ignoring jetsam update because this process is not memory-managed
default 14:55:44.842709-0300 runningboardd [executable<manuskript(501)>:60682] Ignoring resume because this process is not lifecycle managed
default 14:55:44.842853-0300 runningboardd [executable<manuskript(501)>:60682] Ignoring GPU update because this process is not GPU managed
default 14:55:44.842737-0300 runningboardd Assertion 326-171-21715 (target:executable<manuskript(501)>) will be created as active
The error code seems to say "unknown error" but it could be an issue with the operating system as described here.
On macOS there seem to be a process limit for its users which stops any new processes from starting. There are few workarounds described to try. I assume it's worth trying to shutdown the whole system and reboot or killing off other user processes/applications which are running.
@TheJackiMonster again, thanks for such prompt support! Manuskript community ftw!!!
OK, rebooting, turning off unnecessary processes, still get same negative results.
So, following advice to run from source on Mac OS X, that worked fine!!
Did the following (didn't want to install Xcode so used pip3
to install PyQt5 as indicated by your instructions):
brew install python3
pip3 --version
pip 22.0.4 from /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip (python 3.10)
pip3 install PyQt5
cd ~/Documents
git clone https://github.com/olivierkes/manuskript.git
Cloning into 'manuskript'...
remote: Enumerating objects: 14541, done.
remote: Counting objects: 100% (707/707), done.
remote: Compressing objects: 100% (176/176), done.
remote: Total 14541 (delta 532), reused 681 (delta 526), pack-reused 13834
Receiving objects: 100% (14541/14541), 14.08 MiB | 15.61 MiB/s, done.
Resolving deltas: 100% (10178/10178), done.
./manuskript/bin/manuskript
and SUCCESS
Was able to load demo project, create html output, and was able to create ePub compile after standard config to use already installed Pandoc!
¡Voilá!
Since it's easier to compile than mess around with Mac restrictions, while it would be better for non-techs if this ran with the regular download, in my case, problem resolved!
Thanks for all the help
Just to be complete, added the following to be able to use spellchecker:
pip3 install pyenchant
Now I have the latest version running on both Ubuntu (off-the-shelf) and Mac (easily running from source), I'm all set!
That's great! If you want other spell checker tools like language_tool you can use pip to install them as well.
Hmm, I still wonder why it's not working with the pre-build release. Most issue I have is that I have very limited options when it comes to testing on macOS. So maybe other people with a setup system can investigate the issue.
Otherwise I'll keep in mind that running from source seems to work. I assume we can definitely adjust the entry in the wiki since macOS ships Python now by itself. So people don't have to mess with homebrew, I think.
Still an issue in Catalina on manuskript 0.16.1. I'm gonna assume macOS 10.15.7 no longer supported? Which I understand---it's an old OS by now and it's not like devs have infinite resources to keep up with backward compatibility. Guess I'll have to try the source route
Update: running from source works on macOS 10.15.7. The person I was going to recommend it to might be too intimidated with using the Terminal but then again, if they have a current version of macOS it might not be an issue.
Adding to this, prepackaged still doesn't work. Here's the results I get:
user@mac /Applications % ./manuskript.app/Contents/MacOS/manuskript
[26686] Error loading Python lib '/Applications/manuskript.app/Contents/MacOS/Python': dlopen: dlopen(/Applications/manuskript.app/Contents/MacOS/Python, 10): Symbol not found: _preadv
Referenced from: /Applications/manuskript.app/Contents/MacOS/Python (which was built for Mac OS X 12.0)
Expected in: /usr/lib/libSystem.B.dylib
user@mac /Applications % open -a "Manuskript"
LSOpenURLsWithRole() failed for the application /Applications/manuskript.app with error -10810.
user@mac /Applications %
So I suspect what made it work from source is the required installation of the python dependencies.
Of course, I can't test this myself because apparently "Qt5 needs the full XCode installation to install" and apparently the only work around to this (besides installing several gigabytes of bloat) is to "hammer on it until it lets you", which is just patently absurd as a "workaround".
Adding to this, prepackaged still doesn't work. Here's the results I get:
user@mac /Applications % ./manuskript.app/Contents/MacOS/manuskript [26686] Error loading Python lib '/Applications/manuskript.app/Contents/MacOS/Python': dlopen: dlopen(/Applications/manuskript.app/Contents/MacOS/Python, 10): Symbol not found: _preadv Referenced from: /Applications/manuskript.app/Contents/MacOS/Python (which was built for Mac OS X 12.0) Expected in: /usr/lib/libSystem.B.dylib user@mac /Applications % open -a "Manuskript" LSOpenURLsWithRole() failed for the application /Applications/manuskript.app with error -10810. user@mac /Applications %
So I suspect what made it work from source is the required installation of the python dependencies.
Of course, I can't test this myself because apparently "Qt5 needs the full XCode installation to install" and apparently the only work around to this (besides installing several gigabytes of bloat) is to "hammer on it until it lets you", which is just patently absurd as a "workaround".
So if I understand this correctly: The pre-built release is using a newer Python version (or at least the Python version is somehow linked to a newer macOS version) which makes it not compatible with older versions of macOS?
I guess what could solve this issue besides updating macOS as a user (but I'm not sure whether that's possible for everyone) is: We could implement a Github Action workflow that automatically builds the release for macOS, selecting the oldest version available from Github and maybe that would support more versions upwards.
Just to follow up, I bit the bullet and upgraded my macOS to past 11 and then installed Qt 5.x and now the pre-packaged app opens just fine. In hindsight, I should have tried running it without installing Qt to see if just being below macOS 11 in general was the problem.