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

[arm64 bundle installer] 0.5.0 artifact is 0.5.0rc0 and gives errors on macOS #165

Closed
psobolewskiPhD opened this issue Jul 12, 2024 · 14 comments

Comments

@psobolewskiPhD
Copy link
Member

This was reported in image.sc thread:
https://forum.image.sc/t/failed-error-message-after-installing-napari-v0-5-0rc0-installer-on-macos-arm64/99092?u=psobolewskiphd

The error log is here:
napari installation error.pdf

 Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: @(#)PROGRAM:Install PROJECT:Install-1000
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: @(#)PROGRAM:Installer PROJECT:Installer-1210 Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Hardware: Mac15,3 @ 0 MHz (x 8), 8192 MB RAM Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Running OS Build: macOS 14.5 (23F79)
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: _NS_SAFE_APERTURE_COMPATIBILITY_MODES=2
MOZ_APP_SILENT_START= XRE_PROFILE_LOCAL_PATH=
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env:
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env:
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env:
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env:
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env:
Users/harryakligoh/Library/Application Support/Firefox/Pending Pings
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: __CFBundleIdentifier=com.apple.installer Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: XRE_START_OFFLINE=
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: COMMAND_MODE=unix2003
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: XRE_RESTARTED_BY_PROFILE_MANAGER=
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: XRE_PROFILE_PATH=
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: XUL_APP_FILE=
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: PATH=/usr/bin:/bin:/usr/sbin:/sbin
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: DISPLAY=/private/tmp/ com.apple.launchd.oeuh1BLQJ8/org.xquartz:0
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: LOGNAME=harryakligoh
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: SSH_AUTH_SOCK=/private/tmp/ com.apple.launchd.dzi619hK0X/Listeners
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: SYSTEM_VERSION_COMPAT=0
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: MOZ_CRASHREPORTER_DATA_DIRECTORY=/ Users/harryakligoh/Library/Application Support/Firefox/Crash Reports
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: XRE_BINARY_PATH=
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: SHELL=/bin/zsh
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: MOZ_CRASHREPORTER_STRINGS_OVERRIDE=/ Applications/Firefox.app/Contents/Resources/browser/crashreporter-override.ini
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: MOZ_CRASHREPORTER_EVENTS_DIRECTORY=/ Users/harryakligoh/Library/Application Support/Firefox/Profiles/ne9kp3dh.default-release-1/crashes/events
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: MOZ_LAUNCHED_CHILD=
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: HOME=/Users/harryakligoh
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: TMPDIR=/var/folders/pp/ g121_r3j0kj09fc3g4pmc39h0000gn/T/
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: LaunchInstanceID=A18A06CE-D0B7-4CC2- B95C-0F903E4CDCD6
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Env: XPC_SERVICE_NAME=application.com.apple.installer.1152921500312120477.1152921500312120482
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]: napari-0.5.0rc0-macOS-arm64.pkg
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]:
napari-0.5.0rc0-macOS-arm64.pkg trustLevel=350
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]:
Jul 12 12:09:38 Harrys-MacBook-Pro Installer[20266]:
Jul 12 12:11:38 Harrys-MacBook-Pro Installer[20266]: ================================================================================ Jul 12 12:11:38 Harrys-MacBook-Pro Installer[20266]: User picked Standard Install
Jul 12 12:11:38 Harrys-MacBook-Pro Installer[20266]: Choices selected for installation: Jul 12 12:11:38 Harrys-MacBook-Pro Installer[20266]: Install: ""
Jul 12 12:11:38 Harrys-MacBook-Pro Installer[20266]: Install: "Install napari"
SECURITYSESSIONID=186b4 MallocNanoZone=0
USER=harryakligoh MOZ_CRASHREPORTER_RESTART_ARG_1= MOZ_CRASHREPORTER_PING_DIRECTORY=/
Env: XPC_FLAGS=0x0
napari 0.5.0rc0 Installation Log
Opened from: /Users/harryakligoh/Downloads/
Product archive /Users/harryakligoh/Downloads/
External component packages (4) trustLevel=350 Could not load resource readme: (null)

 Jul 12 12:11:38 Harrys-MacBook-Pro Installer[20266]: napari-0.5.0rc0-macOS- arm64.pkg#prepare_installation.pkg : org.napari.pkg.prepare_installation : 0.5.0rc0
