View Issue Details

IDProjectCategoryView StatusLast Update
0000290QElectroTechDiagram Editorpublic2023-10-30 16:21
Reportergunni Assigned To 
PriorityhighSeverityblockReproducibilityalways
Status newResolutionopen 
Product Version0.1 
Summary0000290: Unable to run the app on OSX
DescriptionIts not possible to run the app on OSX (14.0 (23A344)).
The error says "application damage".
I try the 0.100 Dev version, the 0.9 Version runs fine.
Steps To Reproducetry to start the app.
Tagsosx, start

Activities

scorpio810

2023-10-13 14:47

administrator   ~0000650

What your Mac and macOS version?

You have 2 version, one for MAC Intel other arm64 for M1 M2 chip.

scorpio810

2023-10-18 16:55

administrator   ~0000651

https://download.qelectrotech.org/qet/builds/MAC_OS_X/

gunni

2023-10-18 17:12

reporter   ~0000652

Hi Scorpio,
unfortunately both packages in the link doesn't work, too.
I get the same error (package is damage, and not able to open).
I own a Macbook pro with M1 Pro and run macOS Sonoma 14.0 on it.

scorpio810

2023-10-18 17:14

administrator   ~0000653

That very 's strange, you use Safari to upload it?

gunni

2023-10-18 17:17

reporter   ~0000654

yes, i use safari to download the app.
i also tried Firefox, without success.
Also it was not a solution to copy the app into the app folder.
The only difference i see is the package. The i86 vesion came as a dmg file, and the amd64 version came in a zip file?!
Maybe this helps?
Maybe there is a library missing?

gunni

2023-10-18 17:18

reporter   ~0000655

amd64 -> arm64 version.

scorpio810

2023-10-18 17:21

administrator   ~0000656

I had some problems with slow rsync sending solved by ssh ProxyCommand nc %h %p, but it 's can damage files...

scorpio810

2023-10-18 17:26

administrator   ~0000657

Last edited: 2023-10-18 17:28

If your MBP is on M1/M2 arch what can you do use the x86_64 intel package port it's emuled by roseta 2 ... please use real arm64 port packages !

gunni

2023-10-18 17:33

reporter   ~0000658

yes, sure.
I am not able to use the x86 file, but it look different then the arm64 one.
I thought they may look the same (package)?

scorpio810

2023-10-18 17:34

administrator   ~0000659

https://qelectrotech.org/forum/viewtopic.php?pid=17879#p17879

After many hours, and days to learn I couldn't sign a dmg, although codesign -dv -r- /Applications/qelectrotech.app is ok, but QET crashes...on launch or does not launch...
So I modified my scripts to package a zip tarball..

Compile, sign, zip and upload:

scorpio810

scorpio810

2023-10-19 11:54

administrator   ~0000660

Last edited: 2023-10-24 10:52

I downloaded
http://download.qelectrotech.org/qet/builds/MAC_OS_X/arm64/qelectrotech-0.100.0-r7969-arm64.zip
click on to extract, drag qelectrotech.app to /Applications and voila..

scorpio810

2023-10-19 12:32

administrator   ~0000661

Same file but downloaded with google chrome -> « qelectrotech 2.app » est endommagé et ne peut pas être ouvert. Vous devriez placer cet élément dans la Corbeille.
Chrome a téléchargé ce fichier aujourd’hui à 12:15.

gunni

2023-10-19 12:41

reporter   ~0000662

I tried chrome too, extract the file, and copy to app folder, but get the same error.
But, i am wondering about the file: The file that you downloaded with your safari is a *.app.
The file that i download is a *.zip ?!

scorpio810

2023-10-19 12:48

administrator   ~0000663

Last edited: 2023-10-20 07:05

Finder extract zip to qelectrotech.app without my intervention..
https://iboysoft.com/news/app-is-damaged-and-cannot-be-opened.html

scorpio810

2023-10-20 17:37

administrator   ~0000664

