Strange crash and refusal to restart

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • 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
methanoid
Jr. Member
Jr. Member
Posts: 66
Joined: March 7th, 2008, 6:33 am

Strange crash and refusal to restart

Post by methanoid »

Traceback (most recent call last):
  File "SABnzbd.py", line 701, in ?
    main()
  File "SABnzbd.py", line 480, in main
    init_ok = sabnzbd.initialize(pause, clean_up)
  File "/mnt/disk1/Shared/SABnzbd/sabnzbd/decorators.py", line 26, in newFunction
    return f(*args, **kw)
  File "/mnt/disk1/Shared/SABnzbd/sabnzbd/__init__.py", line 349, in initialize
    cache_limit = int(from_units(cache_limit))
  File "/mnt/disk1/Shared/SABnzbd/sabnzbd/misc.py", line 592, in from_units
    if m.group(2):
AttributeError: 'NoneType' object has no attribute 'group'


Machine barfed downloading while I was at work. It did respond to adding files to queue and to shutdown request but would not continue downloading.

The message above is what happens when I try to re-start it. Unfortunately I zapped all the logs etc (which were huge!!!) - I tried deleting all .pyc files and re-start but same message. I had this issue before and zapped the whole install and re-installed machine from scratch.

I'm running on a Linkstation Pro running Linux. Python 2.4, SAB 0.3.3.

Any ideas?
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Strange crash and refusal to restart

Post by switch »

Open up sabnzbd.ini and tell me what cache_limit is set to.

Seems like it might be set to something strange. Either just a value is fine, or notation such as 60M, 1G is fine (obviously 1gig is way to much and shouldnt be used)
methanoid
Jr. Member
Jr. Member
Posts: 66
Joined: March 7th, 2008, 6:33 am

Re: Strange crash and refusal to restart

Post by methanoid »

Oh your're good!!!  ;D  It was set in INI to "" when I had set to 55M. No idea why it had lost the setting but if I edit the INI the SAB restarts no problem!

It has re-started but says I have nothing in queue. I have 35gb download in progress with 10gb complete. If I re-add the NZB file will it resume or wipe and re-start? I'd rather not download 10gb all again!

Please use your Jedi powers and solve this one too... thanks!
  ;)
Post Reply