This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: venv: running activate.bat gives ' parameter format not correct - 65001'
Type: behavior Stage: resolved
Components: Versions: Python 3.7
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: Nils-Hero, vinay.sajip
Priority: normal Keywords:

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


it prints

    parameter format not correct - 65001

However, it activates the venv - the prompt shows

    (myvenv) C:\>



gets prepended to PATH.

When i outcomment

    for /f "tokens=2 delims=:" %%a in ('"%SystemRoot%\System32\"') do (
        set "_OLD_CODEPAGE=%%a"

in the activate.bat then the message wont show up.

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 may possibly be a fix for that.

So, 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.
Date User Action Args
2022-04-11 14:59:09adminsetgithub: 79739
2018-12-22 20:25:50Nils-Herosetstatus: closed
resolution: duplicate
stage: resolved
2018-12-22 12:25:30Nils-Herosetstatus: open -> (no value)

messages: + msg332346
2018-12-22 06:09:06vinay.sajipsetmessages: + msg332323
2018-12-22 03:52:07ned.deilysetnosy: + vinay.sajip
2018-12-22 03:39:44Nils-Herocreate