Can't access "Wanted" anymore

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
Oizo
Posts: 72
Joined: Sat Nov 15, 2014 11:53 am

Can't access "Wanted" anymore

Post by Oizo »

When I try to got to "Wanted I get the following error:

Code: Select all

Error !
AttributeError: 'Config' object has no attribute 'SEARCH_TIER_CUTOFF'
<h1 class="clearfix"><img src="${icons['icon_wanted']}" alt="Wanted Issues"/>Wanted Issues (<span id="wanted_count"></span>)</h1> </div> <span style="vertical-align: middle;"><small>Tier-1 cutoff length: <span id="cutoff">${mylar.CONFIG.SEARCH_TIER_CUTOFF}</span> days</small></span> <div id="checkboxControls" name="checkboxControls" style="float: right; vertical-align: middle; margin: 5px 3px 3px 3px;"> <div style="padding-bottom: 5px;"> <label for="Wanted" class="checkbox inline Wanted" id="wantedlabel" style="display:none;"><input type="checkbox" name="Wanted" id="Wanted" checked="checked" /> Wanted: <b><span id="wantedcount"></span></b></label> <label for="Tier1" class="checkbox inline Tier1" id="tier1label" style="display:none;"><input type="checkbox" name="Tier1" id="Tier1" checked="checked" />Tier-1: <b><span id="tier1count"></span></b></label>
/volume1/@appstore/mylar/share/mylar/data/interfaces/default/upcoming.html, line 21:
<span style="vertical-align: middle;"><small>Tier-1 cutoff length: <span id="cutoff">${mylar.CONFIG.SEARCH_TIER_CUTOFF}</span> days</small></span>
/volume1/@appstore/mylar/share/mylar/data/interfaces/default/base.html, line 77:
${next.body()}
/volume1/@appstore/mylar/env/lib/python3.8/site-packages/mako/runtime.py, line 943:
callable_(context, *args, **kwargs)
/volume1/@appstore/mylar/env/lib/python3.8/site-packages/mako/runtime.py, line 916:
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
/volume1/@appstore/mylar/env/lib/python3.8/site-packages/mako/runtime.py, line 874:
_render_context(
/volume1/@appstore/mylar/env/lib/python3.8/site-packages/mako/template.py, line 439:
return runtime._render(self, self.callable_, args, data)
/volume1/@appstore/mylar/share/mylar/mylar/webserve.py, line 130:
return template.render(http_root=mylar.CONFIG.HTTP_ROOT, interface=mylar.CONFIG.INTERFACE, icons=icons, gl_messages=mylar.GLOBAL_MESSAGES, sse_key=mylar.SSE_KEY, pre_update=mylar.UPDATE_VALUE, **kwargs)
I have not changed anything recently on my system - any clues how to fix this?
Everything else works fine.
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Can't access "Wanted" anymore

Post by evilhero »

Have you updated mylar recently?

From the sounds of it, it appears you're running an outdated version.
Oizo
Posts: 72
Joined: Sat Nov 15, 2014 11:53 am

Re: Can't access "Wanted" anymore

Post by Oizo »

Hmm I clicked on check update and apparently I am 26 commits behind. But somehow it won't update. I get the Mylar is updating but after that it will go back to 26 commits behind.
Unfortunately the logfile won't tell me anything. How can I update Mylar manually?
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Can't access "Wanted" anymore

Post by evilhero »

It all depends on how it was installed.

If it was by git, then you could just drop into a shell /command prompt, cd into the mylar directory and issue a git pull cmd.

If it was via source (zip), you'd have to download a new version from github and overwrite the existing files.

As another option, you can also opt to backup your mylar.db and config.ini files, as well as the entire cache directory. Then uninstall and reinstall mylar. Then move those backed up items back. This option would also be used if you installed it via some type of NAS manager.
Oizo
Posts: 72
Joined: Sat Nov 15, 2014 11:53 am

Re: Can't access "Wanted" anymore

Post by Oizo »

Tried git pull - but it showed already up to date.

But I'll get my new NAS next week and there I can finally use Docker - that will hopefully sort it out
Post Reply