Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Aug 2011 14:10:14 GMT
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/160007: [NEW PORT] ports-mgmt/porttree: Show dependences of FreeBSD port as pseudo graphical tree
Message-ID:  <201108271410.p7REAEYs063998@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/160007; it has been noted by GNATS.

From: Olli Hauer <ohauer@FreeBSD.org>
To: bug-followup@FreeBSD.org, vladimir.chukharev@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108271410.p7REAEYs063998>