Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running app 0.15.0 on Mac Catalina #1191

Open
victorkane opened this issue Jul 21, 2023 · 13 comments
Open

Running app 0.15.0 on Mac Catalina #1191

victorkane opened this issue Jul 21, 2023 · 13 comments

Comments

@victorkane
Copy link

victorkane commented Jul 21, 2023

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.

@marosoft
Copy link

marosoft commented Jul 21, 2023 via email

@victorkane
Copy link
Author

@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?

@victorkane
Copy link
Author

I have successfully installed other similar apps (latest version of novelWriter, for example), so I was under the impression that manuskript would work

@TheJackiMonster
Copy link
Collaborator

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.

@victorkane
Copy link
Author

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!

@victorkane
Copy link
Author

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

@TheJackiMonster
Copy link
Collaborator

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.

@victorkane
Copy link
Author

@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 pip3to 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

@victorkane
Copy link
Author

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!

@TheShadowOfHassen
Copy link
Contributor

That's great! If you want other spell checker tools like language_tool you can use pip to install them as well.

@victorkane victorkane changed the title Can't run app 0.15.0 on Mac Catalina Running app 0.15.0 on Mac Catalina Jul 22, 2023
@TheJackiMonster
Copy link
Collaborator

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.

@tghuguenin
Copy link

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

@tghuguenin
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants