Page 1 of 1

Problem with Search on Mac

Posted: Tue May 15, 2018 10:50 am
by pollock
Hi, I’m sorry if this issue has been addressed before, I could not find anything on this…
Mylar used to run without problems on my Mac. But since I had to do a reinstall, the search function seems to be broken… whenever I search for anything, I get the following error message:

Traceback (most recent call last):
File "/Applications/Mylar/lib/cherrypy/_cprequest.py", line 670, in respond
response.body = self.handler()
File "/Applications/Mylar/lib/cherrypy/lib/encoding.py", line 217, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/Applications/Mylar/lib/cherrypy/_cpdispatch.py", line 61, in __call__
return self.callable(*self.args, **self.kwargs)
File "/Applications/Mylar/mylar/webserve.py", line 293, in searchit
if mylar.COMICVINE_API is None:
AttributeError: 'module' object has no attribute 'COMICVINE_API'

In the log, I get the following message:

2018-05-15 12:32:21
ERROR
Unable to retrieve results from ComicVine: 'bool' object is not iterable
2018-05-15 12:32:21
WARNING
Error fetching data from ComicVine: ('Connection aborted.', error(64, 'Host is down'))

So I guess Mylar is unable to connect to Comicvine? I made sure to add the correct comicvine - api. There don’t seem to be any api hits on my comic vine - account.

Mylar Version: development
-- git build 4314b8b98cc25d6ed54313b611e638ab63711b4e.
Python Version : 2.7.10


Any help would be appreciated!


Here is my config.ini, if that helps (apis obfuscated):

[Client]
nzb_downloader = 0
torrent_downloader = 0

[General]
ignore_havetotal = False
syno_fix = False
nzb_startup_search = False
create_folders = True
skipped2wanted = False
auto_update = False
zero_level_n = none
update_ended = False
enable_rss = True
grabbag_dir = None
search_delay = 1
rename_files = False
file_format = $Series $Annual $Issue ($Year)
add_to_csv = True
folder_scan_log_verbose = False
interface = default
comic_cover_local = False
folder_format = $Series ($Year)
delete_remove_dir = False
failed_auto = False
destination_dir = /Volumes/1TB/Dokumente/Comics
refresh_cache = 7
failed_download_handling = False
autowant_all = True
use_maxsize = False
read2filename = False
oldconfig_version = None
annuals_on = False
launch_browser = False
unicode_issuenumber = False
show_icons = False
send2read = False
cache_dir = None
dynamic_update = 4
replace_char = .
replace_spaces = False
minimal_ini = False
move_files = False
preferred_quality = 0
maintainseriesfolder = False
use_minsize = False
minsize = None
wanted_tab_off = False
alternate_latest_series_covers = False
multiple_dest_dirs = None
snatched_havetotal = False
lowercase_filenames = False
correct_metadata = False
zero_level = False
upcoming_snatched = True
highcount = 0
maxsize = None
autowant_upcoming = True
config_version = 8

[NZBGet]
nzbget_client_post_processing = False
nzbget_category = None
nzbget_priority = Default
nzbget_directory = None
nzbget_password = None
nzbget_port = None
nzbget_username = None
nzbget_host = None

[SABnzbd]
sab_client_post_processing = False
sab_to_mylar = False
sab_host = http://127.0.0.1:8080
sab_password = None
sab_apikey = XXXXXXXXXXXXXXXXXXXXX
sab_directory = None
sab_category = comics
sab_priority = Default
sab_username = None

[PostProcess]
pre_scripts = None
snatch_script = None
file_opts = move
extra_scripts = None
enable_snatch_script = False
enable_check_folder = False
local_torrent_pp = False
check_folder = None
snatchedtorrent_notify = False
enable_extra_scripts = False
post_processing = False
post_processing_script = None
enable_pre_scripts = False

[Metatagging]
setdefaultvolume = False
cbr2cbz_only = False
unrar_cmd = None
cmtag_volume = True
ct_cbz_overwrite = False
enable_meta = False
ct_settingspath = None
cmtag_start_year_as_volume = False
cmtagger_path = None
ct_tag_cr = True
ct_tag_cbl = True

[Weekly]
weekfolder = False
pack_0day_watchlist_only = True
weekfolder_format = 0
alt_pull = 2
weekfolder_loc = None
biggie_pub = 55
pull_refresh = None
indie_pub = 75

[Scheduler]
search_interval = 360
rss_checkinterval = 20
download_scan_interval = 5
check_github_interval = 360

[Interface]
http_password = None
https_chain = None
authentication = 0
http_port = 38090
login_timeout = 43800
http_root = /
https_force_on = False
https_cert = None
http_host = 0.0.0.0
enable_https = False
https_key = None
host_return = None
http_username = None

[Rtorrent]
rtorrent_rpc_url = None
rtorrent_ca_bundle = None
rtorrent_directory = None
rtorrent_authentication = basic
rtorrent_host = None
rtorrent_label = None
rtorrent_startonload = False
rtorrent_verify = False
rtorrent_password = None
rtorrent_ssl = False
rtorrent_username = None

