zacharydenton/whatbetter — Issue #16: Ubuntu 11.04x86_64 - errno
Author: BleatingLhowon
Created: 2012-03-05 02:05:53+00:00
State: open

I installed whatbetter as per instructions, and encountered this error when trying to transcode some files.

Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/local/lib/python2.7/dist-packages/whatbetter-1.0-py2.7.egg/transcode.py", line 45, in run
if exc.errno == errno.EEXIST:
NameError: global name 'errno' is not defined`

adding the line `import errno` to transcode.py fixes this.