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


Groups > comp.lang.python > #81527

PyPI auth issues (Server response (401): basic auth failed)

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 <rbanffy@gmail.com>
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 Ricardo Bánffy <rbanffy@gmail.com>
Date Tue, 25 Nov 2014 21:26:09 +0000
Subject PyPI auth issues (Server response (401): basic auth failed)
To "python-list@python.org" <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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.16295.1416950773.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

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?

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

PyPI auth issues (Server response (401): basic auth failed) Ricardo Bánffy <rbanffy@gmail.com> - 2014-11-25 21:26 +0000

csiph-web