java.io.UnsupportedEncodingException

The encoding found: >>uft-8<< on /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/test/bad\_coding.py is not a valid encoding.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web60

  • via pydev by chadrik
    , 11 months ago
    The encoding found: >>uft-8<< on /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/test/bad\_coding.py is not a valid encoding.
  • The encoding found: >>uft-8<< on /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/test/bad\_coding.py is not a valid encoding.
  • The encoding found: >>uft-8<< on /usr/lib/python2.5/test/bad\_coding.py is not a valid encoding.
  • Stack trace

    • java.io.UnsupportedEncodingException: The encoding found: >>uft-8<< on /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/test/bad\_coding.py is not a valid encoding. at org.python.pydev.core.REF.getValidEncoding(REF.java:879) at org.python.pydev.core.REF.getPythonFileEncoding(REF.java:855) at org.python.pydev.core.REF.getPythonFileEncoding(REF.java:796) at org.python.pydev.core.REF.getCustomReturnFromFile(REF.java:671) at com.python.pydev.analysis.additionalinfo.builders.InterpreterObserver.restoreInfoForModuleManager(InterpreterObserver.java:170) at com.python.pydev.analysis.additionalinfo.builders.InterpreterObserver.notifyDefaultPythonpathRestored(InterpreterObserver.java:59) at org.python.pydev.ui.interpreters.AbstractInterpreterManager.restorePythopathForAllInterpreters(AbstractInterpreterManager.java:457) at org.python.pydev.ui.pythonpathconf.AbstractInterpreterPreferencesPage.doRestore(AbstractInterpreterPreferencesPage.java:113) at org.python.pydev.ui.pythonpathconf.AbstractInterpreterPreferencesPage$1.run(AbstractInterpreterPreferencesPage.java:177) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.