[Import]
imp_metadata = False
comic_dir = None
imp_move = False
imp_rename = False
add_comics = False

[PUSHBULLET]
pushbullet_channel_tag = None
pushbullet_deviceid = None
pushbullet_apikey = None
pushbullet_enabled = False
pushbullet_onsnatch = False

[NMA]
nma_priority = 0
nma_onsnatch = False
nma_apikey = None
nma_enabled = False

[Perms]
chmod_file = 0660
chowner = None
enforce_perms = True
chmod_dir = 0777
chgroup = None

[CV]
cv_verify = True
cv_only = True
cvinfo = False
blacklisted_publishers = None
comicvine_api = XXXXXXXXXXXXXXXXXXXXX
cv_onetimer = True
cvapi_rate = 2

[32P]
mode_32p = False
password_32p = None
verify_32p = True
enable_32p = False
search_32p = False
username_32p = None
deep_search_32p = False
passkey_32p = None
rssfeed_32p = None

[Newznab]
newznab = False
extra_newznabs =

[Torznab]
extra_torznabs =
enable_torznab = False
torznab_apikey = None
torznab_category = None
torznab_host = None
torznab_verify = False
torznab_name = None

[Git]
git_user = evilhero
check_github = False
git_path = None
check_github_on_startup = False
git_branch = None

[Transmission]
transmission_username = None
transmission_host = None
transmission_directory = None
transmission_password = None

[TELEGRAM]
telegram_enabled = False
telegram_token = None
telegram_onsnatch = False
telegram_userid = None

[Tablet]
tab_enable = False
tab_host = None
tab_directory = None
tab_user = None
tab_pass = None

[qBittorrent]
qbittorrent_startonload = False
qbittorrent_username = None
qbittorrent_label = None
qbittorrent_password = None
qbittorrent_folder = None
qbittorrent_host = None

[Providers]
usenet_retention = 1500
provider_order = 0, dognzb, 1, Hydra

[StoryArc]
storyarcdir = False
arc_folderformat = None
copy2arcdir = False
search_storyarcs = False
upcoming_storyarcs = False
arc_fileops = copy

[Duplicates]
ddump = False
duplicate_dump = None
dupeconstraint = filesize

[PUSHOVER]
pushover_enabled = False
pushover_priority = 0
pushover_userkey = None
pushover_apikey = None
pushover_onsnatch = False
pushover_device = None

[Experimental]
altexperimental = False
experimental = False

[AutoSnatch]
auto_snatch = False
pp_sshuser = None
auto_snatch_script = None
pp_sshlocalcd = None
pp_sshhost = None
pp_sshport = 22
pp_sshkeyfile = None
pp_sshpasswd = None

[Blackhole]
blackhole_dir = None

[NZBsu]
nzbsu_apikey = None
nzbsu = False
nzbsu_uid = None
nzbsu_verify = True

[uTorrent]
utorrent_password = None
utorrent_host = None
utorrent_label = None
utorrent_username = None

[Update]
newcom_dir = None
fftonewcom_dir = False
locmove = False

[Logs]
log_dir = /Applications/Mylar
max_logsize = 10000000
log_level = 1
max_logfiles = 5

[Watchdir]
torrent_local = False
local_watchdir = None

[Deluge]
deluge_label = None
deluge_host = None
deluge_username = None
deluge_password = None

[Torrents]
enable_torrent_search = False
enable_torrents = False
minseeds = 0
enable_public = False
allow_packs = False

[DOGnzb]
dognzb = True
dognzb_verify = True
dognzb_apikey = XXXXXXXXXXXXXXXXXXXX

[OPDS]
opds_metainfo = False
opds_authentication = False
opds_username = None
opds_password = None
opds_enable = False

[Seedbox]
seedbox_port = None
seedbox_user = None
seedbox_pass = None
seedbox_watchdir = None
seedbox_host = None
torrent_seedbox = False

[BOXCAR]
boxcar_enabled = False
boxcar_token = None
boxcar_onsnatch = False

[SLACK]
slack_onsnatch = False
slack_enabled = False
slack_webhook_url = None

[Prowl]
prowl_enabled = False
prowl_priority = 0
prowl_keys = None
prowl_onsnatch = False

[API]
api_key = None
api_enabled = False

Re: Problem with Search on Mac

Posted: Tue May 15, 2018 1:24 pm
by evilhero
Well, it could be that CV is down when you tried (they have been updating the backend stuff/wiki things over the last week, so it's almost expected the API will suffer abit during the process).

However, it could also be that your API key is incorrect (I'd doublecheck it again and make sure there are no leading/trailing spaces, mistyped chars like 0 for O, l for 1 or I etc), or even that it can't reach comicvine as it's behind https now so you need to be able to verify the certificate with your system.If you're not seeing any handshake/TLS errors in the logs, then I would surmise it's one of the above reasons why it's not working (at least at the moment).

Re: Problem with Search on Mac

Posted: Tue May 15, 2018 4:14 pm
by pollock
I found the problem...
Somehow, Little Snitch was blocking Python from connecting to Comicvine.
Thanks for pointing me in the right direction and sorry for wasting your time!
Keep up the great work!