Message88664
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() |
|
Date |
User |
Action |
Args |
2009-06-01 18:32:27 | srid | set | recipients:
+ srid, tarek |
2009-06-01 18:32:27 | srid | set | messageid: <1243881147.82.0.337721955444.issue6166@psf.upfronthosting.co.za> |
2009-06-01 18:32:26 | srid | link | issue6166 messages |
2009-06-01 18:32:26 | srid | create | |
|