Zed does not start from (Mac) Spotlight but `zed` runs from terminal
Check for existing issues
- [X] Completed
Describe the bug / provide steps to reproduce it
When I try to launch Zed using Spotlight it just does not open. There are no errors reported in the System log either.
When I open up a terminal it launches, but prints a variety of errors:
cd /Applications/Zed.app/Contents/MacOS
❯ ./zed
2024-02-20 16:53:01.395 zed[13036:346851] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
[2024-02-20T16:53:01-08:00 ERROR util] crates/zed/src/zed.rs:519: EOF while parsing a value at line 1 column 0
➜ ./zed
[2024-02-20T16:53:10-08:00 ERROR util] crates/zed/src/zed.rs:519: EOF while parsing a value at line 1 column 0
[2024-02-20T16:53:11-08:00 ERROR util] crates/workspace/src/workspace.rs:680: Error in set_window_bounds, exec_bound failed to execute or parse for: UPDATE
workspaces
SET
window_state = ?2,
window_x = ?3,
window_y = ?4,
window_width = ?5,
window_height = ?6,
display = ?7
WHERE
workspace_id = ?1
Caused by:
Sqlite call failed with code 8 and message: Some("attempt to write a readonly database")
Environment
Apple M1 Pro
Sonoma version 14.0
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.
No response
It sounds like it can't write the database to ~/Library/Application\ Support/Zed/db. Do you have write access to that folder? What version of Zed are you using?
You are right! I chown on that directory, but it still does not launch from Spotlight.
Version Zed 0.122.2.
What if you delete ~/Library/Application\ Support/Zed entirely and then start Zed from Spotlight?
Tried that. Same issue. Looks like there is a privacy/permissions issue. When it launched from the terminal, auto update ran and then failed to complete with this error:
[2024-02-21T11:49:23-08:00 ERROR auto_update] auto-update failed: error:failed to copy app: "rsync: failed to set times on \"/Applications/Zed.app/.\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Frameworks\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Headers\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Modules\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Resources\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/WebRTC\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/Current\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Modules\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Resources\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/_CodeSignature\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/MacOS\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Resources\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/_CodeSignature\": Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/.CodeResources.N6zAXv\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/.Info.plist.3OuZQv\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/.embedded.provisionprofile.h3yo9f\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/.WebRTC.OcQAIV\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCAudioDevice.h.lMtG0e\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCAudioDeviceModule.h.ncVZGE\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCAudioSource.h.AqbQsW\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCAudioTrack.h.EPkord\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCCVPixelBuffer.h.eeGcbd\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCCallbackLogger.h.oOxxZj\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCCameraVideoCapturer.h.1m91dd\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCCertificate.h.TzeCZS\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCCodecSpecificInfo.h.MNGSGR\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCCodecSpecificInfoH264.h.XcRdSM\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCConfiguration.h.E3AfkV\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCCryptoOptions.h.ytxQ1k\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCDataChannel.h.jW1Zvo\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCDataChannelConfiguration.h.worssv\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCDefaultVideoDecoderFactory.h.QaS12i\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCDefaultVideoEncoderFactory.h.DoBxVP\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCDesktopCapturer.h.hXF4li\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCDesktopMediaList.h.zBiie6\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCDesktopSource.h.NcVJwg\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCDispatcher.h.5pkXl0\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCDtmfSender.h.JEzwI6\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCEncodedImage.h.KRm0iB\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCFieldTrials.h.tMyHdF\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCFileLogger.h.m4jTm7\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCFileVideoCapturer.h.URplxg\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCFrameCryptor.h.YAMSF4\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCFrameCryptorKeyProvider.h.axlpqp\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCH264ProfileLevelId.h.uvISzI\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCI420Buffer.h.RTrUpg\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCIODevice.h.n5gZd3\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCIceCandidate.h.79dkh5\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCIceCandidateErrorEvent.h.tky0Mi\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCIceServer.h.1Aubtf\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCLegacyStatsReport.h.PpyMK7\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCLogging.h.93hiBJ\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCMTLNSVideoView.h.68pZpC\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCMTLVideoView.h.R9sZLg\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCMacros.h.NFmuji\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCMediaConstraints.h.Wo610A\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCMediaSource.h.K1faru\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCMediaStream.h.YuSVX5\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCMediaStreamTrack.h.658MZ1\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCMetrics.h.QaBDlR\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCMetricsSampleInfo.h.vSlXul\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCMutableI420Buffer.h.JcjMZY\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCMutableYUVPlanarBuffer.h.o8YvlI\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCNSGLVideoView.h.T1CvNA\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCNativeI420Buffer.h.VTsLWd\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCNativeMutableI420Buffer.h.oGOjVs\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCPeerConnection.h.atZMJq\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCPeerConnectionFactory.h.x78O1g\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCPeerConnectionFactoryOptions.h.2n06u0\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCRtcpParameters.h.GVn8OL\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCRtpCapabilities.h.n3AJ38\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCRtpCodecCapability.h.WnXWPe\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCRtpCodecParameters.h.SfSRyZ\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCRtpEncodingParameters.h.FXuqUP\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCRtpHeaderExtension.h.ZGT6aT\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCRtpParameters.h.HV47It\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCRtpReceiver.h.7BsTD5\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCRtpSender.h.hWQ0QD\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCRtpTransceiver.h.HJ08cX\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCSSLAdapter.h.Tu4T1e\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCSSLCertificateVerifier.h.TR6Qgf\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCSessionDescription.h.WZpBIL\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCStatisticsReport.h.QdoeDR\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCTracing.h.403F3A\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoCapturer.h.5QOvGw\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoCodecInfo.h.sBGIzA\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoDecoder.h.cVq7Y6\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoDecoderAV1.h.JIvD4l\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoDecoderFactory.h.HwdK9u\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoDecoderFactoryH264.h.OF5c0S\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoDecoderH264.h.SCWqN0\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoDecoderVP8.h.f65A3D\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoDecoderVP9.h.GaJzxI\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoEncoder.h.p04HML\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoEncoderAV1.h.EWeCws\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoEncoderFactory.h.HMK0aL\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoEncoderFactoryH264.h.YGqPMH\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoEncoderFactorySimulcast.h.jUShC0\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoEncoderH264.h.7YJwS3\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoEncoderQpThresholds.h.y3TZ6R\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoEncoderSettings.h.potNvQ\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoEncoderSimulcast.h.Tm3Md5\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoEncoderVP8.h.1vqH0w\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoEncoderVP9.h.xA3G00\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoFrame.h.xn2pSh\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoFrameBuffer.h.K44wt7\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoRenderer.h.FvQcQx\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoSource.h.XBF2iN\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoTrack.h.nKojhv\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCVideoViewShading.h.0J5cXg\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCYUVHelper.h.rhBM8E\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.RTCYUVPlanarBuffer.h.kabedL\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers/.WebRTC.h.VGz8Ah\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Modules/.module.modulemap.HM9oM5\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Resources/.Info.plist.6cOSq9\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/_CodeSignature/.CodeResources.WTG266\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/MacOS/.cli.KuHYcO\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/MacOS/.zed.rUkWVg\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/Resources/.Zed.icns.qArhfW\" failed: Operation not permitted (1)\nrsync: mkstemp \"/Applications/Zed.app/Contents/_CodeSignature/.CodeResources.LP8DDN\" failed: Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/.\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Frameworks\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Headers\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Modules\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/Resources\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Frameworks/WebRTC.framework/Versions/A/_CodeSignature\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/MacOS\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/Resources\": Operation not permitted (1)\nrsync: failed to set times on \"/Applications/Zed.app/Contents/_CodeSignature\": Operation not permitted (1)\nrsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/98ed8ad3-3356-11ee-9b53-aead88ae2785/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]\n"
That seems weird. How about you deinstall and reinstall /Applications/Zed.app and also delete that Library folder again?
Tried the whole thing again. Same errors and behaviors.
Does it work if you right-click on Zed.app when you open /Applications in Finder and select Open?
Ok.. I think we may be getting somewhere.
It fails with this modal The application “Zed” can’t be opened..
I had missed the launchd.log and here's what it says. Maybe this helps?
2024-02-23 10:20:45.761189 (gui/501/application.dev.zed.Zed.12893272.12899486) <Notice>: internal event: WILL_SPAWN, code = 0
2024-02-23 10:20:45.761197 (gui/501/application.dev.zed.Zed.12893272.12899486) <Notice>: service state: spawn scheduled
2024-02-23 10:20:45.761198 (gui/501/application.dev.zed.Zed.12893272.12899486) <Notice>: service state: spawning
2024-02-23 10:20:45.761208 <Notice>: Coalition Cache Hit: app<application.dev.zed.Zed.12893272.12899486(501)> [19995]
2024-02-23 10:20:45.761221 (gui/501/application.dev.zed.Zed.12893272.12899486) <Notice>: launching: launch job demand
2024-02-23 10:20:45.763639 (gui/501/application.dev.zed.Zed.12893272.12899486 [52129]) <Notice>: xpcproxy spawned with pid 52129
2024-02-23 10:20:45.763647 (gui/501/application.dev.zed.Zed.12893272.12899486 [52129]) <Notice>: internal event: SPAWNED, code = 0
2024-02-23 10:20:45.763649 (gui/501/application.dev.zed.Zed.12893272.12899486 [52129]) <Notice>: service state: xpcproxy
2024-02-23 10:20:45.763669 (gui/501/application.dev.zed.Zed.12893272.12899486 [52129]) <Notice>: internal event: SOURCE_ATTACH, code = 0
2024-02-23 10:20:45.843965 (gui/501/application.dev.zed.Zed.12893272.12899486 [52129]) <Notice>: xpcproxy exited due to OS_REASON_EXEC
2024-02-23 10:20:45.843978 (gui/501/application.dev.zed.Zed.12893272.12899486 [52129]) <Notice>: exited with exit reason (namespace: 9 code: 0x8) - OS_REASON_EXEC
2024-02-23 10:20:45.843981 (gui/501/application.dev.zed.Zed.12893272.12899486 [52129]) <Notice>: internal event: INIT, code = 153
2024-02-23 10:20:45.843984 (gui/501/application.dev.zed.Zed.12893272.12899486 [52129]) <Notice>: job state = spawn failed
2024-02-23 10:20:45.844005 (gui/501/application.dev.zed.Zed.12893272.12899486 [52129]) <Notice>: service state: exited
2024-02-23 10:20:45.844010 (gui/501/application.dev.zed.Zed.12893272.12899486 [52129]) <Notice>: internal event: EXITED, code = 0
2024-02-23 10:20:45.844012 (gui/501 [100016]) <Notice>: service inactive: application.dev.zed.Zed.12893272.12899486
2024-02-23 10:20:45.844015 (gui/501/application.dev.zed.Zed.12893272.12899486 [52129]) <Notice>: service state: not running
2024-02-23 10:20:45.847149 (gui/501/application.dev.zed.Zed.12893272.12899486) <Notice>: removing job: caller = runningboardd
2024-02-23 10:20:45.847156 (gui/501 [100016]) <Notice>: removing service: application.dev.zed.Zed.12893272.12899486
2024-02-23 10:20:45.847164 (gui/501/application.dev.zed.Zed.12893272.12899486) <Notice>: internal event: PETRIFIED, code = 0
2024-02-23 10:20:45.847166 (gui/501/application.dev.zed.Zed.12893272.12899486) <Notice>: job state = removed
Hmmmm, I don't know where to go from here, considering that a lot of other people use the exact same .dmg and .app without any problem. So something about your system might be off. The readonly error makes me suspicious. Does anything come to mind what's special about your setup?
Multiple-users? Non-admin user? Something like that?
Thanks for trying to help. I'll let you know if I get it to work.
Update: Zed 0.128.3 now works for me! I made no other change other than reinstall the new version.