Page 1 of 1

OPDS

Posted: Thu Aug 30, 2018 9:17 pm
by daethsamurai
Hi,

I have enable the OPDS option but then browsing to it I get he following error.

500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "/app/mylar/lib/cherrypy/_cprequest.py", line 670, in respond
response.body = self.handler()
File "/app/mylar/lib/cherrypy/lib/encoding.py", line 217, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/app/mylar/lib/cherrypy/_cpdispatch.py", line 61, in __call__
return self.callable(*self.args, **self.kwargs)
File "/app/mylar/mylar/webserve.py", line 5160, in opds
data = op.fetchData()
File "/app/mylar/mylar/opds.py", line 84, in fetchData
result = methodToCall(**self.kwargs)
File "/app/mylar/mylar/opds.py", line 202, in _root
gbd = mylar.CONFIG.GRABBAG_DIR + '/*'
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Any help would be greatly appreciated.

Re: OPDS

Posted: Thu Aug 30, 2018 11:24 pm
by barbequesauce
Hi!

What is your grabbag_dir set to in your config.ini?

Re: OPDS

Posted: Fri Aug 31, 2018 5:15 pm
by evilhero
You can either set your grab_bag variable in the config.ini (with Mylar not running) to a location where Mylar can look for one-off's (as we call them, basically issues from the weekly pull that don't exist on your watchlist, but were still snatched using Mylar's One-Off option on the This Week tab), or you can update to the latest development branch and it should automatically set the grab_bag dir variable to the correct location - the default is just your Comic Location path + 'grabbag'