Fatal Error

Get help with all aspects of 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
surfshady
Newbie
Newbie
Posts: 8
Joined: November 27th, 2023, 6:41 pm

Fatal Error

Post by surfshady »

Traceback (most recent call last):
File "/app/sabnzbd/sabnzbd/downloader.py", line 693, in process_nw_worker
self.process_nw(read_fds[nw_queue.get()])
File "/app/sabnzbd/sabnzbd/downloader.py", line 794, in process_nw
self.decode(article, nw.data_view[: nw.data_position])
File "/app/sabnzbd/sabnzbd/downloader.py", line 518, in decode
sabnzbd.decoder.decode(article, data_view)
File "/app/sabnzbd/sabnzbd/decoder.py", line 164, in decode
sabnzbd.ArticleCache.save_article(article, decoded_data)
File "/app/sabnzbd/sabnzbd/articlecache.py", line 100, in save_article
self.__flush_article_to_disk(article, data)
File "/app/sabnzbd/sabnzbd/articlecache.py", line 169, in __flush_article_to_disk
data, article.get_art_id(), article.nzf.nzo.admin_path, do_pickle=False, silent=True
^^^^^^^^^^^^^^^^^^^^
File "/app/sabnzbd/sabnzbd/nzbstuff.py", line 241, in get_art_id
self.art_id = get_new_id("article", self.nzf.nzo.admin_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/sabnzbd/sabnzbd/filesystem.py", line 1125, in get_new_id
raise IOError
OSError
User avatar
sander
Release Testers
Release Testers
Posts: 8857
Joined: January 22nd, 2008, 2:22 pm

Re: Fatal Error

Post by sander »

Reboot and retry
surfshady
Newbie
Newbie
Posts: 8
Joined: November 27th, 2023, 6:41 pm

Re: Fatal Error

Post by surfshady »

I have a few times now. The download directory is on a SMB share on Unraid - I checked the windows compatibility option as I thought that might be an issue since this container was migrated recently from Umbrel to Ubuntu-Docker Desktop direct. Worked fine until today. Anything else to check? It recurs 5 or 10 minutes after restart.
User avatar
sander
Release Testers
Release Testers
Posts: 8857
Joined: January 22nd, 2008, 2:22 pm

Re: Fatal Error

Post by sander »

Do you have your Incomplete on the SMB share? If so: don't
surfshady
Newbie
Newbie
Posts: 8
Joined: November 27th, 2023, 6:41 pm

Re: Fatal Error

Post by surfshady »

I do not. in fact, as I looked again both folders incomplete and complete are on the local machine the container is run on and shared via docker desktop resources setting under file sharing.

Same 2 errors after a restart:


ERROR 25 minutes ago Fatal error in Downloader
Traceback (most recent call last):
File "/app/sabnzbd/sabnzbd/downloader.py", line 693, in process_nw_worker
self.process_nw(read_fds[nw_queue.get()])
File "/app/sabnzbd/sabnzbd/downloader.py", line 794, in process_nw
self.decode(article, nw.data_view[: nw.data_position])
File "/app/sabnzbd/sabnzbd/downloader.py", line 518, in decode
sabnzbd.decoder.decode(article, data_view)
File "/app/sabnzbd/sabnzbd/decoder.py", line 164, in decode
sabnzbd.ArticleCache.save_article(article, decoded_data)
File "/app/sabnzbd/sabnzbd/articlecache.py", line 100, in save_article
self.__flush_article_to_disk(article, data)
File "/app/sabnzbd/sabnzbd/articlecache.py", line 169, in __flush_article_to_disk
data, article.get_art_id(), article.nzf.nzo.admin_path, do_pickle=False, silent=True
^^^^^^^^^^^^^^^^^^^^
File "/app/sabnzbd/sabnzbd/nzbstuff.py", line 241, in get_art_id
self.art_id = get_new_id("article", self.nzf.nzo.admin_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/sabnzbd/sabnzbd/filesystem.py", line 1125, in get_new_id
raise IOError
OSError
ERROR 25 minutes ago Failure in tempfile.mkstemp
surfshady
Newbie
Newbie
Posts: 8
Joined: November 27th, 2023, 6:41 pm

Re: Fatal Error

Post by surfshady »

Maybe a permission issue? I chased the temfile.mstemp issue down and changed the permissions for the root of the download folder. no error on restart so far will keep monitoring
User avatar
safihre
Administrator
Administrator
Posts: 5399
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Fatal Error

Post by safihre »

If you set logging to at least Info in the Status window, then in the log it will show directly below the error the actual reason why it failed.
We need that to diagnose the underlying cause.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
surfshady
Newbie
Newbie
Posts: 8
Joined: November 27th, 2023, 6:41 pm

Re: Fatal Error

Post by surfshady »

I did have logging set at the info level and cop[ied what was provided.

It does appear that fixing the permissions on the root folder (recursively) has resolved the issue. Thank you for the pointers.
Post Reply