ClementGre / PDF4Teachers

PDF editing software in large quantities. Designed for teachers, this app keeps recorded previous annotations, and offers features like marking scale, PDF conversion, vectorial drawing...
https://pdf4teachers.org/
Apache License 2.0
136 stars 17 forks source link

App dont start on macOS Ventura : The operation couldn't be completed. (OSStatus error -67028.) #145

Closed netsrot69 closed 11 months ago

netsrot69 commented 1 year ago

Prerequisite

Describe the bug

I downloaded the app from the site today and installed it. It is version 1.4.0.

After installing it, an error message appears and I cannot open the programme.

To Reproduce

Check the console

No response

Edits

No response

Screenshots

Bildschirm­foto 2022-11-03 um 12 11 45

Desktop

macOS Ventura 13.0

ClementGre commented 1 year ago

I had a sililar issue on a M1 mac (Ventura), and I fixed the issue in the Apple Silicon version of the app (1.4.0) a few days ago.

Do you have an Intel processor, or an Apple one (M1/M2) ?

netsrot69 commented 1 year ago

I had a sililar issue on a M1 mac (Ventura), and I fixed the issue in the Apple Silicon version of the app (1.4.0) a few days ago.

Do you have an Intel processor, or an Apple one (M1/M2) ?

I have an Intel Mac

ClementGre commented 1 year ago

Ok, we just updated the Intel version, you can try downloading it again on the website.

It should fix the issue.

netsrot69 commented 1 year ago

So on the page is still the 1.4.0 version with the same error... 🥴

ClementGre commented 1 year ago

Ok, this is another issue that I can't reproduce.

The error is called errSecCSBadBundleFormat : (The bundle format is unrecognized, invalid, or unsuitable.).

Then you should be able to run the app by running the PDF4Teachers executable into the bundle (cd into the .app/contents/MacOS/bin/).

I tried to edit a bit the bundle, hopping it will work for you. You can try this version : https://pdf4teachers.org/data/PDF4Teachers.app.zip.

netsrot69 commented 1 year ago

Well, the problem persists, only without an error message. 🤷🏼‍♂️

Bildschirm­foto 2022-11-04 um 17 15 44
ClementGre commented 1 year ago

I changed again the Info.plist and the package configuration, you can try this new version: https://pdf4teachers.org/data/PDF4Teachers.app.zip.

netsrot69 commented 1 year ago

Wieso ist die Internetseite down?

ClementGre commented 1 year ago

I am currently having issues with the website server. It should be online in less than a week, sorry for that.

ClementGre commented 1 year ago

I'm sorry for this website issue that last more than it should. The new .app file is again available. Here is the link: https://pdf4teachers.org/data/PDF4Teachers.app.zip.

netsrot69 commented 1 year ago

Doesn't work! 🤷🏼🥴

Best regards Torsten

Am 09.01.2023 um 21:16 schrieb Clément Grennerat @.***>:

Sorry for this website issue that last more than it should. The new .app file is again available. Here is the link: https://pdf4teachers.org/data/PDF4Teachers.app.zip.

— Reply to this email directly, view it on GitHub https://github.com/ClementGre/PDF4Teachers/issues/145#issuecomment-1376261055, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANLHWJ7YS5IDC4523FY2V5TWRRW3FANCNFSM6AAAAAARWA27BM. You are receiving this because you authored the thread.

ClementGre commented 1 year ago

I'm really sorry for that. Are you still able to start the app manually? Running in a terminal:

./PDF4Teachers.app/Contents/MacOS/bin/PDF4Teachers

Tonio51170 commented 1 year ago

Hey, i have the same problem on a MacBook Pro (Retina, 13-inch, Early 2013) with MacOs Catalina 10.15.7

Here is a copy of the terminal after launching the app from it :

/Applications/PDF4Teachers.app/contents/MacOS/bin/PDF4Teachers: line 9: /Applications/PDF4Teachers.app/contents/MacOS/bin/java: Bad CPU type in executable logout

Best regards,

Antoine.

ClementGre commented 1 year ago

The error "Bad CPU type in executable" suggests you are not using a version of PDF4Teachers compiled for Intel processors. Are you sure you downloaded the Intel version of the application ?

Tonio51170 commented 1 year ago

Yes i tried both versions.

Some interesting news however with the intel version :

Hope it can help.

ClementGre commented 1 year ago

Ok, I can't reproduce the issue, but there are still some things we can look at.

Tonio51170 commented 1 year ago

I'm using your app a lot so i want to help you.

In a word : it works !

I tried on a fresh install, you just have to use the command sudo xattr -rd com.apple.xxx /Applications/PDF4Teachers.app with xxx=quarantine allowed me to use your app like any other.

Thank you !

ClementGre commented 1 year ago

The quarantine attribute is added to every downloaded file, but it should not prevent you from opening the app from the context menu, or in the security & privacy settings.

There must be something wrong between the bundle and your mac.

Do you have the same issue with older releases ? I can't reproduce the issue, but we can try to edit the bundle structure and the Info.plist file. I'll try to edit the bundle soon.

ClementGre commented 11 months ago

Considering the fact that all macs are not affected by this issue, I will close the issue and add installation details for macos in futures release note. Macos quarantine system is complex and it would be easier to add installations instructions. Otherwise, the issue could be fixed by buying an Apple Developer license, but this is not in my plans considering the pricing.