Jul 12 12:11:38 Harrys-MacBook-Pro Installer[20266]:
Jul 12 12:11:38 Harrys-MacBook-Pro Installer[20266]:
arm64.pkg#shortcuts.pkg : org.napari.pkg.shortcuts : 0
Jul 12 12:11:38 Harrys-MacBook-Pro Installer[20266]:
arm64.pkg#run_installation.pkg : org.napari.pkg.run_installation : 0
Jul 12 12:11:38 Harrys-MacBook-Pro Installer[20266]: Install: "Clear the package cache"
Jul 12 12:11:38 Harrys-MacBook-Pro Installer[20266]:
arm64.pkg#cacheclean.pkg : org.napari.pkg.cacheclean : 0
Jul 12 12:11:38 Harrys-MacBook-Pro Installer[20266]: ================================================================================
Jul 12 12:11:38 Harrys-MacBook-Pro Installer[20266]: It took 0.00 seconds to summarize the package selections. Jul 12 12:11:39 Harrys-MacBook-Pro Installer[20266]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost
Jul 12 12:11:39 Harrys-MacBook-Pro Installer[20266]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/harryakligoh/Downloads/napari-0.5.0rc0-macOS- arm64.pkg#prepare_installation.pkg
Jul 12 12:11:39 Harrys-MacBook-Pro Installer[20266]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/harryakligoh/Downloads/napari-0.5.0rc0-macOS- arm64.pkg#shortcuts.pkg
Jul 12 12:11:39 Harrys-MacBook-Pro Installer[20266]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/harryakligoh/Downloads/napari-0.5.0rc0-macOS- arm64.pkg#run_installation.pkg
Jul 12 12:11:39 Harrys-MacBook-Pro Installer[20266]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/harryakligoh/Downloads/napari-0.5.0rc0-macOS- arm64.pkg#cacheclean.pkg
Jul 12 12:11:39 Harrys-MacBook-Pro Installer[20266]: Set authorization level to none for session
Jul 12 12:11:39 Harrys-MacBook-Pro Installer[20266]: Packages have been authorized for installation.
Jul 12 12:11:39 Harrys-MacBook-Pro Installer[20266]: Will use PK session
Jul 12 12:11:39 Harrys-MacBook-Pro Installer[20266]: Using authorization level of none for IFPKInstallElement Jul 12 12:11:39 Harrys-MacBook-Pro Installer[20266]: PackageKit: Bypassing the enforcement checker since the destination is read/write
Jul 12 12:11:39 Harrys-MacBook-Pro Installer[20266]: Starting installation:
Jul 12 12:11:39 Harrys-MacBook-Pro Installer[20266]: Configuring volume "Macintosh HD"
Jul 12 12:11:39 Harrys-MacBook-Pro Installer[20266]: Preparing disk for local booted install.
Jul 12 12:11:39 Harrys-MacBook-Pro Installer[20266]: Free space on "Macintosh HD": 358.57 GB (358568865792 bytes).
Jul 12 12:11:39 Harrys-MacBook-Pro Installer[20266]: Create temporary directory "/var/folders/pp/ g121_r3j0kj09fc3g4pmc39h0000gn/T//Install.20266oXzeTu"
Jul 12 12:11:39 Harrys-MacBook-Pro Installer[20266]: IFPKInstallElement (4 packages)
Jul 12 12:11:39 Harrys-MacBook-Pro Installer[20266]: Current Path: /System/Library/CoreServices/Installer.app/ Contents/MacOS/Installer
Jul 12 12:11:39 Harrys-MacBook-Pro installd[20285]: installd: Starting
Jul 12 12:11:39 Harrys-MacBook-Pro installd[20285]: installd: uid=501, euid=501
Jul 12 12:11:39 Harrys-MacBook-Pro installd[20285]: PackageKit: Adding client PKInstallDaemonClient pid=20266, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
Jul 12 12:11:39 Harrys-MacBook-Pro Installer[20266]: PackageKit: Enqueuing install with framework-specified quality of service (utility)
Jul 12 12:11:39 Harrys-MacBook-Pro installd[20285]: PackageKit: Set reponsibility for install to 20266
Jul 12 12:11:39 Harrys-MacBook-Pro installd[20285]: PackageKit: Hosted team responsibility for install set to team:(7WAT66VT96)
Jul 12 12:11:39 Harrys-MacBook-Pro installd[20285]: PackageKit: ----- Begin install -----
Jul 12 12:11:39 Harrys-MacBook-Pro installd[20285]: PackageKit: request=PKInstallRequest <4 packages, destination=/Users/harryakligoh>
Jul 12 12:11:39 Harrys-MacBook-Pro installd[20285]: PackageKit: packages=(
"PKLeopardPackage <id=org.napari.pkg.prepare_installation, version=0.5.0rc0, url=file:///Users/ harryakligoh/Downloads/napari-0.5.0rc0-macOS-arm64.pkg#prepare_installation.pkg>",
Install: "Create shortcuts" napari-0.5.0rc0-macOS-
napari-0.5.0rc0-macOS-
napari-0.5.0rc0-macOS-

 "PKLeopardPackage <id=org.napari.pkg.shortcuts, version=0, url=file:///Users/harryakligoh/Downloads/ napari-0.5.0rc0-macOS-arm64.pkg#shortcuts.pkg>",
"PKLeopardPackage <id=org.napari.pkg.run_installation, version=0, url=file:///Users/harryakligoh/ Downloads/napari-0.5.0rc0-macOS-arm64.pkg#run_installation.pkg>",
"PKLeopardPackage <id=org.napari.pkg.cacheclean, version=0, url=file:///Users/harryakligoh/Downloads/ napari-0.5.0rc0-macOS-arm64.pkg#cacheclean.pkg>"
)
Jul 12 12:11:39 Harrys-MacBook-Pro installd[20285]: PackageKit: Extracting file:///Users/harryakligoh/ Downloads/napari-0.5.0rc0-macOS-arm64.pkg#prepare_installation.pkg (destination=/var/folders/pp/ g121_r3j0kj09fc3g4pmc39h0000gn/C/PKInstallSandboxManager/CB271DD6- BEDA-40DC-969F-373A1771B699.activeSandbox/Root/Library, uid=501)
Jul 12 12:11:40 Harrys-MacBook-Pro installd[20285]: PackageKit: Extracting file:///Users/harryakligoh/ Downloads/napari-0.5.0rc0-macOS-arm64.pkg#shortcuts.pkg (destination=/var/folders/pp/ g121_r3j0kj09fc3g4pmc39h0000gn/C/PKInstallSandboxManager/CB271DD6- BEDA-40DC-969F-373A1771B699.activeSandbox/Root/Library, uid=501)
Jul 12 12:11:40 Harrys-MacBook-Pro installd[20285]: PackageKit: Extracting file:///Users/harryakligoh/ Downloads/napari-0.5.0rc0-macOS-arm64.pkg#run_installation.pkg (destination=/var/folders/pp/ g121_r3j0kj09fc3g4pmc39h0000gn/C/PKInstallSandboxManager/CB271DD6- BEDA-40DC-969F-373A1771B699.activeSandbox/Root/Library, uid=501)
Jul 12 12:11:40 Harrys-MacBook-Pro installd[20285]: PackageKit: Extracting file:///Users/harryakligoh/ Downloads/napari-0.5.0rc0-macOS-arm64.pkg#cacheclean.pkg (destination=/var/folders/pp/ g121_r3j0kj09fc3g4pmc39h0000gn/C/PKInstallSandboxManager/CB271DD6- BEDA-40DC-969F-373A1771B699.activeSandbox/Root/Library, uid=501)
Jul 12 12:11:40 Harrys-MacBook-Pro installd[20285]: PackageKit: prevent user idle system sleep
Jul 12 12:11:40 Harrys-MacBook-Pro installd[20285]: PackageKit: suspending backupd
Jul 12 12:11:40 Harrys-MacBook-Pro installd[20285]: PackageKit (package_script_service): Preparing to execute script "./preinstall" in /private/tmp/PKInstallSandbox.eAEQ6t/Scripts/org.napari.pkg.prepare_installation.ysj8Qc Jul 12 12:11:40 Harrys-MacBook-Pro package_script_service[20286]: PackageKit: Preparing to execute script "preinstall" in /tmp/PKInstallSandbox.eAEQ6t/Scripts/org.napari.pkg.prepare_installation.ysj8Qc
Jul 12 12:11:40 Harrys-MacBook-Pro package_script_service[20286]: Set responsibility to pid: 20266, responsible_path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer
Jul 12 12:11:40 Harrys-MacBook-Pro package_script_service[20286]: Hosted team responsibility for script set to team:(7WAT66VT96)
Jul 12 12:11:40 Harrys-MacBook-Pro package_script_service[20286]: PackageKit: Executing script "preinstall"
in /tmp/PKInstallSandbox.eAEQ6t/Scripts/org.napari.pkg.prepare_installation.ysj8Qc
Jul 12 12:11:41 Harrys-MacBook-Pro package_script_service[20286]: ./preinstall: PREFIX=/Users/harryakligoh/ Library/napari-0.5.0rc0
Jul 12 12:11:41 Harrys-MacBook-Pro package_script_service[20286]: PackageKit: Hosted team responsible for script has been cleared.
Jul 12 12:11:41 Harrys-MacBook-Pro package_script_service[20286]: Responsibility set back to self.
Jul 12 12:11:41 Harrys-MacBook-Pro installd[20285]: PackageKit: Using trashcan path /var/folders/pp/ g121_r3j0kj09fc3g4pmc39h0000gn/T/PKInstallSandboxTrash/CB271DD6- BEDA-40DC-969F-373A1771B699.sandboxTrash for sandbox /var/folders/pp/ g121_r3j0kj09fc3g4pmc39h0000gn/C/PKInstallSandboxManager/CB271DD6- BEDA-40DC-969F-373A1771B699.activeSandbox
Jul 12 12:11:41 Harrys-MacBook-Pro installd[20285]: PackageKit: Shoving /var/folders/pp/ g121_r3j0kj09fc3g4pmc39h0000gn/C/PKInstallSandboxManager/CB271DD6- BEDA-40DC-969F-373A1771B699.activeSandbox/Root (1 items) to /Users/harryakligoh
Jul 12 12:11:41 Harrys-MacBook-Pro installd[20285]: PackageKit (package_script_service): Preparing to execute script "./postinstall" in /private/tmp/PKInstallSandbox.eAEQ6t/Scripts/org.napari.pkg.prepare_installation.ysj8Qc Jul 12 12:11:41 Harrys-MacBook-Pro package_script_service[20286]: PackageKit: Preparing to execute script "postinstall" in /tmp/PKInstallSandbox.eAEQ6t/Scripts/org.napari.pkg.prepare_installation.ysj8Qc
Jul 12 12:11:41 Harrys-MacBook-Pro package_script_service[20286]: Set responsibility to pid: 20266, responsible_path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer
Jul 12 12:11:41 Harrys-MacBook-Pro package_script_service[20286]: Hosted team responsibility for script set to team:(7WAT66VT96)
Jul 12 12:11:41 Harrys-MacBook-Pro package_script_service[20286]: PackageKit: Executing script "postinstall" in /tmp/PKInstallSandbox.eAEQ6t/Scripts/org.napari.pkg.prepare_installation.ysj8Qc

 Jul 12 12:11:41 Harrys-MacBook-Pro package_script_service[20286]: ./postinstall: PREFIX=/Users/harryakligoh/ Library/napari-0.5.0rc0
