Accented char in PYTHONPATH manager causes crash on starup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
spyder (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I can repeatedly crash spyder 2.3.0 on lubuntu 14.10 by the following procedure:
1) Start with fresh spyder (spyder --reset)
2) Tools -> PYTHONPATH Manager, add a path with an accented character (in my case, é causes the crash
3) Close spyder, start it up again
Crashes with the error message below, at which point the only way to be able to start it up again it --reset.
Traceback (most recent call last):
File "/usr/lib/
mainwindow = run_spyder(app, options, args)
File "/usr/lib/
main.setup()
File "/usr/lib/
from spyderlib.
File "/usr/lib/
from spyderlib.
File "/usr/lib/
from IPython.
File "/usr/lib/
from .ipython_widget import IPythonWidget
File "/usr/lib/
from .frontend_widget import FrontendWidget
File "/usr/lib/
from .pygments_
File "/usr/lib/
from pygments.
File "/usr/lib/
from pygments.
File "/usr/lib/
from pygments.
File "/usr/lib/
from pygments.formatter import Formatter
File "/usr/lib/
from pygments.styles import get_style_by_name
File "/usr/lib/
from pygments.plugin import find_plugin_styles
File "/usr/lib/
import pkg_resources
File "/usr/lib/
working_set = WorkingSet.
File "/usr/lib/
ws = cls()
File "/usr/lib/
self.
File "/usr/lib/
for dist in find_distributi
File "/usr/lib/
importer = get_importer(
File "/usr/lib/
importer = path_hook(
UnicodeEncodeError: 'ascii' codec can't encode character u'\xc9' in position 24: ordinal not in range(128)
Changed in spyder (Ubuntu): | |
status: | New → Incomplete |
Can you reproduce this issue with spyder 3.x ?