Page 2 of 2

Re: Menubar icon in Mac OSX Lion? Come on, the GM release o

Posted: July 16th, 2011, 4:51 am
by bobdotorg
0.6.6b1 solves both problems I was having -

Menu bar works
I can click on an nzb in the DL window instead of dragging into the nzbtoget folder

I'm running 10.7 11A511 on a mid 2010 MBP 13"

Perfect so far. I'll post any issues.

Thanks!

Re: Menubar icon in Mac OSX Lion? Come on, the GM release o

Posted: July 17th, 2011, 6:44 pm
by reposter432
Sorry if I wasn't clear. I double click on a NZB, menu icon comes up, and it downloads for maybe 10 seconds. Then the menu icon disappears and the download stops. The only thing in the "incomplete" folder is the name of the download with the __ADMIN__ folder inside.

If I open the Sabnzbd app itself, the download resumes like normal and finishes. I'll keep testing it and look at the log.

Re: Menubar icon in Mac OSX Lion? Come on, the GM release o

Posted: July 18th, 2011, 1:46 am
by shypike
Was SABnzbd already running when you clicked the first time on an NZB?
If SABnzbd is already running, any subsequent NZB click will send the file to the running instance.
I might not have tested the situation where clicking an NZB is actually the first instance launch.

Re: Menubar icon in Mac OSX Lion? Come on, the GM release o

Posted: July 18th, 2011, 11:45 am
by reposter432
SABnzb was not running previously before I double clicked the NZB.

Re: Menubar icon in Mac OSX Lion? Come on, the GM release o

Posted: July 18th, 2011, 1:17 pm
by shypike
I cannot reproduce the issue, works fine here. Both on SL and Lion.
I did have some trouble with the Open itself.
The Open-With showed multiple versions of SABnzbd which were not installed any more.
The default opened an old version from the TrashBin.
Check your association of NZB and re-assign it to the latest SABnzbd version.

Re: Menubar icon in Mac OSX Lion?

Posted: July 18th, 2011, 2:12 pm
by reposter432
Checked the Open With, that's correct. I am going to do a clean install of the program (re-input all the preferences manually) and repair permissions, then see what happens.

Re: Menubar icon in Mac OSX Lion?

Posted: July 18th, 2011, 2:33 pm
by shypike
Can you see in the log file why it stops spontaneously?

Re: Menubar icon in Mac OSX Lion?

Posted: July 18th, 2011, 3:12 pm
by reposter432
Sorry, I forgot to get the log file. I just did a successful download with no crashes. I deleted the Application Support folder from my Library and then did the install wizard. That did the trick. I had been using the SAB App Support folder from my Snow Leopard backup, so I guess that was causing issues with Lion and the new SABnzb. Thanks!

Re: Menubar icon in Mac OSX Lion?

Posted: July 21st, 2011, 8:53 am
by jlh
I think we have run into the same problem with another Python 2.6 project that tries to add a menubar to the OSX menubar. We get some objc related errors in our logs that sound similar to the problems that you had. We would be very grateful if you could share some more information on what you did to fix your application. Thanks

Re: Menubar icon in Mac OSX Lion?

Posted: July 21st, 2011, 9:30 am
by shypike
SABnzbd 0.6.5 was using ActiveState Python 2.6.
OSX SL uses Python 2.5, but OSX Lion has upgraded to Python 2.6 (and 2.7).
The Foundation/objc .so files of ActiveState 2.6 Python and Lion's Apple Python clash.
And you thought only Windows suffered from DLL hell. OSX does just as well.

In the end I solved it by switching over to Apple Python, despite it having some
serious bugs that I had to work around.
SL's Python is 2.6.1, which is rather old.
When I have moved my build environment to OSX Lion, I will base SABnzbd
on Apple Python 2.6.6 or 2.7 (which hopefully contain less bugs).

Re: Menubar icon in Mac OSX Lion?

Posted: July 22nd, 2011, 10:19 am
by jlh
Thanks so much for you help. Turns out our issue was slightly different than yours -- but you pointed us in the right direction and we were able to resolve quickly.