0.7.0Beta3 crashes

Support for the Debian/Ubuntu package, created by JCFP.
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
newk
Newbie
Newbie
Posts: 12
Joined: April 30th, 2012, 10:08 am

0.7.0Beta3 crashes

Post by newk »

Hello!

I'm having some problem with this awesome application.
I THINK it started after I upgraded to beta3 but I'm not 100% sure.

This is what is happening. And after that it just restarts itself over and over.

Code: Select all

2012-04-30 17:05:49,407::INFO::[downloader:375] [email protected]:563: Initiating connection
2012-04-30 17:05:49,407::INFO::[downloader:375] [email protected]:563: Initiating connection
Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/usr/share/sabnzbdplus/sabnzbd/downloader.py", line 479, in run
    BPSMeter.do.update(server.id, bytes)
  File "/usr/share/sabnzbdplus/sabnzbd/bpsmeter.py", line 205, in update
    self.grand_total[server] += amount
TypeError: unsupported operand type(s) for +=: 'datetime.timedelta' and 'int'

^C2012-04-30 17:06:01,502::WARNING::[__init__:160] Signal 2 caught, saving and exiting...
2012-04-30 17:06:01,502::INFO::[nzbqueue:174] Saving queue
Linux newk 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 8 17:34:21 UTC 2012 i686 i686 i386 GNU/Linux
Python 2.7.2+

Any ideas?
Thanks!
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.7.0Beta3 crashes

Post by shypike »

What a bizarre error.
About the only thing I can think of that it is caused by a corrupt
~/.sabnzbd/admin/totals9.sab file.
What happens if you stop SABnzbd, remove the file and start again?
(You will lose your byte counters and quota info.)
newk
Newbie
Newbie
Posts: 12
Joined: April 30th, 2012, 10:08 am

Re: 0.7.0Beta3 crashes

Post by newk »

So far so good! That seem to have done the trick =)
And I still have the counter at the bottom with total downloaded etc.

Thanks for the fast answer!
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.7.0Beta3 crashes

Post by shypike »

Did this happen right after upgrading SABnzbd?
newk
Newbie
Newbie
Posts: 12
Joined: April 30th, 2012, 10:08 am

Re: 0.7.0Beta3 crashes

Post by newk »

shypike wrote:Did this happen right after upgrading SABnzbd?
I can't say for sure but I think it did.
And now I get this too:

2012-04-30 20:44:39,336::INFO::[__init__:877] Saving data for totals9.sab in /home/niuck/.sabnzbd/admin/totals9.sab
Segmentation fault

And it shuts down.

Everything has been perfect until the last week or so.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.7.0Beta3 crashes

Post by shypike »

Segmentation faults indicate serious bugs in Python or one of its libraries.
It's not possible for a normal Python program (like SABnzbd) to cause
segmentation faults, as it's an interpreted language.
It can certainly trigger bugs in the run-time system.
Either that or hardware issues.
newk
Newbie
Newbie
Posts: 12
Joined: April 30th, 2012, 10:08 am

Re: 0.7.0Beta3 crashes

Post by newk »

Ok, I will play around with different versions of python a bit and see if that can fix it.
I wouldn't surprise me if it's the hardware that causes it though.

I'm getting all sorts of weird errors now.

2012-04-30 22:24:58,819::ERROR::[__init__:922] Loading /home/niuck/.sabnzbd/admin/postproc1.sab failed
2012-04-30 22:24:58,819::INFO::[__init__:923] Traceback:
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/sabnzbd/__init__.py", line 914, in load_admin
data = cPickle.load(f)
EOFError
2012-04-30 22:24:58,820::INFO::[__init__:901] Loading data for queue9.sab from /home/niuck/.sabnzbd/admin/queue9.sab

edit: Same error with python2.6
edit2: And with sabnzbd 0.6.8
Post Reply