Page 2 of 3
Re: SABnzbd failing to launch on macOS Sonoma Beta 1
Posted: June 7th, 2023, 3:28 pm
by sander
Re: SABnzbd failing to launch on macOS Sonoma Beta 1
Posted: June 7th, 2023, 8:32 pm
by kvenden
sander wrote: ↑June 7th, 2023, 3:28 pm
Hmm, that works. And
Code: Select all
>>> from Foundation import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/objc/_lazyimport.py", line 181, in __getattr__
raise AttributeError(name)
AttributeError: <FBSSceneTransitionContext>
Re: SABnzbd failing to launch on macOS Sonoma Beta 1
Posted: June 7th, 2023, 8:48 pm
by sander
Ah! So we have reduced it to the python module Foundation. Not a bug in SABnzbd itself.
I have no idea what "Foundation" is. Something MacOS specific, AFAIK. Are you able to update Foundation?
And th error is related to "objc/_lazyimport.py" ... so something with Objective-C ?
Finally: could be a problem with Sonoma, but also with your setup?
Re: SABnzbd failing to launch on macOS Sonoma Beta 1
Posted: June 7th, 2023, 9:19 pm
by kvenden
sander wrote: ↑June 7th, 2023, 8:48 pm
Ah! So we have reduced it to the python module Foundation. Not a bug in SABnzbd itself.
I have no idea what "Foundation" is. Something MacOS specific, AFAIK. Are you able to update Foundation?
And th error is related to "objc/_lazyimport.py" ... so something with Objective-C ?
Finally: could be a problem with Sonoma, but also with your setup?
Glad to hear it's not SABnzbd.

I'm gonna go with Sonoma beta 1 as my setup has always worked perfectly up until upgrading to Sonoma beta 1 from Ventura. Here's to hoping beta 2 resolves it. I'm not sure how to update Foundation..
Re: SABnzbd failing to launch on macOS Sonoma Beta 1
Posted: June 7th, 2023, 9:34 pm
by OneCD
Found mention of that module here from a few years ago:
https://github.com/JaviSoto/iOS10-Runti ... eneEvent.h
Sure looks like an Apple issue.
Re: SABnzbd failing to launch on macOS Sonoma Beta 1
Posted: June 10th, 2023, 11:24 am
by R1d1cule
I can't help but think that there's some permissions issue that we're running into with the package installer?
I had SABnzbd 4.0.1 installed before updating to Sonoma dev beta 1 - it ran fine after I upgraded (but, then I tried to update to 4.0.2 and that's when it broke.
(and, of course, I don't have a Time Machine backup that I can restore).
SABnzbd launches, but then crashes.
Re: SABnzbd failing to launch on macOS Sonoma Beta 1
Posted: June 10th, 2023, 1:10 pm
by R1d1cule
Tried updating my Python to the latest beta (3120b2). Also installed the command line tools for Xcode 15 beta.
Still no luck.
When I try to execute the SABnzbd executable at shell, I get:
Ok, I can't actually paste in what I'm getting as this site thinks I'm trying to post links?!
[2269] Failed to execute script 'SABnzbd' due to unhandled exception: <FBSSceneTransitionContext>
There are a number of File references here I'm unable to paste in.
AttributeError: <FBSSceneTransitionContext>
Re: SABnzbd failing to launch on macOS Sonoma Beta 1 ... AttributeError: <FBSSceneTransitionContext>
Posted: June 11th, 2023, 12:58 am
by sander
@R1d1cule please read this thread from the beginning.
So: now we have N=2 with this problem
Re: SABnzbd failing to launch on macOS Sonoma Beta 1 ... AttributeError: <FBSSceneTransitionContext>
Posted: June 11th, 2023, 1:56 am
by sander
I'm not sure, but the Foundation python module might be provided by pyobjc.
You could ask on
https://github.com/ronaldoussoren/pyobjc/issues about "from Foundation import *" problem?
Re: SABnzbd failing to launch on macOS Sonoma Beta 1
Posted: June 12th, 2023, 7:26 am
by safihre
Re: SABnzbd failing to launch on macOS Sonoma Beta 1
Posted: June 14th, 2023, 11:53 am
by pink4me
I'm having this same issue, too. But mine broke first and that was why I tried to update to 4.0.2. Which of course, didn't fix the issue. I think it was working fine just after updating to Sonoma B1. But broke sometime after.
Re: SABnzbd failing to launch on macOS Sonoma Beta 1
Posted: June 15th, 2023, 4:15 am
by safihre
It has been patched.
You can download the patched version here:
https://github.com/sabnzbd/sabnzbd/acti ... 5266226048
Does require a Github account.
Re: SABnzbd failing to launch on macOS Sonoma Beta 1
Posted: June 17th, 2023, 11:29 am
by kvenden
It works!! Thank you oh so very much! So happy to have this back!
Re: SABnzbd failing to launch on macOS Sonoma Beta 1
Posted: June 17th, 2023, 1:04 pm
by pink4me
It does indeed work! Thanks for the quick update.
Re: SABnzbd failing to launch on macOS Sonoma Beta 1
Posted: June 22nd, 2023, 6:22 pm
by R1d1cule
Could we also get the binary for Apple Silicon?