SVN 2777: Mac OS X 10.6 Snow Leopard error

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
oh
Release Testers
Release Testers
Posts: 6
Joined: July 2nd, 2009, 4:07 pm

SVN 2777: Mac OS X 10.6 Snow Leopard error

Post by oh »

Hey,

when I try to launch the latest SVN (2777), I'm getting this error:

AttributeError: 'module' object has no attribute 'TickCount'

Hope this helps development.
Another problem: The MenuBar tool you introduced in some SVN version, that ran fine in 10.5, doesn't show up in 10.6.
rAf
Moderator
Moderator
Posts: 546
Joined: April 28th, 2008, 2:35 pm
Location: France
Contact:

Re: SVN 2777: Mac OS X 10.6 Snow Leopard error

Post by rAf »

You have this error but SABnzbd should start, no ?
From sources, menu is not available, you have to use binary version.

Thanks for reporting.
oh
Release Testers
Release Testers
Posts: 6
Joined: July 2nd, 2009, 4:07 pm

Re: SVN 2777: Mac OS X 10.6 Snow Leopard error

Post by oh »

No, it just gives this error in the new Snow Leopard error window and I have to click Terminate.
I didn't run it from sources, I compiled it with "python package.py app" and an earlier build that I'm currently running in 10.6 shows the menu, but only in 10.5 not in 10.6.
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: SVN 2777: Mac OS X 10.6 Snow Leopard error

Post by switch »

There should be more to the error message, could you post it in full please.
oh
Release Testers
Release Testers
Posts: 6
Joined: July 2nd, 2009, 4:07 pm

Re: SVN 2777: Mac OS X 10.6 Snow Leopard error

Post by oh »

I just compiled Build 2780 and the error still persists, this is what Console.app says:

Code: Select all

9/12/09 1:34:45 PM	[0x0-0x34034].org.pythonmac.unspecified.SABnzbd[685]	Traceback (most recent call last):
9/12/09 1:34:45 PM	[0x0-0x34034].org.pythonmac.unspecified.SABnzbd[685]	  File "/Users/chisseri/Desktop/SABnzbd.app/Contents/Resources/__boot__.py", line 103, in <module>
9/12/09 1:34:45 PM	[0x0-0x34034].org.pythonmac.unspecified.SABnzbd[685]	    _argv_emulation()
9/12/09 1:34:45 PM	[0x0-0x34034].org.pythonmac.unspecified.SABnzbd[685]	  File "/Users/chisseri/Desktop/SABnzbd.app/Contents/Resources/__boot__.py", line 101, in _argv_emulation
9/12/09 1:34:45 PM	[0x0-0x34034].org.pythonmac.unspecified.SABnzbd[685]	    _get_argvemulator().mainloop()
9/12/09 1:34:45 PM	[0x0-0x34034].org.pythonmac.unspecified.SABnzbd[685]	  File "/Users/chisseri/Desktop/SABnzbd.app/Contents/Resources/__boot__.py", line 40, in mainloop
9/12/09 1:34:45 PM	[0x0-0x34034].org.pythonmac.unspecified.SABnzbd[685]	    stoptime = Evt.TickCount() + timeout
9/12/09 1:34:45 PM	[0x0-0x34034].org.pythonmac.unspecified.SABnzbd[685]	AttributeError: 'module' object has no attribute 'TickCount'
9/12/09 1:34:45 PM	SABnzbd[685]	SABnzbd+ Error
9/12/09 1:34:45 PM	SABnzbd[685]	SABnzbd+ Error
An unexpected error has occurred during execution of the main script

AttributeError: 'module' object has no attribute 'TickCount'
9/12/09 1:34:47 PM	com.apple.launchd.peruser.502[470]	([0x0-0x34034].org.pythonmac.unspecified.SABnzbd[685]) Exited with exit code: 255
All on 10.6.1...

Another point:

The older SVN build (September 2nd) I was talking about earlier, throws this message in the Console.app when I try to quit it via "Shutdown":

Code: Select all

9/12/09 1:33:28 PM	SABnzbd[506]	SABnzbd+ Error
9/12/09 1:33:28 PM	SABnzbd[506]	SABnzbd+ Error
An unexpected error has occurred during execution of the main script

NameError: global name 'AppHelper' is not defined
9/12/09 1:33:31 PM	com.apple.launchd.peruser.502[470]	([0x0-0x10010].org.pythonmac.unspecified.SABnzbd[506]) Exited with exit code: 255
Otherwise, this one runs perfectly except the missing menu bar addon.
Last edited by oh on September 12th, 2009, 6:45 am, edited 1 time in total.
oh
Release Testers
Release Testers
Posts: 6
Joined: July 2nd, 2009, 4:07 pm

Re: SVN 2777: Mac OS X 10.6 Snow Leopard error

Post by oh »

Running from source works, but the compiled version has some (cosmetic) advantages.
It shows up as a normal application and can be simply launched on startup.
And it offers the menubar icon.
rAf
Moderator
Moderator
Posts: 546
Joined: April 28th, 2008, 2:35 pm
Location: France
Contact:

Re: SVN 2777: Mac OS X 10.6 Snow Leopard error

Post by rAf »

I've found what's causing your troubles, but I have to test on 10.4 and 10.5 to see if it doesn't broke anything else.
Stay tuned...
rAf
Moderator
Moderator
Posts: 546
Joined: April 28th, 2008, 2:35 pm
Location: France
Contact:

Re: SVN 2777: Mac OS X 10.6 Snow Leopard error

Post by rAf »

I have some troubles with snow leopard.

Here a way to use last svn revision with app.

- Download this script and unzip it
- Copy script in SABnzbd.app/Contents/Resources folder
- Launch in terminal

Code: Select all

/Applications/SABnzbd.app/Contents/Resources/update
You should have a result like that :

Code: Select all

1/5 > Dir : /Applications/SABnzbd.app/Contents/Resources

2/5 > Exporting last svn revision...
	done.

3/5 > Cleaning up for OSX binary...
	done.

4/5 > Installing update...
	done.

5/5 > Update to rev 2785 finished - Don't forget to restart SABnzbd !

if you have any problem http://forums.sabnzbd.org
Don't forget to restart SABnzbd to apply changes !
This script will not work for 0.4.x version, it's only for 0.5.x based on last alpha.
Post Reply