Mako error

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
Aimhere
Posts: 98
Joined: Mon Apr 06, 2015 2:32 pm

Mako error

Post by Aimhere »

Hi,

Mylar Version: 284ddb822c2aed4fd5515568d57c55b7c96b04e9 (development) on Synology DSM 6.1.5-15254 Update 1.

Today, I clicked on one of my series to bring up the details page, when I got this error:

Code: Select all

Error !
TypeError: object of type 'NoneType' has no len()
311 <td id="select"><input type="checkbox" name="${issue['IssueID']}" class="issCheck checkbox" value="${issue['IssueID']}"/></td>
312 <td id="int_issuenumber">${issue['Int_IssueNumber']}</td>
313 <td id="issuenumber">${issue['Issue_Number']}</td>
314 <%
315 if len(issue['IssueName']) > 70:
316 issuename = "%s..." % issue['IssueName'][:70]
317 else:
318 issuename = issue['IssueName']
319 endif
/usr/local/mylar/share/mylar/data/interfaces/default/comicdetails.html, line 314:
<%
/usr/local/mylar/share/mylar/data/interfaces/default/base.html, line 87:
${next.body()}
/volume1/@appstore/mylar/share/mylar/mako/runtime.py, line 718:
/volume1/@appstore/mylar/share/mylar/mako/runtime.py, line 692:
/volume1/@appstore/mylar/share/mylar/mako/runtime.py, line 660:
/volume1/@appstore/mylar/share/mylar/mako/template.py, line 296:
/volume1/@appstore/mylar/share/mylar/mylar/webserve.py, line 55:
return template.render(http_root=mylar.CONFIG.HTTP_ROOT, **kwargs)
This only happens on one particular title, Marvel's "Star Wars". I took a look through the web log, and I'm seeing a number of lines like this:

Code: Select all

INFO	result: {'Issue_Number': u'44', 'IssueID': u'662098', 'StoreDate': u'0000-00-00', 'StoryArcID': None, 'SARC': None, 'IssueArcID': None, 'mode': 'want', 'IssueDate': u'0000-00-00', 'ComicID': u'79398'}
I know how to find the actual logs from a shell, but no idea how to pick out the relevant sections...

Aimhere
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Mako error

Post by evilhero »

Try going into the Manage tab / Manage Comics and initiate a Refresh for the given series. It might have just locked up a some point and didn't clear off the error properly. I honestly haven't seen this error in a long time, which is why I'm thinking it's just a bad reload (at least atm).
Post Reply