Path: csiph.com!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'value,': 0.03; 'error:': 0.05; 'subject:bug': 0.05; 'character,': 0.07; 'option,': 0.07; 'report.': 0.07; 'setup.py': 0.07; '%r"': 0.09; 'key)': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'section,': 0.09; 'bug': 0.10; '46,': 0.16; 'defaults,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.16; 'config': 0.18; 'skip:" 30': 0.20; 'skip:" 40': 0.20; 'password.': 0.22; 'thanks,': 0.24; 'tried': 0.24; '(most': 0.24; 'url:bugs': 0.24; 'header:User-Agent:1': 0.26; 'header:X -Complaints-To:1': 0.26; 'followed': 0.27; 'executing': 0.27; 'asked': 0.29; '15,': 0.30; 'somebody': 0.30; 'probably': 0.31; 'skip:s 30': 0.31; 'skip:_ 10': 0.32; 'run': 0.33; 'problem': 0.33; 'url:python': 0.33; 'traceback': 0.33; 'file': 0.34; 'skip:c 30': 0.35; 'next': 0.35; 'could': 0.35; 'saved': 0.35; 'instead': 0.36; 'there': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'wanted': 0.37; 'submit': 0.39; 'to:addr:python.org': 0.40; 'save': 0.60; 'confirm': 0.62; 'course': 0.62; 'today': 0.65; 'header:Reply-To:1': 0.67; 'internet': 0.70; 'reply-to:no real name:2**0': 0.71; 'reply-to:addr:gmail.com': 0.76; 'nagy': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Kev Dwyer Subject: Re: PyPi bug? Date: Thu, 22 Oct 2015 18:40:53 +0100 References: <5627ACD7.20704@shopzeus.com> Reply-To: kevin.p.dwyer@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Gmane-NNTP-Posting-Host: cpc5-hari13-2-0-cust222.20-2.cable.virginm.net Mail-Copies-To: kevin.p.dwyer@gmail.com User-Agent: KNode/4.14.9 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 59 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1445535709 news.xs4all.nl 23810 [2001:888:2000:d::a6]:44816 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:97909 Nagy László Zsolt wrote: > Today I have tried to register and upload a new package by executing > > setup.py register > > > I was asked if I want to save the creditentials in a .pypirc file and I > answered yes. > > Next I wanted to run > > setup.py upload > > and I got this error: > > > Traceback (most recent call last): > File "C:\Python\Projects\some_package\setup.py", line 15, in > classifiers=['Topic :: Security', 'Topic :: Internet :: WWW/HTTP'], > File "C:\Python35\lib\distutils\core.py", line 148, in setup > dist.run_commands() > File "C:\Python35\lib\distutils\dist.py", line 955, in run_commands > self.run_command(cmd) > File "C:\Python35\lib\distutils\dist.py", line 973, in run_command > cmd_obj.ensure_finalized() > File "C:\Python35\lib\distutils\cmd.py", line 107, in ensure_finalized > self.finalize_options() > File "C:\Python35\lib\distutils\command\upload.py", line 46, in > finalize_options > config = self._read_pypirc() > File "C:\Python35\lib\distutils\config.py", line 83, in _read_pypirc > current[key] = config.get(server, key) > File "C:\Python35\lib\configparser.py", line 798, in get > d) > File "C:\Python35\lib\configparser.py", line 396, in before_get > self._interpolate_some(parser, option, L, value, section, defaults, 1) > File "C:\Python35\lib\configparser.py", line 445, in _interpolate_some > "found: %r" % (rest,)) > configparser.InterpolationSyntaxError: '%' must be followed by '%' or > '(', found > : *****************' > > Instead of the many stars, of course there is the password. The problem > might be that the password contains a % character, and it was > incorrectly saved by distutils. > > Can somebody please confirm that this is a bug in distutils? The we > probably have to submit a bug report. > > Thanks, > > Laszlo Could be http://bugs.python.org/issue20120 ?