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

Operation Not permitted error when passing an EPUB via an AppleScript #66

Open
CircularKen opened this issue Nov 24, 2020 · 5 comments
Open
Labels

Comments

@CircularKen
Copy link

With macOS 11 Big Sur if I pass an EPUB to EPUB-Checker (v2.0.2) using a simple open command in AppleScript it fails with an 'Unable to Read file' warning.

ju-FMk2u

The same script works on earlier macOS and also still works with other apps such as ACE and Thorium on Big Sur. Sample AppleScript:

tell application id "de.paginagmbh.epubchecker"
open "/Users/kenjones/Desktop/CircularFLO_2020-11-23-11-45-02/340833_int_001-048_thesecretlifeofbees_UK_FRI.epub"
end tell

If I drag the EPUB onto the EPUB-Checker window then the app works as expected macOS 11 Big Sur.

@sermo-de-arboribus
Copy link
Contributor

Thanks for this report, @CircularKen and sorry for the late response.

Unfortunately I have no access to a macOS 11 Big Sur machine yet so I can't replicate this issue, but I'll have an eye on it, as soon as my situation changes.

@tofi86
Copy link
Collaborator

tofi86 commented Jan 6, 2021

Hi Ken, I moved on to a new job, but today I dedicated a bit of my spare time to the pagina EPUB-Checker project.

I can confirm your problem an macOS 11.0 Big Sur.

The problem is, that the launcher stub of the app isn't a compiled binary.

Long story short, the issue has been discussed here tofi86/universalJavaApplicationStub#85 and I have found a solution for the problem: compiling the launcher stub upon release.

I have to discuss with Kai @sermo-de-arboribus first how we're tackling this. 'Cause compiling isn't backwards compatible for older macOS version and I guess Kai doesn't want to release a separate App for every macOS version (<10.15 with an uncompiled launcher, 11.0 with a compiled launcher, etc.). But maybe we have to do that anyways because of Apple Silicon M1, who knows... 🤷

Stay tuned...

@tofi86
Copy link
Collaborator

tofi86 commented Jan 6, 2021

Related to #67

@CircularKen
Copy link
Author

Hello @tofi86 , just passing by today looking an update on this one…

Maybe we need to chip in a small amount of Circular Software's hard earned cash to get this update to happen?!

@sermo-de-arboribus
Copy link
Contributor

Dear Ken (@CircularKen)

unfortunately we have currently no capacity for working on this bug, yet we would certainly like to provide a fix for this and make the EPUB-Checker work again for your usage scenario. With the usual grain of salt when making plans: We would try to review this problem in April or May of this year and hope we can provide a fix then.

Best regards,
Kai

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

No branches or pull requests

3 participants