ports/160007: [NEW PORT] ports-mgmt/porttree: Show dependences of FreeBSD port as pseudo graphical tree

Olli Hauer ohauer at FreeBSD.org
Sat Aug 27 14:10:14 UTC 2011


The following reply was made to PR ports/160007; it has been noted by GNATS.

From: Olli Hauer <ohauer at FreeBSD.org>
To: bug-followup at FreeBSD.org, vladimir.chukharev at gmail.com
Cc:  
Subject: Re: ports/160007: [NEW PORT] ports-mgmt/porttree: Show dependences
 of FreeBSD port as pseudo graphical tree
Date: Sat, 27 Aug 2011 16:04:08 +0200

 There are some issues.
 
 If I try the script with the following locale:
 
 $> locale
 LANG=
 LC_CTYPE="C"
 LC_COLLATE="C"
 LC_TIME="C"
 LC_NUMERIC="C"
 LC_MONETARY="C"
 LC_MESSAGES="C"
 LC_ALL=
 
 $> ./porttree.py -r /usr/ports/mail/postfix
 Traceback (most recent call last):
   File "./porttree.py", line 181, in <module>
     print Net(port_tree).show(port_dir, style=eval('int(%s)' % str(options.style)))
 UnicodeEncodeError: 'ascii' codec can't encode character u'\u22a2' in position 2: ordinal not in range(128)
 
 
 $> locale
 LANG=
 LC_CTYPE=de_DE.ISO8859-15
 LC_COLLATE=de_DE.ISO8859-15
 LC_TIME=de_DE.ISO8859-15
 LC_NUMERIC=en_US.ISO8859-15
 LC_MONETARY=de_DE.ISO8859-15
 LC_MESSAGES=en_US.ISO8859-15
 LC_ALL=
 
 $> ./porttree.py -r /usr/ports/mail/postfix
 Traceback (most recent call last):
   File "./porttree.py", line 181, in <module>
     print Net(port_tree).show(port_dir, style=eval('int(%s)' % str(options.style)))
   File "/usr/local/lib/python2.7/encodings/iso8859_15.py", line 12, in encode
     return codecs.charmap_encode(input,errors,encoding_table)
 UnicodeEncodeError: 'charmap' codec can't encode character u'\u250c' in position 2: character maps to <undefined>
 
 
 $> pkg_info -qox py
 math/py-networkx
 textproc/py-pygments
 devel/py-setuptools
 devel/py-subversion
 lang/python27
 



More information about the freebsd-ports-bugs mailing list