Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when changing language from French to English #8179

Closed
castorcan opened this issue Oct 31, 2018 · 1 comment
Closed

Error when changing language from French to English #8179

castorcan opened this issue Oct 31, 2018 · 1 comment

Comments

@castorcan
Copy link

Description

What steps will reproduce the problem?

Language changed from French to English, in the tools tab, Spyder poped up a troubleshooting.

Traceback

  File "C:\Users\nhassen\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\plugins\configdialog.py", line 224, in button_clicked
    configpage.apply_changes()
  File "C:\Users\nhassen\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\plugins\configdialog.py", line 113, in apply_changes
    self._save_lang()
  File "C:\Users\nhassen\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\plugins\configdialog.py", line 1138, in _save_lang
    save_lang_conf(value)
  File "C:\Users\nhassen\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\config\base.py", line 346, in save_lang_conf
    with open(LANG_FILE, 'w') as f:
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\nhassen\\.spyder-py3\\langconfig'

Versions

  • Spyder version: 3.3.1
  • Python version: 3.7.0
  • Qt version: 5.9.6
  • PyQt5 version: 5.9.2
  • Operating System: Windows 10

Dependencies

pyflakes >=0.6.0  :  2.0.0 (OK)
pycodestyle >=2.3 :  2.4.0 (OK)
pygments >=2.0    :  2.2.0 (OK)
sphinx >=0.6.6    :  1.7.9 (OK)
rope >=0.9.4      :  0.11.0 (OK)
jedi >=0.9.0      :  0.12.1 (OK)
nbconvert >=4.0   :  5.4.0 (OK)
pandas >=0.13.1   :  0.23.4 (OK)
numpy >=1.7       :  1.15.1 (OK)
sympy >=0.7.3     :  1.1.1 (OK)
cython >=0.21     :  0.28.5 (OK)
qtconsole >=4.2.0 :  4.4.1 (OK)
IPython >=4.0     :  6.5.0 (OK)
matplotlib >=2.0.0:  2.2.3 (OK)
pylint >=0.25     :  2.1.1 (OK)
@ccordoba12 ccordoba12 changed the title Language changed from French to English Error when changing language from French to English Nov 1, 2018
@ccordoba12 ccordoba12 added this to the v3.3.2 milestone Nov 1, 2018
@ccordoba12
Copy link
Member

PermissionError: [Errno 13] Permission denied: 'C:\Users\nhassen\.spyder-py3\langconfig'

This means that you don't have permissions to write on that file. I don't know how you ended up in that situation (probably because you ran Spyder as admin in your own account), but you need to restore the right permissions to avoid this error.

We'll show an error message informing users when an error occurs during this operation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants