Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #97909 > unrolled thread
| Started by | Kev Dwyer <kevin.p.dwyer@gmail.com> |
|---|---|
| First post | 2015-10-22 18:40 +0100 |
| Last post | 2015-10-22 18:40 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: PyPi bug? Kev Dwyer <kevin.p.dwyer@gmail.com> - 2015-10-22 18:40 +0100
| From | Kev Dwyer <kevin.p.dwyer@gmail.com> |
|---|---|
| Date | 2015-10-22 18:40 +0100 |
| Subject | Re: PyPi bug? |
| Message-ID | <mailman.106.1445535709.878.python-list@python.org> |
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 <module>
> 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 ?
Back to top | Article view | comp.lang.python
csiph-web