[MacPorts] #51932: pypi2port: UnicodeEncodeError: 'ascii' codec can't encode character

MacPorts noreply at macports.org
Thu Jul 28 07:25:15 PDT 2016


#51932: pypi2port: UnicodeEncodeError: 'ascii' codec can't encode character
---------------------+-----------------------
 Reporter:  mojca@…  |      Owner:  gaurav@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  pypi2port
---------------------+-----------------------
 pypi2port seems to have some issues with (non)Unicode.
 {{{
 $pypi2port -s python-ly
 ...
 Traceback (most recent call last):
   File "/opt/local/bin/pypi2port", line 770, in <module>
     main(sys.argv[1:])
   File "/opt/local/bin/pypi2port", line 714, in main
     search(pkg_name)
   File "/opt/local/bin/pypi2port", line 69, in search
     print(package)
 UnicodeEncodeError: 'ascii' codec can't encode character u'\xb5' in
 position 112: ordinal not in range(128)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/51932>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list