I sent a new upload and don't use ProxyCommand this time:
Please try if this version is damaged or not..
qelectrotech-0.100.0-r7973-arm64.zip
    53947548 100%  641.48kB/s    0:01:22 (xfer#1, to-check=0/4)
sent 53954334 bytes  received 48 bytes  583290.62 bytes/sec
total size is 161838640  speedup is 3.00


Before with ProxyCommand nc %h %p
qelectrotech-0.100.0-r7939-arm64.zip 58482728 100% 62.07MB/s 0:00:00 (xfer#1, to-check=2/4)
qelectrotech-0.100.0-r7940-arm64.zip 58518371 100% 24.96MB/s 0:00:02 (xfer#2, to-check=1/4)
sent 117015620 bytes received 70 bytes 12317441.05 bytes/sec
total size is 170946829 speedup is 1.46

scorpio810

2023-10-20 17:45

administrator   ~0000665

Last edited: 2023-10-30 16:21

Isn't a speed upload problem, because I use rsync command, but file download with Chrome.. Gatekeeper see file damaged.... file is the same...
Download with Safari ->

« qelectrotech.app » est une app téléchargée d’Internet. Voulez-vous vraiment l’ouvrir ?
Safari a téléchargé ce fichier aujourd’hui à 17:40. Apple a effectué une recherche de logiciels malveillants et n’en a détecté aucun.

Gatekeeper

scorpio810

2023-10-20 17:46

administrator   ~0000666

QElectroTech V 0.100.0-dev
Compilation : CLANG 14.0.0 (clang-1400.0.29.102)
Built with Qt 5.15.10 - arm64 - Date : Oct 20 2023 : 17:23:18
Git Revision : fbcab7c770d43a617dd3e70f688add56c0b36611
Run with Qt 5.15.10 using 8 thread(s)
CPU : Apple M2
RAM Total : 8 GB

GPU :
GPU RAM :
OS : darwin - arm64 - Version : macOS 14.0 - Kernel : 23.0.0
*** Qt screens ***
( 1 : 3840 x 2160 )

scorpio810

2023-10-20 20:01

administrator   ~0000667

Last edited: 2023-10-20 20:08

Compare file with shasum
Original Builded, signed and notarized file before rsync upload:

cd MAC_OS_X 
laurent@mac-mini-de-laurent MAC_OS_X % shasum qelectrotech-0.100.0-r7975-arm64.zip 
8e6a6f205d3a9099c362f7520adb696e84819594  qelectrotech-0.100.0-r7975-arm64.zip

Download with Chrome:
laurent@mac-mini-de-laurent ~ % cd Downloads 
laurent@mac-mini-de-laurent Downloads % shasum qelectrotech-0.100.0-r7975-arm64.zip
8e6a6f205d3a9099c362f7520adb696e84819594  qelectrotech-0.100.0-r7975-arm64.zip

file is the same..

now I check the notarization information from Apple’s servers attached to the application:

spctl --assess -vv --type install qelectrotech.app 
qelectrotech.app: a sealed resource is missing or invalid

Now I download the same file but with Safari:
Finder unzip the file automatically .. to qelectrotech-2.app...
I check this file:

laurent@mac-mini-de-laurent Downloads % spctl --assess -vv --type install qelectrotech-2.app 
qelectrotech-2.app: accepted
source=Notarized Developer ID
origin=Developer ID Application: Laurent TRINQUES (Y73WZ6WZ5X)

Issue History

Date Modified Username Field Change
2023-10-13 12:11 gunni New Issue
2023-10-13 12:11 gunni Tag Attached: osx
2023-10-13 12:11 gunni Tag Attached: start
2023-10-13 14:47 scorpio810 Note Added: 0000650
2023-10-18 16:55 scorpio810 Note Added: 0000651
2023-10-18 17:12 gunni Note Added: 0000652
2023-10-18 17:14 scorpio810 Note Added: 0000653
2023-10-18 17:17 gunni Note Added: 0000654
2023-10-18 17:18 gunni Note Added: 0000655
2023-10-18 17:21 scorpio810 Note Added: 0000656
2023-10-18 17:26 scorpio810 Note Added: 0000657
2023-10-18 17:28 scorpio810 Note Edited: 0000657
2023-10-18 17:33 gunni Note Added: 0000658
2023-10-18 17:34 scorpio810 Note Added: 0000659
2023-10-19 11:54 scorpio810 Note Added: 0000660
2023-10-19 12:02 scorpio810 Note Edited: 0000660
2023-10-19 12:32 scorpio810 Note Added: 0000661
2023-10-19 12:41 gunni Note Added: 0000662
2023-10-19 12:41 gunni File Added: Bildschirmfoto 2023-10-19 um 12.35.26.png
2023-10-19 12:48 scorpio810 Note Added: 0000663
2023-10-20 07:05 scorpio810 Note Edited: 0000663
2023-10-20 17:37 scorpio810 Note Added: 0000664
2023-10-20 17:45 scorpio810 Note Added: 0000665
2023-10-20 17:46 scorpio810 Note Added: 0000666
2023-10-20 20:01 scorpio810 Note Added: 0000667
2023-10-20 20:03 scorpio810 Note Edited: 0000667
2023-10-20 20:04 scorpio810 Note Edited: 0000667
2023-10-20 20:07 scorpio810 Note Edited: 0000665
2023-10-20 20:08 scorpio810 Note Edited: 0000667
2023-10-24 10:52 scorpio810 Note Edited: 0000660
2023-10-30 16:21 scorpio810 Note Edited: 0000665