Jul 12 12:11:43 Harrys-MacBook-Pro harryakligoh[20297]: Preparing packages...
Jul 12 12:11:59 Harrys-MacBook-Pro package_script_service[20286]: PackageKit: Hosted team responsible for script has been cleared.
Jul 12 12:11:59 Harrys-MacBook-Pro package_script_service[20286]: Responsibility set back to self.
Jul 12 12:11:59 Harrys-MacBook-Pro installd[20285]: PackageKit (package_script_service): Preparing to execute script "./postinstall" in /private/tmp/PKInstallSandbox.eAEQ6t/Scripts/org.napari.pkg.shortcuts.pADFQX
Jul 12 12:11:59 Harrys-MacBook-Pro package_script_service[20286]: PackageKit: Preparing to execute script "postinstall" in /tmp/PKInstallSandbox.eAEQ6t/Scripts/org.napari.pkg.shortcuts.pADFQX
Jul 12 12:11:59 Harrys-MacBook-Pro package_script_service[20286]: Set responsibility to pid: 20266, responsible_path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer
Jul 12 12:11:59 Harrys-MacBook-Pro package_script_service[20286]: Hosted team responsibility for script set to team:(7WAT66VT96)
Jul 12 12:11:59 Harrys-MacBook-Pro package_script_service[20286]: PackageKit: Executing script "postinstall" in /tmp/PKInstallSandbox.eAEQ6t/Scripts/org.napari.pkg.shortcuts.pADFQX
Jul 12 12:11:59 Harrys-MacBook-Pro package_script_service[20286]: ./postinstall: + PREFIX=/Users/ harryakligoh/Library/napari-0.5.0rc0
Jul 12 12:11:59 Harrys-MacBook-Pro package_script_service[20286]: ./postinstall: ++ cd /Users/harryakligoh/ Library/napari-0.5.0rc0
Jul 12 12:11:59 Harrys-MacBook-Pro package_script_service[20286]: ./postinstall: ++ pwd
Jul 12 12:11:59 Harrys-MacBook-Pro package_script_service[20286]: ./postinstall: + PREFIX=/Users/ harryakligoh/Library/napari-0.5.0rc0
Jul 12 12:11:59 Harrys-MacBook-Pro package_script_service[20286]: ./postinstall: + touch /Users/harryakligoh/ Library/napari-0.5.0rc0/pkgs/user_wants_shortcuts
Jul 12 12:11:59 Harrys-MacBook-Pro package_script_service[20286]: PackageKit: Hosted team responsible for script has been cleared.
Jul 12 12:11:59 Harrys-MacBook-Pro package_script_service[20286]: Responsibility set back to self.
Jul 12 12:11:59 Harrys-MacBook-Pro installd[20285]: PackageKit (package_script_service): Preparing to execute script "./postinstall" in /private/tmp/PKInstallSandbox.eAEQ6t/Scripts/org.napari.pkg.run_installation.9v87uV
Jul 12 12:11:59 Harrys-MacBook-Pro package_script_service[20286]: PackageKit: Preparing to execute script "postinstall" in /tmp/PKInstallSandbox.eAEQ6t/Scripts/org.napari.pkg.run_installation.9v87uV
Jul 12 12:11:59 Harrys-MacBook-Pro package_script_service[20286]: Set responsibility to pid: 20266, responsible_path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer
Jul 12 12:11:59 Harrys-MacBook-Pro package_script_service[20286]: Hosted team responsibility for script set to team:(7WAT66VT96)
Jul 12 12:11:59 Harrys-MacBook-Pro package_script_service[20286]: PackageKit: Executing script "postinstall" in /tmp/PKInstallSandbox.eAEQ6t/Scripts/org.napari.pkg.run_installation.9v87uV
Jul 12 12:11:59 Harrys-MacBook-Pro package_script_service[20286]: ./postinstall: PREFIX=/Users/harryakligoh/ Library/napari-0.5.0rc0
Jul 12 12:11:59 Harrys-MacBook-Pro harryakligoh[20331]: Installing packages. This might take a few minutes. Jul 12 12:12:10 Harrys-MacBook-Pro package_script_service[20286]: ./postinstall: Downloading and Extracting Packages: ...working... done
Jul 12 12:12:10 Harrys-MacBook-Pro package_script_service[20286]: ./postinstall: Downloading and Extracting Packages: ...working... done
Jul 12 12:12:10 Harrys-MacBook-Pro package_script_service[20286]: ./postinstall: Preparing
transaction: ...working... done
Jul 12 12:12:19 Harrys-MacBook-Pro package_script_service[20286]: ./postinstall: Executing
transaction: ...working... done
Jul 12 12:12:19 Harrys-MacBook-Pro harryakligoh[20570]: Installing napari-0.5.0rc0 packages...
Jul 12 12:12:30 Harrys-MacBook-Pro package_script_service[20286]: ./postinstall: Downloading and Extracting Packages: ...working... done
Jul 12 12:12:30 Harrys-MacBook-Pro package_script_service[20286]: ./postinstall: Downloading and Extracting Packages: ...working... done
Jul 12 12:12:31 Harrys-MacBook-Pro package_script_service[20286]: ./postinstall: Preparing
transaction: ...working... done
Jul 12 12:12:56 Harrys-MacBook-Pro package_script_service[20286]: ./postinstall: Executing
transaction: ...working... done

 Jul 12 12:12:56 Harrys-MacBook-Pro package_script_service[20286]: ./postinstall: Python 3.9.19
