hijera / client175

Automatically exported from code.google.com/p/client175
GNU General Public License v3.0
0 stars 0 forks source link

Internal server error when requesting lyrics for songs with slashes in the name #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The actual slash in the songs name (in this case: star/pointro from the roots) 
is not escaped which results in this exception:

Star/Pointro
500 Internal Server Error

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

Traceback (most recent call last):
  File "/opt/client175/cherrypy/_cprequest.py", line 606, in respond
    cherrypy.response.body = self.handler()
  File "/opt/client175/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/opt/client175/server.py", line 401, in lyrics
    with open(file_path, 'w') as f:
IOError: [Errno 2] No such file or directory: '/opt/client175/static/lyrics/The 
Roots/Star/Pointro.html'

Tested with revision 140.

Original issue reported on code.google.com by kobe.van...@gmail.com on 17 Aug 2012 at 1:45