This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author srid
Recipients srid, tarek
Date 2009-06-01.18:32:26
SpamBayes Score 7.834566e-11
Marked as misclassified No
Message-id <1243881147.82.0.337721955444.issue6166@psf.upfronthosting.co.za>
In-reply-to
Content
I ran 'python setup.py --author' for the pypi package "ll-orasql-0.6"
(whose author name has non-ascii characters) under subprocess.Popen and
this is what I get:

Traceback (most recent call last):
  File "/home/sridharr/as/pypm/bin/python", line 39, in <module>
    execfile(sys.argv[0])
  File "setup.py", line 50, in <module>
    package_dir={"ll": ""}
  File "/opt/ActivePython-2.6/lib/python2.6/distutils/core.py", line
138, in setup
    ok = dist.parse_command_line()
  File "/opt/ActivePython-2.6/lib/python2.6/distutils/dist.py", line
456, in parse_command_line
    if self.handle_display_options(option_order):
  File "/opt/ActivePython-2.6/lib/python2.6/distutils/dist.py", line
704, in handle_display_options
    print value
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in
position 8: ordinal not in range(128)

When ran under the console, this exception is not seen. Otherwise, the
return code is 1 and nothing (apart from the above exception) is printed.

How to reproduce?
=================

Download `ll-orasql-0.6` from PyPI and run the following in the Python
shell:

>>> subprocess.Popen('python setup.py --author', stdout=subprocess.PIPE,
shell=True).stdout.read()
History
Date User Action Args
2009-06-01 18:32:27sridsetrecipients: + srid, tarek
2009-06-01 18:32:27sridsetmessageid: <1243881147.82.0.337721955444.issue6166@psf.upfronthosting.co.za>
2009-06-01 18:32:26sridlinkissue6166 messages
2009-06-01 18:32:26sridcreate