Jul 12 12:13:01 Harrys-MacBook-Pro package_script_service[20286]: ./postinstall: chown: /Users/ harryakligoh/.conda: No such file or directory
Jul 12 12:13:01 Harrys-MacBook-Pro package_script_service[20286]: PackageKit: Hosted team responsible for script has been cleared.
Jul 12 12:13:01 Harrys-MacBook-Pro package_script_service[20286]: Responsibility set back to self.
Jul 12 12:13:01 Harrys-MacBook-Pro installd[20285]: PackageKit: releasing backupd
Jul 12 12:13:01 Harrys-MacBook-Pro installd[20285]: PackageKit: allow user idle system sleep
Jul 12 12:13:01 Harrys-MacBook-Pro installd[20285]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “napari-0.5.0rc0-macOS-arm64.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file:///Users/harryakligoh/ Downloads/napari-0.5.0rc0-macOS-arm64.pkg#run_installation.pkg, PKInstallPackageIdentifier=org.napari.pkg.run_installation, NSLocalizedDescription=An error occurred while running scripts from the package “napari-0.5.0rc0-macOS-arm64.pkg”.} {
NSFilePath = "./postinstall";
NSLocalizedDescription = "An error occurred while running scripts from the package \U201cnapari-0.5.0rc0-macOS-arm64.pkg\U201d.";
NSURL = "file:///Users/harryakligoh/Downloads/napari-0.5.0rc0-macOS-arm64.pkg#run_installation.pkg";
PKInstallPackageIdentifier = "org.napari.pkg.run_installation"; }
Jul 12 12:13:01 Harrys-MacBook-Pro installd[20285]: PackageKit: Cleared responsibility for install from 20266. Jul 12 12:13:01 Harrys-MacBook-Pro installd[20285]: PackageKit: Cleared permissions on Installer.app
Jul 12 12:13:01 Harrys-MacBook-Pro installd[20285]: PackageKit: Hosted team responsible for install has been cleared.
Jul 12 12:13:01 Harrys-MacBook-Pro installd[20285]: PackageKit: Removing client PKInstallDaemonClient pid=20266, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
Jul 12 12:13:01 Harrys-MacBook-Pro Installer[20266]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “napari-0.5.0rc0-macOS-arm64.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file:///Users/harryakligoh/ Downloads/napari-0.5.0rc0-macOS-arm64.pkg#run_installation.pkg, PKInstallPackageIdentifier=org.napari.pkg.run_installation, NSLocalizedDescription=An error occurred while running scripts from the package “napari-0.5.0rc0-macOS-arm64.pkg”.}
Jul 12 12:13:01 Harrys-MacBook-Pro Installer[20266]: PackageKit: Bypassing the enforcement checker since the destination is read/write
Jul 12 12:13:01 Harrys-MacBook-Pro Installer[20266]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Jul 12 12:13:01 Harrys-MacBook-Pro Installer[20266]: IFDInstallController 41286750 state = 8
Jul 12 12:13:01 Harrys-MacBook-Pro Installer[20266]: Displaying 'Install Failed' UI.
Jul 12 12:13:01 Harrys-MacBook-Pro Installer[20266]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.

