From: Don A. <dal...@us...> - 2002-04-16 02:42:39
|
On Mon, 2002-04-15 at 20:16, Jeffrey C. Ollie wrote: > On Mon, Apr 15, 2002 at 09:31:32AM -0500, Alex Roitman wrote: > > This is the traceback I get when trying to save a couple > > of filters with KOI8 names: > > > > Traceback (most recent call last): > > File "/usr/lib/python2.1/site-packages/libglade.py", line 28, in __call__ > > ret = apply(self.func, a) > > File "/usr/local/share/gramps/plugins/FilterEditor.py", line 83, in close_filter_editor > > self.filterdb.save() > > File "/usr/local/share/gramps/GenericFilter.py", line 716, in save > > f.write(' <arg value="%s"/>\n' % self.fix(v)) > > UnicodeError: ASCII encoding error: ordinal not in range(128) > > This looks to me like Python 2.1/GTK is returning Unicode strings. > I'm not sure what can be done about this that won't break Python 1.5.2 > compatibility. Yes, this is a 1.5.2 vs. 2.1 problem. However, I have some routines that will attempt to convert unicode to latin. I can't wait until we can dump 1.5.2. I'll see about converting this over the next day or so. I will be traveling so it may take me a bit. Don -- Don Allingham dal...@us... http://gramps.sourceforge.net |