Theano/Theano — pull request #2269 by ASalvail (2014-11-19 14:55:44+00:00)
Title: Fixes a crash of casting bytes to Python string

The crash happened when cuDNN isn't used and the error message was raised. However, the message was a 'bytes' object, not a string. Casting the bytes to string solves the issue.