Skip to content

Instantly share code, notes, and snippets.

@rakhuba
Created May 5, 2015 13:29
Show Gist options
  • Save rakhuba/070b2c52c660b5ba4f8b to your computer and use it in GitHub Desktop.
Save rakhuba/070b2c52c660b5ba4f8b to your computer and use it in GitHub Desktop.
---------------------------------------------------------------------------
UnicodeEncodeError Traceback (most recent call last)
/Applications/anaconda/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc in run_code(self, code_obj, result)
3047 if result is not None:
3048 result.error_in_exec = sys.exc_info()[1]
-> 3049 self.showtraceback()
3050 else:
3051 outflag = 0
/Applications/anaconda/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc in showtraceback(self, exc_tuple, filename, tb_offset, exception_only)
1831 self.showsyntaxerror(filename)
1832 elif etype is UsageError:
-> 1833 self.show_usage_error(value)
1834 else:
1835 if exception_only:
/Applications/anaconda/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc in show_usage_error(self, exc)
1795 These are special exceptions that shouldn't show a traceback.
1796 """
-> 1797 self.write_err("UsageError: %s" % exc)
1798
1799 def get_exception_only(self, exc_tuple=None):
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2014' in position 24: ordinal not in range(128)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment