Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'NoneType' object has no attribute 'replace' #2

Open
daktak opened this issue Feb 10, 2015 · 1 comment
Open

'NoneType' object has no attribute 'replace' #2

daktak opened this issue Feb 10, 2015 · 1 comment

Comments

@daktak
Copy link

daktak commented Feb 10, 2015

Traceback (most recent call last):
File "/home/daktak/KodiDB/cherrypy/_cprequest.py", line 656, in respond
response.body = self.handler()
File "/home/daktak/KodiDB/cherrypy/lib/encoding.py", line 188, in call
self.body = self.oldhandler(_args, *_kwargs)
File "/home/daktak/KodiDB/cherrypy/_cpdispatch.py", line 34, in call
return self.callable(_self.args, *_self.kwargs)
File "/home/daktak/KodiDB/cherrystrap/webServe.py", line 499, in tvshows
if int(episode['c05'].replace('-','')) >= ref_date:
AttributeError: 'NoneType' object has no attribute 'replace'

I had to edit dbMap as my databases are MyMusic48 and MyVideos90 not xbmc_

@daktak
Copy link
Author

daktak commented Feb 11, 2015

Traceback (most recent call last):
File "/home/daktak/KodiDB/cherrypy/_cprequest.py", line 656, in respond
response.body = self.handler()
File "/home/daktak/KodiDB/cherrypy/lib/encoding.py", line 188, in call
self.body = self.oldhandler(_args, *_kwargs)
File "/home/daktak/KodiDB/cherrypy/_cpdispatch.py", line 34, in call
return self.callable(_self.args, *_self.kwargs)
File "/home/daktak/KodiDB/cherrystrap/webServe.py", line 444, in movies
movieRateArr = movie['c12'].replace('Rated ','').split(' for ')
AttributeError: 'NoneType' object has no attribute 'replace'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant