I frequently receive this error that insists an object is a 'str' object and that it doesn't have an attribute 'data', although it most certainly does. This error only occurs after it's been compiled and executed as an executable, but not as a .py file executed through the interpreter. Does anyone know why this is?

Traceback (most recent call last):
  File "pwcb.py", line 111, in <module>
  File "pwcb.py", line 27, in begin_capture
AttributeError: 'str' object has no attribute 'data'


Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.