wolfkarl / MusicMashup

For Linked Data Mashup Programming 2014
MIT License
1 stars 0 forks source link

parser wirft fehker #38

Open olegsfinest opened 9 years ago

olegsfinest commented 9 years ago

Bei Suche nach: Badbadnotgood Dawn of Midi (wird jeweils nichts gefunden, dann kommt fehler)

500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last): File "/Library/Python/2.7/site-packages/CherryPy-3.6.0-py2.7.egg/cherrypy/_cprequest.py", line 670, in respond response.body = self.handler() File "/Library/Python/2.7/site-packages/CherryPy-3.6.0-py2.7.egg/cherrypy/lib/encoding.py", line 217, in call self.body = self.oldhandler(_args, _kwargs) File "/Library/Python/2.7/site-packages/CherryPy-3.6.0-py2.7.egg/cherrypy/_cpdispatch.py", line 61, in call return self.callable(_self.args, _self.kwargs) File "MusicMashupServer.py", line 45, in index return tmpl.render(artist=self.artist, history=cherrypy.session['history']) File "/Library/Python/2.7/site-packages/Mako-1.0.0-py2.7.egg/mako/template.py", line 443, in render return runtime.render(self, self.callable, args, data) File "/Library/Python/2.7/site-packages/Mako-1.0.0-py2.7.egg/mako/runtime.py", line 803, in _render *_kwargs_forcallable(callable, data)) File "/Library/Python/2.7/site-packages/Mako-1.0.0-py2.7.egg/mako/runtime.py", line 835, in _render_context _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) File "/Library/Python/2.7/site-packages/Mako-1.0.0-py2.7.egg/mako/runtime.py", line 860, in _exectemplate callable(context, _args, _kwargs) File "main_htm", line 33, in render_body File "/Users/Oleg1/Documents/Wille/Studium/Linked Data Mashup/MusicMashup/MusicMashupArtist.py", line 491, in get_related self.parser.start(self) File "/Users/Oleg1/Documents/Wille/Studium/Linked Data Mashup/MusicMashup/MusicMashupParser.py", line 13, in start self.parse_to_rdf() File "/Users/Oleg1/Documents/Wille/Studium/Linked Data Mashup/MusicMashup/MusicMashupParser.py", line 23, in parse_to_rdf self.parse_abstract(file) File "/Users/Oleg1/Documents/Wille/Studium/Linked Data Mashup/MusicMashup/MusicMashupParser.py", line 45, in parse_abstract file.write("<"+self.artist.get_dbpediaURL()+"> dbpedia-owl:abstract \""+self.artist.get_abstract()+"\" .\n") TypeError: cannot concatenate 'str' and 'int' objects