[Bug 361801] [NEW] setup.py register bails
debatem1
debatem1 at gmail.com
Wed Apr 15 16:07:47 UTC 2009
Public bug reported:
Binary package hint: python3.0
When running setup.py register to register a package with PyPI, the
script bails, saying that raw_input requires exactly one argument, with
zero recieved. This is because in
/usr/lib/python3.0/distutils/command/register.py there is a
reimplementation of the raw_input(prompt) function, which was removed
from python3.0 and replaced with input(). However, the cause of the
problem is that raw_input() did not require an argument, while its
reimplementation does. Since, on line 157 of that file, raw_input is
called without arguments, the script bails horribly. Replacement of all
occurrences of raw_input with input and removing the extraneous function
seems to do the job in fixing it.
** Affects: python3.0 (Ubuntu)
Importance: Undecided
Status: New
--
setup.py register bails
https://bugs.launchpad.net/bugs/361801
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list