Menubar icon in Mac OSX Lion?

Feel free to talk about anything and everything in this board.
bobdotorg
Newbie
Newbie
Posts: 1
Joined: July 16th, 2011, 4:47 am

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

Post 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!
reposter432
Newbie
Newbie
Posts: 7
Joined: July 12th, 2011, 5:11 pm

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

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post 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.
reposter432
Newbie
Newbie
Posts: 7
Joined: July 12th, 2011, 5:11 pm

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

Post by reposter432 »

SABnzb was not running previously before I double clicked the NZB.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post 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.
reposter432
Newbie
Newbie
Posts: 7
Joined: July 12th, 2011, 5:11 pm

Re: Menubar icon in Mac OSX Lion?

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Menubar icon in Mac OSX Lion?

Post by shypike »

Can you see in the log file why it stops spontaneously?
reposter432
Newbie
Newbie
Posts: 7
Joined: July 12th, 2011, 5:11 pm

Re: Menubar icon in Mac OSX Lion?

Post 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!
jlh
Newbie
Newbie
Posts: 2
Joined: July 21st, 2011, 8:44 am

Re: Menubar icon in Mac OSX Lion?

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Menubar icon in Mac OSX Lion?

Post 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).
jlh
Newbie
Newbie
Posts: 2
Joined: July 21st, 2011, 8:44 am

Re: Menubar icon in Mac OSX Lion?

Post 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.
Post Reply