Page 1 of 1

building OSX release

Posted: September 8th, 2012, 3:27 am
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)

Re: building OSX release

Posted: September 8th, 2012, 3:43 am
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

Re: building OSX release

Posted: September 8th, 2012, 3:58 am
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 ?

Re: building OSX release

Posted: September 8th, 2012, 8:14 am
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.