I can't confirm or deny that with the data given:)

Have a look in your .pypirc file - don't share it, it has your
password in it - but see if it looks sane. If you can't tell, mask out
your username and password and share the content. If you do that,
please be sure to note exactly how the % in your password was encoded
in the file.

-Rob

On 22 October 2015 at 18:40, Nagy László Zsolt <gand...@shopzeus.com> 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?
>
> Thanks,
>
>    Laszlo
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG@python.org
> https://mail.python.org/mailman/listinfo/distutils-sig



-- 
Robert Collins <rbtcoll...@hp.com>
Distinguished Technologist
HP Converged Cloud
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to