[issue35558] venv: running activate.bat gives ' parameter format not correct - 65001'

2018-12-22 Thread Nils Lindemann


Change by Nils Lindemann :


--
resolution:  -> duplicate
stage:  -> resolved
status:  -> closed

___
Python tracker 
<https://bugs.python.org/issue35558>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35558] venv: running activate.bat gives ' parameter format not correct - 65001'

2018-12-21 Thread Nils Lindemann


New submission from Nils Lindemann :

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

--
messages: 332320
nosy: Nils-Hero
priority: normal
severity: normal
status: open
title: venv: running activate.bat gives ' parameter format not correct - 65001'
type: behavior
versions: Python 3.7

___
Python tracker 
<https://bugs.python.org/issue35558>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30580] WSGI examples raise AttributeError: __exit__

2017-06-06 Thread Nils Lindemann

Nils Lindemann added the comment:

ok

--
status: open -> closed

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30580>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30580] WSGI examples raise AttributeError: __exit__

2017-06-06 Thread Nils Lindemann

Nils Lindemann added the comment:

I am not sure if the py package i found on PyPi is what you meant, but if you 
mean the py launcher (the py.exe in the windows dir), yes, i have that.

My system was indeed misconfigured as you correctly guessed, i had the .py 
filetype pointing to a Python version 3.5. I have now uninstalled everything, 
manually cleaned up the registry, reinstalled Python 3.6 and now everything 
works. Sorry, my mistake.

--
resolution: not a bug -> 
status: closed -> open

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30580>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30580] WSGI examples raise AttributeError: __exit__

2017-06-06 Thread Nils Lindemann

Nils Lindemann added the comment:

What would that be? If i google 'py helper command' i get no good results.

--
resolution: not a bug -> 
status: closed -> open

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30580>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30580] WSGI examples raise AttributeError: __exit__

2017-06-06 Thread Nils Lindemann

Nils Lindemann added the comment:

I just found out that the example works in idle and if i do in a console:

python server.py

but not if i do just:

server.py

What is the secret behind this?

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30580>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30580] WSGI examples raise AttributeError: __exit__

2017-06-06 Thread Nils Lindemann

Nils Lindemann added the comment:

I tried a few online python 3 interpreters.

These give the same exception:

http://www.learnpython.org/en/Hello%2C_World%21
http://rextester.com/l/python3_online_compiler
http://ideone.com/pIMilt
http://www.tutorialspoint.com/execute_python3_online.php

And this one worked:

https://repl.it/languages/python3

the example i tried was:

from wsgiref.simple_server import make_server, demo_app
with make_server('', 8000, demo_app) as httpd:
print("Serving HTTP on port 8000...")
httpd.serve_forever()

My Python installation is a default x64 installation. No changes were made 
during installation, except installation path, which has no spaces in it. I 
have no third part modules installed which could interfer. I have also a Python 
2.7 installed but it is not on my path.

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30580>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30580] WSGI examples raise AttributeError: __exit__

2017-06-06 Thread Nils Lindemann

New submission from Nils Lindemann:

All examples on

https://docs.python.org/3/library/wsgiref.html

raise this exception:

Traceback (most recent call last):
  File "C:\Code\test\server.py", line 110, in 
with make_server('', 8000, simple_app) as httpd:
AttributeError: __exit__

Tested with

Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit 
(AMD64)] on win32

--
messages: 295253
nosy: Nils-Hero
priority: normal
severity: normal
status: open
title: WSGI examples raise AttributeError: __exit__
versions: Python 3.6

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30580>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25444] Py Launch Icon

2017-06-06 Thread Nils Lindemann

Nils Lindemann added the comment:

Two years later: To the dude who removed the rocket from the icons in 3.6: I 
LOVE YOU!

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25444>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25444] Py Launch Icon

2015-10-29 Thread Nils Lindemann

Nils Lindemann added the comment:

i see now what you mean. I have this icon too (py 3.5.0 idle icon.png). 
Something is misconfigured with the icons in the python 3.5.0 windows 
installer, also python files in explorer have no icons.

Thanks for your hint with the python ideas list, i will post a message there.

--
Added file: http://bugs.python.org/file40894/py 3.5.0 idle icon.png

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25444>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25444] Py Launch Icon

2015-10-26 Thread Nils Lindemann

Nils Lindemann added the comment:

it seems i have still not explained my issue in an understandable way: the 
three first icons in the file list in the screenshot, aka the icons which are 
used in eg py 3.2, these icons are cool.

the icon i do not like, is the launcher icon which is used in eg py 3.5 and 
which shows up in the windows task bar when i run python scripts which open a 
commandline. This is the last icon in the file list in the screenshot.

Im fine with everything else, i always liked the original icons, just the new 
launcher icon is terrible in my opinion :-(

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25444>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25444] Py Launch Icon

2015-10-20 Thread Nils Lindemann

Nils Lindemann added the comment:

The icons are not intended to be used instead of the three default icons, 
please dont, these are just great.

I am just targeting the current launcher symbol:

* It contains a symbol of an instrument which can be used to kill people.
* in the 16x16 icon it is not clear at all what this is. it just looks like a 
smudge on the icon. When i first saw it i touched it to see if the smudge is on 
my screen.
* the symbol indicates that one is running the launcher. But thats not true, he 
is running the process that was launched by the launcher. So if this symbol is 
used for the exe which is the launcher, ok, but using it for all processes 
started with it is wrong in my opinion.

The icons for idle are just suggestions, using an alternative icon for idele, 
as i said, may be helpful to separate idle from command lines.

The alternative icons for the launcher are just thought as source of 
inspiration. Actually i think launched processes (except maybe idle) should use 
the standard py exe icon!

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25444>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25444] Py Launch Icon

2015-10-20 Thread Nils Lindemann

Nils Lindemann added the comment:

let me reformulate it: my main intention is to get rid of the launcher symbol, 
or at least have a nicer looking symbol, i dont care for the idle symbol.

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25444>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25444] Py Launch Icon

2015-10-20 Thread Nils Lindemann

Nils Lindemann added the comment:

Here is also a zip containing the icons.

--
Added file: http://bugs.python.org/file40818/icons.zip

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25444>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25444] Py Launch Icon

2015-10-19 Thread Nils Lindemann

Nils Lindemann added the comment:

Hm actually an alternative icon for idle can be useful to separate it from 
command lines in the task bar. But a special launcher symbol is not necessary 
in my opinion.

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25444>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25444] Py Launch Icon

2015-10-19 Thread Nils Lindemann

New submission from Nils Lindemann:

Hi,

See attached screen for a list of alternative 16x16 icon suggestions to the 
current launcher symbol, which i dont like (Dudes, rockets are used in wars!). 
I copied them a few times to show how they look in groups. (while i was at it i 
also created an icon for idle, see the idle window in the Screenshot).

Actually i wonder why it is necessary at all to use more than the three default 
icons, but if, then my icons are better. Hopefully i can inspire the designer 
to do a redesign of the luncher icon :-)

Nils

--
components: IDLE, Installation, Windows
files: (py icons, idle) screenshot.png
messages: 253203
nosy: Nils-Hero, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Py Launch Icon
type: enhancement
versions: Python 3.5, Python 3.6
Added file: http://bugs.python.org/file40815/(py icons, idle) screenshot.png

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25444>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com