SABnzbd failing to launch on macOS Sonoma Beta 1

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
User avatar
sander
Release Testers
Release Testers
Posts: 9261
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd failing to launch on macOS Sonoma Beta 1

Post by sander »

Hmm, that works. And

Code: Select all

python3
from Foundation import *
kvenden
Newbie
Newbie
Posts: 11
Joined: June 6th, 2023, 6:30 pm

Re: SABnzbd failing to launch on macOS Sonoma Beta 1

Post by kvenden »

sander wrote: June 7th, 2023, 3:28 pm Hmm, that works. And

Code: Select all

python3
from Foundation import *

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>
User avatar
sander
Release Testers
Release Testers
Posts: 9261
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd failing to launch on macOS Sonoma Beta 1

Post 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?
kvenden
Newbie
Newbie
Posts: 11
Joined: June 6th, 2023, 6:30 pm

Re: SABnzbd failing to launch on macOS Sonoma Beta 1

Post 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..
User avatar
OneCD
Hero Member
Hero Member
Posts: 610
Joined: March 4th, 2017, 3:47 pm

Re: SABnzbd failing to launch on macOS Sonoma Beta 1

Post 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.
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
R1d1cule
Newbie
Newbie
Posts: 4
Joined: June 10th, 2023, 10:49 am

Re: SABnzbd failing to launch on macOS Sonoma Beta 1

Post 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.
R1d1cule
Newbie
Newbie
Posts: 4
Joined: June 10th, 2023, 10:49 am

Re: SABnzbd failing to launch on macOS Sonoma Beta 1

Post 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>
User avatar
sander
Release Testers
Release Testers
Posts: 9261
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd failing to launch on macOS Sonoma Beta 1 ... AttributeError: <FBSSceneTransitionContext>

Post by sander »

@R1d1cule please read this thread from the beginning.

So: now we have N=2 with this problem
User avatar
sander
Release Testers
Release Testers
Posts: 9261
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd failing to launch on macOS Sonoma Beta 1 ... AttributeError: <FBSSceneTransitionContext>

Post 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?
User avatar
safihre
Administrator
Administrator
Posts: 5580
Joined: April 30th, 2015, 7:35 am
Contact:

Re: SABnzbd failing to launch on macOS Sonoma Beta 1

Post by safihre »

If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
pink4me
Newbie
Newbie
Posts: 2
Joined: June 14th, 2023, 11:50 am

Re: SABnzbd failing to launch on macOS Sonoma Beta 1

Post 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.
User avatar
safihre
Administrator
Administrator
Posts: 5580
Joined: April 30th, 2015, 7:35 am
Contact:

Re: SABnzbd failing to launch on macOS Sonoma Beta 1

Post 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.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
kvenden
Newbie
Newbie
Posts: 11
Joined: June 6th, 2023, 6:30 pm

Re: SABnzbd failing to launch on macOS Sonoma Beta 1

Post by kvenden »

safihre wrote: June 15th, 2023, 4:15 am It has been patched.
You can download the patched version here:
https://github.com/sabnzbd/sabnzbd/acti ... 5266226048

Does require a Github account.
It works!! Thank you oh so very much! So happy to have this back!
pink4me
Newbie
Newbie
Posts: 2
Joined: June 14th, 2023, 11:50 am

Re: SABnzbd failing to launch on macOS Sonoma Beta 1

Post by pink4me »

It does indeed work! Thanks for the quick update.
R1d1cule
Newbie
Newbie
Posts: 4
Joined: June 10th, 2023, 10:49 am

Re: SABnzbd failing to launch on macOS Sonoma Beta 1

Post by R1d1cule »

Could we also get the binary for Apple Silicon?
Post Reply