building OSX release

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • 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.
Post Reply
spaham
Newbie
Newbie
Posts: 4
Joined: September 3rd, 2012, 6:47 am

building OSX release

Post by spaham »

Hi !

I'm an old sabnzbd user but quite new at using it from sources.
I can't seem to find any info on how to build a complete osx release by myself.
I checked the sources and I don't see any script that outputs an app.
Could someone please point me to any help on that topic ?
(I can already run from the sources, through python, but that's not what I'm looking for :) )

thanks !

(PS running on mountain lion and sabnzb 0.7.x hangs quite often, I'd really like to do some debugging to see what's wrong)
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: building OSX release

Post by shypike »

Building requires a specific OX setup, our little secret sauce :)
Debugging is much easier when using sources, but you do need a capable debugger (we use WingIDE).
I have never seen much instability when testing SABnzbd on OSX.
One tip I do get from some other users is that running in 32bit mode is better.
When running from sources you have to set this environment variable:
export VERSIONER_PYTHON_PREFER_32_BIT=yes
spaham
Newbie
Newbie
Posts: 4
Joined: September 3rd, 2012, 6:47 am

Re: building OSX release

Post by spaham »

Thanks for the quick reply !
I've had problems since I installed mountain lion.
I've just started testing with the 32 bit mode, I'll see if it helps.
I had the log set to debug but I didn't see anything specific.
taking a 'sample' showed that python was waiting on _select() but I couldn't get anything more specific on the actual python function being run.
Do you know any good python debugger on osx ?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: building OSX release

Post by shypike »

It's mostly waiting in "select" for data to arrive from the Usenet servers.
WingIDE is a very capable debugger/editor. You can try it for 10 days before needing to buy it.
An alternative would be the free winpdb, but that takes a bit more work to setup
and I have never tried it on OSX.
Post Reply