@jaimergp
Copy link
Collaborator

./postinstall: chown: /Users/ harryakligoh/.conda: No such file or directory

Hm, I wonder if this is a constructor bug. But for now they can work around it by running mkdir ~/.conda. Not sure why we (napari) need that, but I'll look into it.

@jaimergp
Copy link
Collaborator

Submitted fix at conda/constructor#820. We didn't see this in CI because we were already using conda to provision the constructor stack itself, which ensured ~/.conda existed.

@jaimergp
Copy link
Collaborator

jaimergp commented Jul 13, 2024

The macOS installers rebuilt with 3.8.1 are now available at https://github.com/napari/napari/releases/tag/v0.5.0. They still say 0.5.0rc0 but it's literally the same source. This is probably caused by pypa/setuptools-scm#521.

@Czaki
Copy link

Czaki commented Jul 13, 2024

But we have dropped python 3.8 support. Bundles should be build using at least python 3.9.

@jaimergp
Copy link
Collaborator

3.8.1 as in constructor 3.8.1, not Python. We are using 3.9 across all OS.

@psobolewskiPhD
Copy link
Member Author

psobolewskiPhD commented Jul 13, 2024

The 0.5.0rc0 still persists and breaks the links in the quick install guide:
https://napari.org/stable/tutorials/fundamentals/quick_start.html#installation
The new asset appears to be live:
image

