Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #96146 > unrolled thread

PIP does not appear to handle diacritics correctly.

Started byLaszlo Lebrun <lazlo.lebrun@googlemail.com>
First post2015-09-08 19:14 +0000
Last post2015-09-09 10:56 -0700
Articles 19 — 7 participants

Back to article view | Back to comp.lang.python


Contents

  PIP does not appear to handle diacritics correctly. Laszlo Lebrun <lazlo.lebrun@googlemail.com> - 2015-09-08 19:14 +0000
    Re: PIP does not appear to handle diacritics correctly. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-09-08 23:35 +0100
      Re: PIP does not appear to handle diacritics correctly. Laszlo Lebrun <lazlo.lebrun@googlemail.com> - 2015-09-09 07:59 +0000
        Re: PIP does not appear to handle diacritics correctly. Tim Golden <mail@timgolden.me.uk> - 2015-09-09 09:13 +0100
          Re: PIP does not appear to handle diacritics correctly. wxjmfauth@gmail.com - 2015-09-09 02:10 -0700
          Re: PIP does not appear to handle diacritics correctly. Laszlo Lebrun <lazlo.lebrun@googlemail.com> - 2015-09-09 11:03 +0000
        Re: PIP does not appear to handle diacritics correctly. Chris Angelico <rosuav@gmail.com> - 2015-09-09 18:23 +1000
        Re: PIP does not appear to handle diacritics correctly. Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> - 2015-09-09 18:16 +0200
        Re: PIP does not appear to handle diacritics correctly. Tim Golden <mail@timgolden.me.uk> - 2015-09-09 17:21 +0100
          Re: PIP does not appear to handle diacritics correctly. Laszlo Lebrun <lazlo.lebrun@googlemail.com> - 2015-09-09 20:23 +0000
        Re: PIP does not appear to handle diacritics correctly. Tim Golden <mail@timgolden.me.uk> - 2015-09-09 20:59 +0100
        Re: PIP does not appear to handle diacritics correctly. Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> - 2015-09-09 22:20 +0200
        Re: PIP does not appear to handle diacritics correctly. random832@fastmail.us - 2015-09-09 16:23 -0400
          Re: PIP does not appear to handle diacritics correctly. wxjmfauth@gmail.com - 2015-09-09 23:54 -0700
    Re: PIP does not appear to handle diacritics correctly. wxjmfauth@gmail.com - 2015-09-09 00:22 -0700
      Re: PIP does not appear to handle diacritics correctly. Laszlo Lebrun <lazlo.lebrun@googlemail.com> - 2015-09-09 11:07 +0000
        Re: PIP does not appear to handle diacritics correctly. Chris Angelico <rosuav@gmail.com> - 2015-09-09 23:10 +1000
        Re: PIP does not appear to handle diacritics correctly. Tim Golden <mail@timgolden.me.uk> - 2015-09-09 16:55 +0100
          Re: PIP does not appear to handle diacritics correctly. wxjmfauth@gmail.com - 2015-09-09 10:56 -0700

#96146 — PIP does not appear to handle diacritics correctly.

FromLaszlo Lebrun <lazlo.lebrun@googlemail.com>
Date2015-09-08 19:14 +0000
SubjectPIP does not appear to handle diacritics correctly.
Message-ID<msnc1t$jr2$1@tota-refugium.de>
Dear group,
I do use Windows 7 and have a user name with diacritics.

Whenever I am querying an extension with pip, it will fail since it does 
not pass on the user folder correctly.
I thought PIP deals well with unicode, doesn't it?

Has anyone a clue how to fix it?
Thank you



-- 
Stand up against TTIP and ISDS !

[toc] | [next] | [standalone]


#96147

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2015-09-08 23:35 +0100
Message-ID<mailman.237.1441751759.8327.python-list@python.org>
In reply to#96146
On 08/09/2015 20:14, Laszlo Lebrun via Python-list wrote:
>
> Dear group,
> I do use Windows 7 and have a user name with diacritics.
>
> Whenever I am querying an extension with pip, it will fail since it does
> not pass on the user folder correctly.
> I thought PIP deals well with unicode, doesn't it?
>
> Has anyone a clue how to fix it?
> Thank you
>

Can you please cut and paste exactly what you tried and the failure 
messages, as there's a lot of smart people around here but we're not 
mind readers :)  Which Python and pip version are you using?  Did you 
install pip yourself or did it come with your Python installation?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#96168

FromLaszlo Lebrun <lazlo.lebrun@googlemail.com>
Date2015-09-09 07:59 +0000
Message-ID<msoot1$g99$1@tota-refugium.de>
In reply to#96147
On Tue, 08 Sep 2015 23:35:33 +0100, Mark Lawrence wrote:

> On 08/09/2015 20:14, Laszlo Lebrun via Python-list wrote:
>>
>> Dear group,
>> I do use Windows 7 and have a user name with diacritics.
>>
>> Whenever I am querying an extension with pip, it will fail since it
>> does not pass on the user folder correctly.
>> I thought PIP deals well with unicode, doesn't it?
>>
>> Has anyone a clue how to fix it?
>> Thank you
>>
>>
> Can you please cut and paste exactly what you tried and the failure
> messages, as there's a lot of smart people around here but we're not
> mind readers :)  Which Python and pip version are you using?  Did you
> install pip yourself or did it come with your Python installation?

Yes, you are right, let me append the message.
Just after a fresh install of Python with PIP on Windows. 
Whenever I start PIP, I get:
"Fatal error in launcher: Unable to create process using '"C:\Users
\BürgerGegenFluglärm\AppData\Local\Programs\Python\Python35-32
\python.exe"  "C:\Users\B³rgerGegenFluglõrm\AppData\Local\Programs\Python
\Python35-32\Scripts\pip.exe" '"

Where the correct path is "C:\Users\BürgerGegenFluglärm\AppData..."

The funny thing is that the message mentions the path twice, with 
different wrong codings.
:-(

Thank you for your help.




-- 
Stand up against TTIP and ISDS !

[toc] | [prev] | [next] | [standalone]


#96169

FromTim Golden <mail@timgolden.me.uk>
Date2015-09-09 09:13 +0100
Message-ID<mailman.256.1441786426.8327.python-list@python.org>
In reply to#96168
On 09/09/2015 08:59, Laszlo Lebrun via Python-list wrote:
> On Tue, 08 Sep 2015 23:35:33 +0100, Mark Lawrence wrote:
> 
>> On 08/09/2015 20:14, Laszlo Lebrun via Python-list wrote:
>>>
>>> Dear group,
>>> I do use Windows 7 and have a user name with diacritics.
>>>
>>> Whenever I am querying an extension with pip, it will fail since it
>>> does not pass on the user folder correctly.
>>> I thought PIP deals well with unicode, doesn't it?

> Yes, you are right, let me append the message.
> Just after a fresh install of Python with PIP on Windows. 
> Whenever I start PIP, I get:
> "Fatal error in launcher: Unable to create process using '"C:\Users
> \BürgerGegenFluglärm\AppData\Local\Programs\Python\Python35-32
> \python.exe"  "C:\Users\B³rgerGegenFluglõrm\AppData\Local\Programs\Python
> \Python35-32\Scripts\pip.exe" '"
> 
> Where the correct path is "C:\Users\BürgerGegenFluglärm\AppData..."
> 
> The funny thing is that the message mentions the path twice, with 
> different wrong codings.
> :-(
> 

What version of pip are you using? Since (from the path) I guess you
have a 32-bit version of Python 3.5, I assume it's the version which was
installed with that but just check:

pip --version

Hopefully someone here can help, but in fact pip is not part of core
Python: the ensurepip mechanism (which *is* part of core Python)
bootstraps a recent version of pip but it's maintained elsewhere.

So you may need to raise this as a bug on the Pip tracker:

https://github.com/pypa/pip/issues

TJG

[toc] | [prev] | [next] | [standalone]


#96177

Fromwxjmfauth@gmail.com
Date2015-09-09 02:10 -0700
Message-ID<2c8e3510-58ab-4451-9212-ead56b84d35a@googlegroups.com>
In reply to#96169
Le mercredi 9 septembre 2015 10:14:00 UTC+2, Tim Golden a écrit :
> On 09/09/2015 08:59, Laszlo Lebrun via Python-list wrote:
> > On Tue, 08 Sep 2015 23:35:33 +0100, Mark Lawrence wrote:
> > 
> >> On 08/09/2015 20:14, Laszlo Lebrun via Python-list wrote:
> >>>
> >>> Dear group,
> >>> I do use Windows 7 and have a user name with diacritics.
> >>>
> >>> Whenever I am querying an extension with pip, it will fail since it
> >>> does not pass on the user folder correctly.
> >>> I thought PIP deals well with unicode, doesn't it?
> 
> > Yes, you are right, let me append the message.
> > Just after a fresh install of Python with PIP on Windows. 
> > Whenever I start PIP, I get:
> > "Fatal error in launcher: Unable to create process using '"C:\Users
> > \BürgerGegenFluglärm\AppData\Local\Programs\Python\Python35-32
> > \python.exe"  "C:\Users\B³rgerGegenFluglõrm\AppData\Local\Programs\Python
> > \Python35-32\Scripts\pip.exe" '"
> > 
> > Where the correct path is "C:\Users\BürgerGegenFluglärm\AppData..."
> > 
> > The funny thing is that the message mentions the path twice, with 
> > different wrong codings.
> > :-(
> > 
> 
> What version of pip are you using? Since (from the path) I guess you
> have a 32-bit version of Python 3.5, I assume it's the version which was
> installed with that but just check:
> 
> pip --version
> 
> Hopefully someone here can help, but in fact pip is not part of core
> Python: the ensurepip mechanism (which *is* part of core Python)
> bootstraps a recent version of pip but it's maintained elsewhere.
> 
> So you may need to raise this as a bug on the Pip tracker:
> 
> https://github.com/pypa/pip/issues
> 
> TJG

The problem in not pip. Python *is* the problem.

[toc] | [prev] | [next] | [standalone]


#96185

FromLaszlo Lebrun <lazlo.lebrun@googlemail.com>
Date2015-09-09 11:03 +0000
Message-ID<msp3m3$kq8$1@tota-refugium.de>
In reply to#96169
On Wed, 09 Sep 2015 09:13:41 +0100, Tim Golden wrote:

> On 09/09/2015 08:59, Laszlo Lebrun via Python-list wrote:
>> On Tue, 08 Sep 2015 23:35:33 +0100, Mark Lawrence wrote:
>> 
>>> On 08/09/2015 20:14, Laszlo Lebrun via Python-list wrote:
>>>>
>>>> Dear group,
>>>> I do use Windows 7 and have a user name with diacritics.
>>>>
>>>> Whenever I am querying an extension with pip, it will fail since it
>>>> does not pass on the user folder correctly.
>>>> I thought PIP deals well with unicode, doesn't it?
> 
>> Yes, you are right, let me append the message.
>> Just after a fresh install of Python with PIP on Windows.
>> Whenever I start PIP, I get:
>> "Fatal error in launcher: Unable to create process using '"C:\Users
>> \BürgerGegenFluglärm\AppData\Local\Programs\Python\Python35-32
>> \python.exe" 
>> "C:\Users\B³rgerGegenFluglõrm\AppData\Local\Programs\Python
>> \Python35-32\Scripts\pip.exe" '"
>> 
>> Where the correct path is "C:\Users\BürgerGegenFluglärm\AppData..."
>> 
>> The funny thing is that the message mentions the path twice, with
>> different wrong codings.
>> :-(
>> 
>> 
> What version of pip are you using? Since (from the path) I guess you
> have a 32-bit version of Python 3.5, I assume it's the version which was
> installed with that but just check:
> 
> pip --version
> 
Sorry I can't even execute that one.
I keep getting the weird error message.
But I just downloaded it 3 days ago, so it should be the current one.

> Hopefully someone here can help, but in fact pip is not part of core
> Python: the ensurepip mechanism (which *is* part of core Python)
> bootstraps a recent version of pip but it's maintained elsewhere.
> 
> So you may need to raise this as a bug on the Pip tracker:
> 
> https://github.com/pypa/pip/issues
> 
done. Thank you.





-- 
Stand up against TTIP and ISDS !

[toc] | [prev] | [next] | [standalone]


#96172

FromChris Angelico <rosuav@gmail.com>
Date2015-09-09 18:23 +1000
Message-ID<mailman.259.1441787028.8327.python-list@python.org>
In reply to#96168
On Wed, Sep 9, 2015 at 5:59 PM, Laszlo Lebrun via Python-list
<python-list@python.org> wrote:
> Whenever I start PIP, I get:
> "Fatal error in launcher: Unable to create process using '"C:\Users
> \BürgerGegenFluglärm\AppData\Local\Programs\Python\Python35-32
> \python.exe"  "C:\Users\B³rgerGegenFluglõrm\AppData\Local\Programs\Python
> \Python35-32\Scripts\pip.exe" '"
>
> Where the correct path is "C:\Users\BürgerGegenFluglärm\AppData..."
>
> The funny thing is that the message mentions the path twice, with
> different wrong codings.
> :-(

Peculiar. I don't know if it helps, but the first one seems to have
been encoded UTF-8 and then decoded CP437; and the second has been
encoded Latin-1 and decoded CP850.

>>> "BürgerGegenFluglärm".encode("utf-8").decode("437")
'BürgerGegenFluglärm'
>>> "BürgerGegenFluglärm".encode("iso-8859-1").decode("850")
'B³rgerGegenFluglõrm'

But why those particular encodings... weird.

ChrisA

[toc] | [prev] | [next] | [standalone]


#96194

FromWolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de>
Date2015-09-09 18:16 +0200
Message-ID<mailman.272.1441815411.8327.python-list@python.org>
In reply to#96168
On 09.09.2015 10:23, Chris Angelico wrote:
> On Wed, Sep 9, 2015 at 5:59 PM, Laszlo Lebrun via Python-list
> <python-list@python.org> wrote:
>> Whenever I start PIP, I get:
>> "Fatal error in launcher: Unable to create process using '"C:\Users
>> \BürgerGegenFluglärm\AppData\Local\Programs\Python\Python35-32
>> \python.exe"  "C:\Users\B³rgerGegenFluglõrm\AppData\Local\Programs\Python
>> \Python35-32\Scripts\pip.exe" '"
>>
>> Where the correct path is "C:\Users\BürgerGegenFluglärm\AppData..."
>>
>> The funny thing is that the message mentions the path twice, with
>> different wrong codings.
>> :-(
>

I may be wrong, but isn't the error message suggesting that this is a 
bug in the py launcher instead of in pip?
If I remember a post from a recent thread correctly, then pip.exe is 
just a script using the launcher.
If that's true, shouldn't the recommended:

python -m pip

be a workaround?

I might be wrong, but it's worth a try.
Best,
Wolfgang

[toc] | [prev] | [next] | [standalone]


#96195

FromTim Golden <mail@timgolden.me.uk>
Date2015-09-09 17:21 +0100
Message-ID<mailman.273.1441815722.8327.python-list@python.org>
In reply to#96168
On 09/09/2015 17:16, Wolfgang Maier wrote:
> On 09.09.2015 10:23, Chris Angelico wrote:
>> On Wed, Sep 9, 2015 at 5:59 PM, Laszlo Lebrun via Python-list
>> <python-list@python.org> wrote:
>>> Whenever I start PIP, I get:
>>> "Fatal error in launcher: Unable to create process using '"C:\Users
>>> \BürgerGegenFluglärm\AppData\Local\Programs\Python\Python35-32
>>> \python.exe" 
>>> "C:\Users\B³rgerGegenFluglõrm\AppData\Local\Programs\Python
>>> \Python35-32\Scripts\pip.exe" '"
>>>
>>> Where the correct path is "C:\Users\BürgerGegenFluglärm\AppData..."
>>>
>>> The funny thing is that the message mentions the path twice, with
>>> different wrong codings.
>>> :-(
>>
> 
> I may be wrong, but isn't the error message suggesting that this is a
> bug in the py launcher instead of in pip?
> If I remember a post from a recent thread correctly, then pip.exe is
> just a script using the launcher.
> If that's true, shouldn't the recommended:
> 
> python -m pip
> 
> be a workaround?
> 
> I might be wrong, but it's worth a try.

Actually, that's a good point. Especially given the start of the error
message...

TJG

[toc] | [prev] | [next] | [standalone]


#96223

FromLaszlo Lebrun <lazlo.lebrun@googlemail.com>
Date2015-09-09 20:23 +0000
Message-ID<msq4gj$kq8$3@tota-refugium.de>
In reply to#96195
On Wed, 09 Sep 2015 17:21:59 +0100, Tim Golden wrote:

> On 09/09/2015 17:16, Wolfgang Maier wrote:
>> On 09.09.2015 10:23, Chris Angelico wrote:
>>> On Wed, Sep 9, 2015 at 5:59 PM, Laszlo Lebrun via Python-list
>>> <python-list@python.org> wrote:
>>>> Whenever I start PIP, I get:
>>>> "Fatal error in launcher: Unable to create process using '"C:\Users
>>>> \BürgerGegenFluglärm\AppData\Local\Programs\Python\Python35-32
>>>> \python.exe"
>>>> "C:\Users\B³rgerGegenFluglõrm\AppData\Local\Programs\Python
>>>> \Python35-32\Scripts\pip.exe" '"
>>>>
>>>> Where the correct path is "C:\Users\BürgerGegenFluglärm\AppData..."
>>>>
>>>> The funny thing is that the message mentions the path twice, with
>>>> different wrong codings.
>>>> :-(
>>>
>>>
>> I may be wrong, but isn't the error message suggesting that this is a
>> bug in the py launcher instead of in pip?
>> If I remember a post from a recent thread correctly, then pip.exe is
>> just a script using the launcher.
>> If that's true, shouldn't the recommended:
>> 
>> python -m pip
>> 
>> be a workaround?
>> 
>> I might be wrong, but it's worth a try.
> 
> Actually, that's a good point. Especially given the start of the error
> message...
> 
> TJG

python -m pip works well.
That's a help, I will be able to get the libraries I need.
Thank you.




-- 
Stand up against TTIP and ISDS !

[toc] | [prev] | [next] | [standalone]


#96219

FromTim Golden <mail@timgolden.me.uk>
Date2015-09-09 20:59 +0100
Message-ID<mailman.293.1441828781.8327.python-list@python.org>
In reply to#96168
On 09/09/2015 08:59, Laszlo Lebrun via Python-list wrote:
> On Tue, 08 Sep 2015 23:35:33 +0100, Mark Lawrence wrote:
>
>> On 08/09/2015 20:14, Laszlo Lebrun via Python-list wrote:
>>>
>>> Dear group,
>>> I do use Windows 7 and have a user name with diacritics.
>>>
>>> Whenever I am querying an extension with pip, it will fail since it
>>> does not pass on the user folder correctly.
>>> I thought PIP deals well with unicode, doesn't it?
>>>
>>> Has anyone a clue how to fix it?
>>> Thank you
>>>
>>>

> Yes, you are right, let me append the message.
> Just after a fresh install of Python with PIP on Windows.
> Whenever I start PIP, I get:
> "Fatal error in launcher: Unable to create process using '"C:\Users
> \BürgerGegenFluglärm\AppData\Local\Programs\Python\Python35-32
> \python.exe"  "C:\Users\B³rgerGegenFluglõrm\AppData\Local\Programs\Python
> \Python35-32\Scripts\pip.exe" '"
>
> Where the correct path is "C:\Users\BürgerGegenFluglärm\AppData..."


Well on my Win8.1 machine I created a local user with the name you give 
and did a fresh install of the very latest Python 3.5rc. I installed 
from the 32-bit web installer and the only variation from the defaults 
was to add Python to the PATH (the last checkbox on the first page of 
the wizard).

It all installed without issue and I was able to do "pip --version" from 
a command prompt to see that it had installed pip 7.1.something.

Now this is on my standard dev machine, ie not a virgin VM, and it's 8.1 
rather than Win7, but it's not clear why either of those would make a 
difference.

The standard codepage for console processes appears to be 850.

Let's see if the pip guys respond to your bug request

TJG

[toc] | [prev] | [next] | [standalone]


#96222

FromWolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de>
Date2015-09-09 22:20 +0200
Message-ID<mailman.295.1441830041.8327.python-list@python.org>
In reply to#96168
On 09.09.2015 21:59, Tim Golden wrote:
>
> Well on my Win8.1 machine I created a local user with the name you give
> and did a fresh install of the very latest Python 3.5rc. I installed
> from the 32-bit web installer and the only variation from the defaults
> was to add Python to the PATH (the last checkbox on the first page of
> the wizard).
>
> It all installed without issue and I was able to do "pip --version" from
> a command prompt to see that it had installed pip 7.1.something.
>
> Now this is on my standard dev machine, ie not a virgin VM, and it's 8.1
> rather than Win7, but it's not clear why either of those would make a
> difference.
>
> The standard codepage for console processes appears to be 850.
>

It's been resolved a minute ago. See 
https://github.com/pypa/pip/issues/3087#issuecomment-139034217 for an 
explanation of why the latest rc does not have the bug.

[toc] | [prev] | [next] | [standalone]


#96224

Fromrandom832@fastmail.us
Date2015-09-09 16:23 -0400
Message-ID<mailman.296.1441830234.8327.python-list@python.org>
In reply to#96168
On Wed, Sep 9, 2015, at 15:59, Tim Golden wrote:
> On 09/09/2015 08:59, Laszlo Lebrun via Python-list wrote:
> > Yes, you are right, let me append the message.
> > Just after a fresh install of Python with PIP on Windows.
> > Whenever I start PIP, I get:
> > "Fatal error in launcher: Unable to create process using '"C:\Users
> > \BürgerGegenFluglärm\AppData\Local\Programs\Python\Python35-32
> > \python.exe"  "C:\Users\B³rgerGegenFluglõrm\AppData\Local\Programs\Python
> > \Python35-32\Scripts\pip.exe" '"
> >
> > Where the correct path is "C:\Users\BürgerGegenFluglärm\AppData..."
> 
> 
> Well on my Win8.1 machine I created a local user with the name you give 
> and did a fresh install of the very latest Python 3.5rc. I installed 
> from the 32-bit web installer and the only variation from the defaults 
> was to add Python to the PATH (the last checkbox on the first page of 
> the wizard).

Did you install Python _under_ the user directory? If the programs it's
trying to launch are in C:\Python35 instead of
C:\Users\BürgerGegenFluglärm the bug won't show up.

I've never actually seen an "AppData\Local\Programs\Python" directory.
Is this an ActiveState thing? Is there an "Install just for me" option
in the installer that will choose a different default install location?

> It all installed without issue and I was able to do "pip --version" from 
> a command prompt to see that it had installed pip 7.1.something.
> 
> Now this is on my standard dev machine, ie not a virgin VM, and it's 8.1 
> rather than Win7, but it's not clear why either of those would make a 
> difference.
> 
> The standard codepage for console processes appears to be 850.

The strings shown above are, respectively, the name as UTF-8
reinterpreted as 850, and the name as 1252 reinterpreted as 850
(Incidentally, the latter will appear as "BⁿrgerGegenFluglΣrm" for US
users if it is reinterpreted as 437 instead). It's possible that one or
both may be caused partially by issues with how the error message was
printed.

[toc] | [prev] | [next] | [standalone]


#96245

Fromwxjmfauth@gmail.com
Date2015-09-09 23:54 -0700
Message-ID<963952cc-a8b9-4573-bcba-036c3fe1a131@googlegroups.com>
In reply to#96224
> pfmoore commented 10 hours ago
> Sigh. Agreed, that's a horrible error. To be honest,
> I have no idea what it means :-(

Once again. The problem is not pip, the problem is Python.
There are plenty of apps, tools presenting similar issues.

This language has never work properly outside the ascii
world. Not only on Win platforms.

Since 2-3 years, I collecting all the bugs, issues, I encountered
related to the coding of characters. A rather long list.

See also the bugs tracker.

pip should not be fixed, there should be no reason to fix
it. It should work automatically smoothly "outside ascci"
(at least bmp). But, if the engine is not working...

I know Python since ... > 15(?) years, Py 1.5.?.
Sometimes I'm just wondering if all this unicode stuff
in Py3 has not been naively added on top of something
(Py2) which was already not woking properly "outside
ascii", eg non ascii dict keys.

[toc] | [prev] | [next] | [standalone]


#96165

Fromwxjmfauth@gmail.com
Date2015-09-09 00:22 -0700
Message-ID<17f087e9-59d4-4f23-8e3c-d054f03674f6@googlegroups.com>
In reply to#96146
Le mardi 8 septembre 2015 21:14:18 UTC+2, Laszlo Lebrun a écrit :
> Dear group,
> I do use Windows 7 and have a user name with diacritics.
> 
> Whenever I am querying an extension with pip, it will fail since it does 
> not pass on the user folder correctly.
> I thought PIP deals well with unicode, doesn't it?
> 
> Has anyone a clue how to fix it?
> Thank you
> 
> 
> 
> -- 
> Stand up against TTIP and ISDS !

Finally! I expected this already 2 years ago.

Who knows. Maybe one day, these brave Python devs
will understand their "Character Encoding Model"
is wrong by design.

To understand this, the prerequisite is to understand
*Unicode* and this is clearly not the case.

----

> Has anyone a clue how to fix it?
Yes, I know how to fix all these problems.

jmf

----

PS LibreOffice 5 is also not working when one uses
one its scripting languages.

[toc] | [prev] | [next] | [standalone]


#96186

FromLaszlo Lebrun <lazlo.lebrun@googlemail.com>
Date2015-09-09 11:07 +0000
Message-ID<msp3t8$kq8$2@tota-refugium.de>
In reply to#96165
On Wed, 09 Sep 2015 00:22:31 -0700, wxjmfauth wrote:

> Yes, I know how to fix all these problems.

I know as well: have a user, which name is just plain ASCII. 
But it sucks to rebuild everything...



-- 
Stand up against TTIP and ISDS !

[toc] | [prev] | [next] | [standalone]


#96189

FromChris Angelico <rosuav@gmail.com>
Date2015-09-09 23:10 +1000
Message-ID<mailman.266.1441804214.8327.python-list@python.org>
In reply to#96186
On Wed, Sep 9, 2015 at 9:07 PM, Laszlo Lebrun via Python-list
<python-list@python.org> wrote:
> On Wed, 09 Sep 2015 00:22:31 -0700, wxjmfauth wrote:
>
>> Yes, I know how to fix all these problems.
>
> I know as well: have a user, which name is just plain ASCII.
> But it sucks to rebuild everything...

Don't bother responding to jmf - he's our resident Unicode troll. His
posts don't get through to me any more, except when someone responds
:) Not sure where they're getting blocked; probably at the news<->list
boundary.

You shouldn't have to restrict your username to ASCII. It's 2015, and
non-ASCII names should work everywhere. Anywhere they don't is a bug
to be fixed, and I'm confident the pip folks will treat this with the
respect it deserves.

ChrisA

[toc] | [prev] | [next] | [standalone]


#96192

FromTim Golden <mail@timgolden.me.uk>
Date2015-09-09 16:55 +0100
Message-ID<mailman.271.1441814106.8327.python-list@python.org>
In reply to#96186
On 09/09/2015 14:10, Chris Angelico wrote:
> Don't bother responding to jmf - he's our resident Unicode troll. His
> posts don't get through to me any more, except when someone responds
> :) Not sure where they're getting blocked; probably at the news<->list
> boundary.

They're held for mailing list moderation. If they're the usual rant I
discard them.

> You shouldn't have to restrict your username to ASCII. It's 2015, and
> non-ASCII names should work everywhere. Anywhere they don't is a bug
> to be fixed, and I'm confident the pip folks will treat this with the
> respect it deserves.

Definitely. I'll try to reproduce this at home (when I have access to a
machine on which I can create a suitably unicode-y username).

TJG

[toc] | [prev] | [next] | [standalone]


#96201

Fromwxjmfauth@gmail.com
Date2015-09-09 10:56 -0700
Message-ID<a1e283ae-7173-4d9c-8379-a31fce6b962d@googlegroups.com>
In reply to#96192
Le mercredi 9 septembre 2015 17:55:28 UTC+2, Tim Golden a écrit :
> On 09/09/2015 14:10, Chris Angelico wrote:
> > Don't bother responding to jmf - he's our resident Unicode troll. His
> > posts don't get through to me any more, except when someone responds
> > :) Not sure where they're getting blocked; probably at the news<->list
> > boundary.
> 
> They're held for mailing list moderation. If they're the usual rant I
> discard them.
> 
> > You shouldn't have to restrict your username to ASCII. It's 2015, and
> > non-ASCII names should work everywhere. Anywhere they don't is a bug
> > to be fixed, and I'm confident the pip folks will treat this with the
> > respect it deserves.
> 
> Definitely. I'll try to reproduce this at home (when I have access to a
> machine on which I can create a suitably unicode-y username).
> 
> TJG

And if possible. Try to be a user, not an administrator.
I'm seeing strange things on that side.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web