SEARCH-QUEUE: TypeError: stat: path should be string

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
MrSquib
Posts: 1
Joined: Tue Dec 01, 2020 8:55 pm

SEARCH-QUEUE: TypeError: stat: path should be string

Post by MrSquib »

Trying to set up latest version. When i go to search I get the following Error

Code: Select all

01-Dec-2020 15:52:00 - ERROR   :: mylar.searchforissue.3176 : SEARCH-QUEUE : Traceback (most recent call last):
  File "D:\Mylar3\mylar\search.py", line 3104, in searchforissue
    foundNZB, prov = search_init(
  File "D:\Mylar3\mylar\search.py", line 523, in search_init
    findit = NZB_SEARCH(
  File "D:\Mylar3\mylar\search.py", line 2398, in NZB_SEARCH
    nzbname = nzbname_create(
  File "D:\Mylar3\mylar\search.py", line 3373, in nzbname_create
    if os.path.exists(mylar.CONFIG.BLACKHOLE_DIR):
  File "C:\Python38\lib\genericpath.py", line 19, in exists
    os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
Traceback (most recent call last):
  File "D:\Mylar3\mylar\search.py", line 3104, in searchforissue
    foundNZB, prov = search_init(
  File "D:\Mylar3\mylar\search.py", line 523, in search_init
    findit = NZB_SEARCH(
  File "D:\Mylar3\mylar\search.py", line 2398, in NZB_SEARCH
    nzbname = nzbname_create(
  File "D:\Mylar3\mylar\search.py", line 3373, in nzbname_create
    if os.path.exists(mylar.CONFIG.BLACKHOLE_DIR):
  File "C:\Python38\lib\genericpath.py", line 19, in exists
    os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
Using windoed 10. I have confirmed that i am using \ in all filepaths.

Any help would be great thanks!
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: SEARCH-QUEUE: TypeError: stat: path should be string

Post by evilhero »

You have the blackhole option enabled but it's set to None.

Either set it to a path if you're planning on using that option to download nzbs to, or select a different option in the config.
Post Reply