Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'url:pypi': 0.03; 'skip:[ 20': 0.04; 'value,': 0.04; 'pypi': 0.07; 'setup.py': 0.09; 'subject:PyPI': 0.09; 'wrong,': 0.09; 'python': 0.11; 'template': 0.14; '#python': 0.16; '[distutils]': 0.16; 'attempted': 0.16; 'channel)': 0.16; 'manifest': 0.16; 'subject:failed': 0.16; 'top- level': 0.16; 'folks': 0.16; 'result.': 0.19; 'skip:a 60': 0.19; 'to:name:python-list@python.org': 0.22; "i've": 0.25; 'matching': 0.30; 'moved': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'getting': 0.31; "skip:' 10": 0.31; 'clever': 0.31; 'credentials': 0.31; "skip:' 40": 0.31; 'file': 0.32; 'checked': 0.32; 'figure': 0.32; 'selection': 0.32; 'another': 0.32; 'url:python': 0.33; 'running': 0.33; 'subject: (': 0.35; 'basic': 0.35; "can't": 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'are,': 0.36; 'reflect': 0.36; 'doing': 0.36; 'url:org': 0.36; 'so,': 0.37; 'server': 0.38; 'follows:': 0.38; 'skip:[ 10': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'to:addr:python.org': 0.39; 'changed': 0.39; 'skip:a 50': 0.61; 'new': 0.61; 'from:charset:utf-8': 0.61; 'real': 0.63; 'choose': 0.64; 'user,': 0.69; 'skip:a 40': 0.72; 'site:': 0.83; 'login,': 0.84; 'either:': 0.91; 'subject:Server': 0.91; 'subject:response': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=mOaVKVmGH1Ef1EzXpOeq6XgsTCzWSFZRZWduKSaZjmE=; b=GkzBgZ8X0kssgXIpgVBYdlAdluZqMpnmjN/lseSeNNC2v/nQ3FVqX92F277Yc6rgiH lD6wruppj8dJPJCEsMtPtNgTxfONUFqCS+h1FwvVZIrYrlhtAwrqmbasoqifgDK+jIBV uuKIeTb1wnLN1jzjB5MvZOVrdJJCW/u/Xjv3Ie+WOH/4ii7QEQBXrfQXKQG/JXqHDclm FTYk9oE0sZhiJH8GqtzviwHojcpXVrYI6JIi8vqBaUq7PNyeZdrFSCVHPZXFHU4YhjYU Yp1kbDt2RlkWerakIRwONvoSuwnDnNnt+uTL2bjs04CgLRrk7rylfxh8VOlUgfM04hGG cqWg== X-Received: by 10.50.47.14 with SMTP id z14mr19440250igm.38.1416950769992; Tue, 25 Nov 2014 13:26:09 -0800 (PST) MIME-Version: 1.0 From: =?UTF-8?Q?Ricardo_B=C3=A1nffy?= Date: Tue, 25 Nov 2014 21:26:09 +0000 Subject: PyPI auth issues (Server response (401): basic auth failed) To: "python-list@python.org" Content-Type: multipart/alternative; boundary=089e013d0b744f54a70508b58ff4 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 134 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1416950773 news.xs4all.nl 2917 [2001:888:2000:d::a6]:37401 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:81527 --089e013d0b744f54a70508b58ff4 Content-Type: text/plain; charset=UTF-8 Hi folks. I must be doing something wrong, but I (and the clever folks at the #python channel) can't figure what. I'm doing a: python setup.py register -r pypitest And getting the following in return running register running egg_info writing Appengine_Fixture_Loader.egg-info/PKG-INFO writing top-level names to Appengine_Fixture_Loader.egg-info/top_level.txt writing dependency_links to Appengine_Fixture_Loader.egg-info/dependency_links.txt reading manifest file 'Appengine_Fixture_Loader.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' writing manifest file 'Appengine_Fixture_Loader.egg-info/SOURCES.txt' running check Registering Appengine-Fixture-Loader to https://testpypi.python.org/pypi Server response (401): basic auth failed I've checked my auth credentials at the pypitest site, changed the password to another value, changed the .pypirc file to reflect it and got the same result. ~/.pypirc is as follows: [distutils] index-servers = pypi pypitest [pypi] repository: https://pypi.python.org/pypi username: rbanffy [pypitest] repository: https://testpypi.python.org/pypi username: rbanffy password: [super-secret-password] I then moved the .pypirc file and attempted to register the package at the real PyPI site: running register running egg_info writing Appengine_Fixture_Loader.egg-info/PKG-INFO writing top-level names to Appengine_Fixture_Loader.egg-info/top_level.txt writing dependency_links to Appengine_Fixture_Loader.egg-info/dependency_links.txt reading manifest file 'Appengine_Fixture_Loader.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' writing manifest file 'Appengine_Fixture_Loader.egg-info/SOURCES.txt' running check We need to know who you are, so please choose either: 1. use your existing login, 2. register as a new user, 3. have the server generate a new password for you (and email it to you), or 4. quit Your selection [default 1]: 1 Username: rbanffy Password: Registering Appengine-Fixture-Loader to http://pypi.python.org/pypi Server response (401): basic auth failed So, what am I doing wrong? --089e013d0b744f54a70508b58ff4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi folks.

I must be doing something wrong, but I (and the clever fol= ks at the #python channel) can't figure what.=C2=A0

I'm doin= g a:

python setup.py register -r pypitest

<= div>And getting the following in return

running register<= /div>
running egg_info
writing Appengine_Fixture_Loader.egg-i= nfo/PKG-INFO
writing top-level names to Appengine_Fixture_Loader.= egg-info/top_level.txt
writing dependency_links to Appengine_Fixt= ure_Loader.egg-info/dependency_links.txt
reading manifest file &#= 39;Appengine_Fixture_Loader.egg-info/SOURCES.txt'
reading man= ifest template 'MANIFEST.in'
warning: no previously-inclu= ded files matching '__pycache__' found under directory '*'<= /div>
warning: no previously-included files matching '*.py[co]'= found under directory '*'
writing manifest file 'App= engine_Fixture_Loader.egg-info/SOURCES.txt'
running check
Registering Appengine-Fixture-Loader to https://testpypi.python.org/pypi
Server resp= onse (401): basic auth failed

I've checked my auth credentials a= t the pypitest site, changed the password to another value, changed the .py= pirc file to reflect it and got the same result.

~/.pypirc is as fol= lows:

[distutils]
index-servers =3D
=C2=A0 = =C2=A0 pypi
=C2=A0 =C2=A0 pypitest

[pypi= ]
username: rbanffy

[pypitest]
username: rbanffy
<= div>password: [super-secret-password]

I then moved the .pypirc file = and attempted to register the package at the real PyPI site:

ru= nning register
running egg_info
writing Appengine_Fixtu= re_Loader.egg-info/PKG-INFO
writing top-level names to Appengine_= Fixture_Loader.egg-info/top_level.txt
writing dependency_links to= Appengine_Fixture_Loader.egg-info/dependency_links.txt
reading m= anifest file 'Appengine_Fixture_Loader.egg-info/SOURCES.txt'
<= div>reading manifest template 'MANIFEST.in'
warning: no p= reviously-included files matching '__pycache__' found under directo= ry '*'
warning: no previously-included files matching = 9;*.py[co]' found under directory '*'
writing manifes= t file 'Appengine_Fixture_Loader.egg-info/SOURCES.txt'
ru= nning check
We need to know who you are, so please choose either:=
=C2=A01. use your existing login,
=C2=A02. register as= a new user,
=C2=A03. have the server generate a new password for= you (and email it to you), or
=C2=A04. quit
Your selec= tion [default 1]:
1
Username: rbanffy
Passwor= d:
Registering Appengine-Fixture-Loader to http://pypi.python.org/pypi
Server response= (401): basic auth failed

So, what am I doing wrong?
--089e013d0b744f54a70508b58ff4--