Assembler crash

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
kacaukacau
Newbie
Newbie
Posts: 13
Joined: August 27th, 2020, 5:52 am

Assembler crash

Post by kacaukacau »

I'm running in Docker container, with the linuxserver/sabnzbd image. SABnzbd restarts itself very often, with the error:

Code: Select all

2020-09-01 10:30:21,086::ERROR::[assembler:106] Fatal error in Assembler


Traceback (most recent call last):


  File "/app/sabnzbd/sabnzbd/assembler.py", line 91, in run


    self.assemble(nzf, file_done)


  File "/app/sabnzbd/sabnzbd/assembler.py", line 211, in assemble


    data = ArticleCache.do.load_article(article)


  File "/app/sabnzbd/sabnzbd/articlecache.py", line 127, in load_article


    data = self.__article_table.pop(article)


KeyError: <Article: [email protected], bytes=792703, art_id=SABnzbd_article_8h84912g>


2020-09-01 10:30:46,937::ERROR::[__init__:450] Fatal error at saving state


Traceback (most recent call last):


  File "/app/sabnzbd/sabnzbd/__init__.py", line 448, in halt


    save_state()


  File "/app/sabnzbd/sabnzbd/__init__.py", line 576, in save_state


    ArticleCache.do.flush_articles()


  File "/app/sabnzbd/sabnzbd/decorators.py", line 36, in call_func


    return f(*args, **kw)


  File "/app/sabnzbd/sabnzbd/articlecache.py", line 141, in flush_articles


    data = self.__article_table.pop(article)


KeyError: <Article: [email protected], bytes=792934, art_id=None>
User avatar
sander
Release Testers
Release Testers
Posts: 8829
Joined: January 22nd, 2008, 2:22 pm

Re: Assembler crash: KeyError: <Article: [email protected], bytes=792703, art_id=SABnzbd_a

Post by sander »

Which version of SABnzbd are you running?


For readability:

Code: Select all

2020-09-01 10:30:21,086::ERROR::[assembler:106] Fatal error in Assembler
Traceback (most recent call last):
  File "/app/sabnzbd/sabnzbd/assembler.py", line 91, in run
    self.assemble(nzf, file_done)
  File "/app/sabnzbd/sabnzbd/assembler.py", line 211, in assemble
    data = ArticleCache.do.load_article(article)
  File "/app/sabnzbd/sabnzbd/articlecache.py", line 127, in load_article
    data = self.__article_table.pop(article)
KeyError: <Article: [email protected], bytes=792703, art_id=SABnzbd_article_8h84912g>
and

Code: Select all

2020-09-01 10:30:46,937::ERROR::[__init__:450] Fatal error at saving state
Traceback (most recent call last):
  File "/app/sabnzbd/sabnzbd/__init__.py", line 448, in halt
    save_state()
  File "/app/sabnzbd/sabnzbd/__init__.py", line 576, in save_state
    ArticleCache.do.flush_articles()
  File "/app/sabnzbd/sabnzbd/decorators.py", line 36, in call_func
    return f(*args, **kw)
  File "/app/sabnzbd/sabnzbd/articlecache.py", line 141, in flush_articles
    data = self.__article_table.pop(article)
KeyError: <Article: [email protected], bytes=792934, art_id=None>
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Assembler crash

Post by safihre »

I have had this reported by other users. I have implemented a possible solution for this, but since you are on the docker it's a bit hard to get you the code.
Will create a 3.1.0Beta1 release soon that you can then get.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply