On Tue, 19 Apr 2005, Ian Reid wrote:
UnicodeEncodeError: 'ascii' codec can't encode characters in position
0-6: ordinal not in range(128)
Okay, the included patch should fix the problem. If you're using the
source distribution, you can cd to the veusz source directory and run
patch -p0 < patch
(or maybe try patch -p1 < patch)
Where patch is the file included here, to fix the problem.
If you can't do this, I could always build another rpm/distribution for
you.
Thanks
Jeremy
--
Jeremy Sanders <[EMAIL PROTECTED]>
http://www.jeremysanders.net/ Cambridge, UK
Public Key Server PGP Key ID: E1AAE053
--- setting/collections.py.~1.10.~ 2005-04-10 17:15:32.000000000 +0100
+++ setting/collections.py 2005-04-19 14:57:49.664460633 +0100
@@ -209,7 +209,7 @@
# build a dict up with the list of families
families = {}
for i in db.families():
- families[str(i)] = True
+ families[unicode(i)] = True
for i in ['Times New Roman', 'Bitstream Vera Serif', 'Times', 'Utopia',
'Serif']: