eric ide


Title: Windows install error when user path contains accent or metacharacters UTF-8 can't decode
Type: crash Product: eric6
Priority: high    
Status: closed Resolution: fixed
Superseder: Nosy List: CesarTM, detlev
Assigned to: Keywords:

Created on 2019-09-04.20:13:34 by CesarTM, last changed by detlev.

Messages (2.0)
msg1132 (view) Author: detlev Date: 2019-09-05.16:58:24
This situation seems to be caused by the file having been written by 
a non-compatible Python version. The filesystem encoding on Windows was changed 
from 'mbcs' to 'utf-8' with Python 3.6. According to the given error, the paths 
contained in the file are encoded with 'mbcs'. This leads to the observed issue 
upon import.

In general it is not a good idea to install Python in a path containing such 
"strange" characters.

The next release of eric will be able to ignore such situation and carry on 
msg1131 (view) Author: CesarTM Date: 2019-09-04.20:13:34
Hi, first of all thank you for the program!

I am trying to install in Windows 10, my user name is "César" with an 
accentuated character in the middle.

Installation in MS-console shows bad the metachar and so the install script 

Traceback (most recent call last):
  File "", line 2089, in <module>
  File "", line 2017, in main
  File "", line 580, in cleanUp
    from eric6config import getConfig
  File "C:\Users\César\AppData\Local\Programs\Python\Python37-32\lib\site-
packages\", line 7
SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xe9 in position 
10: invalid continuation byte


Thank you and pelase tell me if you need more information.
Date User Action Args
2019-09-05 16:58:24detlevsetmessage_count: 1.0 -> 2.0
messages: + msg1132
nosy: + detlev
resolution: fixed
status: new -> closed
2019-09-04 20:13:34CesarTMcreate