Closed Vertebreaker closed 10 years ago
You probably need to stop Mylar, make your changes to config.ini and then start. -Clay
On Sat, Jun 14, 2014 at 9:22 AM, Vertebreaker notifications@github.com wrote:
I know you've been seeing this one from time to time, but I can't get it to correct itself. I've tried editing the provider_order field to remove the "https" prefix, and I've tried shutting down Mylar, wiping the line entirely from the config.ini, and then restarting. Each attempt results in the same provider order message.
Any thoughts?
Reply to this email directly or view it on GitHub: https://github.com/evilhero/mylar/issues/748
As Clay said, try wiping the line with Mylar not running, and enabling one of the providers in the config.ini, save it and then starting it up.
A few commits ago, if you had nzb.su enabled it would always result in this error message, so also make sure you're running up to date.
I tried it after a reboot, before I have a chance to load up Mylar. I opened the config.ini, wiped the entire provider_order line, saved, fired up Mylar. It added the line back in, with my three newznab providers, but the same "Search provider order is []" message appears.
I shutdown Mylar, watching the shutdown command and then the Python window closes. I remove all but one provider from the line, save it, and fire it up. It readds the two I deleted, but still the same error.
I tried disabling all but one provider in the Search Provider settings, saved settings, shutdown Mylar, removed the provider_order line, save, fire up Mylar. It readds the line with my one provider, but the same error as before.
I'm at a bit of a loss. I'm running version 3b148298df3ca690b5ce1e6ca6f6f5e67cb2a5d3 on Windows 7 64-bit. It says I'm up to date when I check for updates. nzb.su is disabled, as are all other search provider options (I'm only using Newznab providers).
Me, too. I am running on Linux and have tried everything here and cannot get it to search any Newznab providers. I am able to limp along on the experimental search but would really like to use my own Newznab providers as well.
Can you paste / send your config.ini along with the portion of the mylar.log file that shows the provider order being calculated when a search is initiated?
Here you go. config.ini with personal info removed:
[General]
config_version = 5
comicvine_api = *removed*
http_port = *removed*
http_host = *removed*
http_username = *removed*
http_password = *removed*
http_root = /
api_enabled = 1
api_key = ""
launch_browser = 1
log_dir = C:\Program Files (x86)\mylar-development\logs
max_logsize = 1000000
logverbose = 0
git_path = ""
cache_dir = C:\Program Files (x86)\mylar-development\cache
annuals_on = 0
cv_only = 1
cv_onetimer = 1
cvapifix = 1
check_github = 1
check_github_on_startup = 1
check_github_interval = 360
destination_dir = E:\Comics
chmod_dir = 0777
chmod_file = 0660
usenet_retention = 1500
search_interval = 360
nzb_startup_search = 1
libraryscan = 1
libraryscan_interval = 240
add_comics = 0
comic_dir = ""
imp_move = 0
imp_rename = 0
imp_metadata = 0
download_scan_interval = 5
check_folder = ""
interface = default
autowant_all = 0
autowant_upcoming = 1
preferred_quality = 0
comic_cover_local = 0
correct_metadata = 0
move_files = 0
rename_files = 1
folder_format = $Series - ($Year)
file_format = $Series $Issue
blackhole_dir = ""
replace_spaces = 0
replace_char = .
zero_level = 1
zero_level_n = 00x
lowercase_filenames = 0
ignore_havetotal = 0
syno_fix = 0
search_delay = 1
grabbag_dir = E:\Comics
highcount = 0
read2filename = 0
storyarcdir = 0
use_minsize = 0
minsize = ""
use_maxsize = 0
maxsize = ""
add_to_csv = 1
cvinfo = 0
log_level = 0
enable_extra_scripts = 0
extra_scripts = ""
enable_pre_scripts = 0
pre_scripts = ""
post_processing = 1
weekfolder = 0
locmove = 0
newcom_dir = ""
fftonewcom_dir = 0
enable_meta = 0
cmtagger_path = ""
indie_pub = 75
biggie_pub = 55
enable_rss = 0
rss_checkinterval = 20
rss_lastrun = 2013-08-05 22:19:07
provider_order = 0, https://www.nmatrix.co.za/
nzb_downloader = 0
[Torrents]
enable_torrents = 0
minseeds = 0
torrent_local = 0
local_watchdir = ""
torrent_seedbox = 0
seedbox_host = ""
seedbox_port = ""
seedbox_user = ""
seedbox_pass = ""
seedbox_watchdir = ""
enable_torrent_search = 0
enable_kat = 0
kat_proxy = ""
enable_cbt = 0
cbt_passkey = ""
snatchedtorrent_notify = 0
[SABnzbd]
sab_host = *removed*
sab_username = *removed*
sab_password = *removed*
sab_apikey = *removed*
sab_category = comics
sab_priority = Default
sab_directory = E:\Downloads\Complete
[NZBGet]
nzbget_host = ""
nzbget_port = ""
nzbget_username = ""
nzbget_password = ""
nzbget_category = ""
nzbget_priority = Default
nzbget_directory = ""
[NZBsu]
nzbsu = 0
nzbsu_uid = ""
nzbsu_apikey = ""
[DOGnzb]
dognzb = 0
dognzb_uid = ""
dognzb_apikey = ""
[Experimental]
experimental = 0
altexperimental = 1
[Newznab]
newznab = 1
extra_newznabs = https://www.nmatrix.co.za/, https://www.nmatrix.co.za/, *removed*, 1, 1, https://01100111011001010110010101101011.info, https://01100111011001010110010101101011.info, *removed*, 1, 0, https://www.usenet-crawler.com, https://www.usenet-crawler.com, *removed*, 1, 0
[Prowl]
prowl_enabled = 0
prowl_keys = ""
prowl_onsnatch = 0
prowl_priority = 0
[NMA]
nma_enabled = 0
nma_apikey = ""
nma_priority = 0
nma_onsnatch = 0
[PUSHOVER]
pushover_enabled = 0
pushover_apikey = ""
pushover_userkey = ""
pushover_priority = 0
pushover_onsnatch = 0
[BOXCAR]
boxcar_enabled = 1
boxcar_onsnatch = 0
boxcar_token = ""
[PUSHBULLET]
pushbullet_enabled = 0
pushbullet_apikey = ""
pushbullet_deviceid = ""
pushbullet_onsnatch = 0
[Raw]
raw = 0
raw_provider = None
raw_username = None
raw_password = None
raw_groups = None
Here's what happens in mylar.log when I run a Force Check on my Wanted list:
14-Jun-2014 21:17:14 - INFO :: Thread-14 : Initiating NZB Search scan at requested interval of 360 minutes.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : Publisher is : Marvel
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : Checking for torrent enabled.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : newznab hosts: []
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : nzbprovider: []
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : there are : 0 torrent providers you have selected.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : there are : 0 nzb providers you have selected.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : Usenet Retention : 1500 days
14-Jun-2014 21:17:14 - ERROR :: Thread-14 : [WARNING] You have 0 search providers enabled. I need at least ONE provider to work. Aborting search.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : Publisher is : Marvel
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : Checking for torrent enabled.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : newznab hosts: []
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : nzbprovider: []
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : there are : 0 torrent providers you have selected.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : there are : 0 nzb providers you have selected.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : Usenet Retention : 1500 days
14-Jun-2014 21:17:14 - ERROR :: Thread-14 : [WARNING] You have 0 search providers enabled. I need at least ONE provider to work. Aborting search.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : Publisher is : Vertigo
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : Checking for torrent enabled.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : newznab hosts: []
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : nzbprovider: []
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : there are : 0 torrent providers you have selected.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : there are : 0 nzb providers you have selected.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : Usenet Retention : 1500 days
14-Jun-2014 21:17:14 - ERROR :: Thread-14 : [WARNING] You have 0 search providers enabled. I need at least ONE provider to work. Aborting search.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : Publisher is : Image
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : Checking for torrent enabled.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : newznab hosts: []
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : nzbprovider: []
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : there are : 0 torrent providers you have selected.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : there are : 0 nzb providers you have selected.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : Usenet Retention : 1500 days
14-Jun-2014 21:17:14 - ERROR :: Thread-14 : [WARNING] You have 0 search providers enabled. I need at least ONE provider to work. Aborting search.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : Publisher is : Marvel
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : Checking for torrent enabled.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : newznab hosts: []
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : nzbprovider: []
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : there are : 0 torrent providers you have selected.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : there are : 0 nzb providers you have selected.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : Usenet Retention : 1500 days
14-Jun-2014 21:17:14 - ERROR :: Thread-14 : [WARNING] You have 0 search providers enabled. I need at least ONE provider to work. Aborting search.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : Publisher is : Boom! Studios
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : Checking for torrent enabled.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : newznab hosts: []
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : nzbprovider: []
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : there are : 0 torrent providers you have selected.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : there are : 0 nzb providers you have selected.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : Usenet Retention : 1500 days
14-Jun-2014 21:17:14 - ERROR :: Thread-14 : [WARNING] You have 0 search providers enabled. I need at least ONE provider to work. Aborting search.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : Publisher is : Marvel
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : Checking for torrent enabled.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : newznab hosts: []
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : nzbprovider: []
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : there are : 0 torrent providers you have selected.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : there are : 0 nzb providers you have selected.
14-Jun-2014 21:17:14 - DEBUG :: Thread-14 : Usenet Retention : 1500 days
14-Jun-2014 21:17:14 - ERROR :: Thread-14 : [WARNING] You have 0 search providers enabled. I need at least ONE provider to work. Aborting search.
14-Jun-2014 21:17:14 - INFO :: Thread-14 : Completed NZB Search scan
Ok, I figured this out. It has to do with the fact that you're not giving a 'unique' name to the newznab provider(s). I'm going to have to redo the logic in order to encompass this, but if the name of the newznab provider and the host address are identical, Mylar will ignore it (there was a reason behind the madness at one point, but damned if I can remember).
So basically you can do this two ways to 'fix' this until I can get a proper fix out.
The easiest: In the GUI, simply make sure the Newznab Name is different than the Newznab Host for each newznab - even as simple as leaving out a trailing slash will be enough to bypass this problem (Wiping out the provider_order line in the config.ini might be required prior to altering the names - just make sure Mylar isn't running when editing the file). Here's some examples:
[GUI] Newznab Name = NZBGeek Newznab Host = https://01100111011001010110010101101011.info Newznab Name = Usenet Crawler Newznab Host = https://usenet-crawler.com Newznab Name = https://www.nmatrix.co.za Newznab Host = https://www.nmatrix.co.za/
The Not-Easier? Or, you can manually edit the config.ini file (again, with Mylar not running):
[config.ini] provider_order = 0, NZBGeek, 1, Usenet Crawler, 2, https://www.nmatrix.co.za
extra_newznabs = NZBGeek, https://01100111011001010110010101101011.info, apikey, 1, 1, Usenet Crawler, https://usenet-crawler.com, apikey, 1, 1, https://www.nmatrix.co.za, https://www.nmatrix.co.za/, apikey, 1, 1
Perfect, the manual config edit worked like a charm, even before the most recent update.
Thank you for the quick fix!
I'm having this same issue...appears to have just suddenly broke (assuming an update at some point). I don't have multiple providers though, just click the check for nzb.su, but it's still not doing anything...and looking at it...doesn't look like I've gotten any downloads for weeks now.
Just unchecking nzb.su in the interface and saving, then restarting, then re-enabling did not seem to fix anything. But after stopping, wiping out the provider_order, then restarting...suddenly it's working fine.
I know you've been seeing this one from time to time, but I can't get it to correct itself. I've tried editing the provider_order field to remove the "https" prefix, and I've tried shutting down Mylar, wiping the line entirely from the config.ini, and then restarting. Each attempt results in the same provider order message.
Any thoughts?