Path: csiph.com!goblin1!goblin.stu.neva.ru!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.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.001 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; 'section,': 0.09; 'bug': 0.10; '46,': 0.16; 'defaults,': 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; '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; 'traceback': 0.33; 'file': 0.34; 'skip:c 30': 0.35; 'next': 0.35; 'saved': 0.35; 'instead': 0.36; 'there': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'wanted': 0.37; 'submit': 0.39; 'to:addr:python.org': 0.40; 'save': 0.60; 'confirm': 0.62; 'course': 0.62; 'charset:iso-8859-2': 0.64; 'today': 0.65; 'internet': 0.70 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shopzeus.com; s=shopzeus_com; t=1445440726; bh=ksaTMoCoem1UcOEvGlDdAXJsc4a4z2QpkfMQVMGKjXk=; h=To:From:Subject:Date:From; b=MfQujiqCkgBAyJcvW4PQ/jM0aG7XqlJAMze51SNeRs4DSJYB+SNVW2mXxq28iSQes 58hEwqMsO4/TPxgfYKMZ5QJKMH2vbW52d9ZEZrqLOovcJOlI9P1C8b61F6u7ufksj0 96a5MM9p5438DPG85sjfSdGHUsPJeq9HfclvEoSKSXk25hSICQawgLbc3G6M0/7r28 rEJ8keRmblCQ9ilpX5JSx9SWgm+qg77JCVYuTj2GBSRj1Ph+VKvdAsoxdWUMZ3Kern H4JhlfTWjND4n7TwHZEe1Q8HfqPnhEw6pstd/jHiW7MXaJzPzFztk/vQoCCTujVHf9 bpgGLDp2m8CtA== To: python-list@python.org From: =?UTF-8?Q?Nagy_L=c3=a1szl=c3=b3_Zsolt?= Subject: PyPi bug? Date: Wed, 21 Oct 2015 17:18:47 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit 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: 52 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1445440731 news.xs4all.nl 23867 [2001:888:2000:d::a6]:33227 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:97862 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