Issue 35558: venv: running activate.bat gives ' parameter format not correct - 65001' (original) (raw)

Issue35558

Created on 2018-12-22 03:39 by Nils-Hero, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg332320 - (view) Author: Nils Lindemann (Nils-Hero) * Date: 2018-12-22 03:39
Windows 7, Python 3.7.1:260ec2c36a after doing C:\python\python -m venv C:\myvenv and then C:\>myvenv\Scripts\activate.bat it prints parameter format not correct - 65001 However, it activates the venv - the prompt shows (myvenv) C:\> and C:\myvenv\Scripts; gets prepended to PATH. When i outcomment for /f "tokens=2 delims=:" %%a in ('"%SystemRoot%\System32\chcp.com"') do ( set "_OLD_CODEPAGE=%%a" ) in the activate.bat then the message wont show up. related: https://stackoverflow.com/questions/51358202/python-3-7-activate-venv-error-parameter-format-not-correct-65001-windows
msg332323 - (view) Author: Vinay Sajip (vinay.sajip) * (Python committer) Date: 2018-12-22 06:09
This seems related to bpo-32409.
msg332346 - (view) Author: Nils Lindemann (Nils-Hero) * Date: 2018-12-22 12:25
Yes, you are right, Vinay Sajip, it actually prints 'Parameterformat falsch - 65001.' (i translated it) and https://bugs.python.org/issue35148#msg332182 may possibly be a fix for that. So, https://bugs.python.org/issue35148 is the Superseder i guess, and this can be set to to 'closed' and 'duplicate' but i dont know how to do this. There is no text entry in 'Superseder' ('Ersetzt durch') above.
History
Date User Action Args
2022-04-11 14:59:09 admin set github: 79739
2018-12-22 20:25:50 Nils-Hero set status: closedresolution: duplicatestage: resolved
2018-12-22 12:25:30 Nils-Hero set status: open -> (no value)messages: +
2018-12-22 06:09:06 vinay.sajip set messages: +
2018-12-22 03:52:07 ned.deily set nosy: + vinay.sajip
2018-12-22 03:39:44 Nils-Hero create