Page 1 of 1

Strange crash and refusal to restart

Posted: March 17th, 2008, 1:17 pm
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?

Re: Strange crash and refusal to restart

Posted: March 17th, 2008, 1:26 pm
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)

Re: Strange crash and refusal to restart

Posted: March 17th, 2008, 2:20 pm
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!
  ;)