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

poor error message from ffmpeg_reader.py #157

Merged
merged 1 commit into from
Apr 15, 2015
Merged

Commits on Apr 15, 2015

  1. poor error message from ffmpeg_reader.py

    Per [http://stackoverflow.com/questions/11497234/typeerrorexceptions-must-be-old-style-classes-or-derived-from-baseexception-no](http://stackoverflow.com/questions/11497234/typeerrorexceptions-must-be-old-style-classes-or-derived-from-baseexception-no), as of python 2.6, you can't raise just a string.  If this particular error is triggered, you just get a message
    
        {TypeError} exceptions must be old-style classes or derived from BaseException, not unicode
    
    The nearby exceptions are IOErrors, so I made this one an IOError as well.  Now it shows the real exception, instead of the cryptic message above.
    ryanfox committed Apr 15, 2015
    Configuration menu
    Copy the full SHA
    392c1a8 View commit details
    Browse the repository at this point in the history