(I can't test because I don't have admin on this laptop, I will try on personal one later-ish)

@jaimergp
Copy link
Collaborator

I don't get it. If I run the workflow on dispatch for v0.5.0, I do get napari=0.5.0 (no rc). See here.

Is GHA sending the wrong reference? 🤔

@Czaki
Copy link

Czaki commented Jul 15, 2024

I do not see where event is propagated https://github.com/napari/napari/blob/main/.github/workflows/make_bundle_conda.yml

Maybe this workflow needs to be improved?

@jaimergp
Copy link
Collaborator

The propagation is implicit via workflow_call. From the docs:

If you reuse a workflow from a different repository, any actions in the called workflow run as if they were part of the caller workflow. For example, if the called workflow uses actions/checkout, the action checks out the contents of the repository that hosts the caller workflow, not the called workflow.

@jaimergp
Copy link
Collaborator

Here, checking the same commit directly, correctly detects 0.5.0 too.

@jaimergp
Copy link
Collaborator

Committed a fix that would extra tags in a single commit, only keeping the latest one. Let's see if that helps.

@jaimergp
Copy link
Collaborator

Interesting! In napari/packaging the latest tag is v0.5.0, but in napari/napari, it gives v0.5.0rc. That would explain why we observe that difference... I'm going to need to parse the version, I think?

@jaimergp
Copy link
Collaborator

Ok, that last change fixed it:

Successfully installed napari-0.5.0

@jaimergp
Copy link
Collaborator

0.5.0 installers are up: https://github.com/napari/napari/releases/tag/v0.5.0

I'll let someone from SC delete the 0.5.0rc artifacts from that release.

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

No branches or pull requests

3 participants