[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: i'm stuck now.



On Mon, Dec 31, 2001 at 02:02:19AM -0800, John H. Robinson, IV wrote:
> 
> ./ver2.py 1 i386 langs.xml
> processing "langs.xml", utf=1, arch=i386
> opening langs.c
> Traceback (most recent call last):
>   File "./ver2.py", line 138, in ?
>     dumper (arch) (utf == '0', outfile, result)
>   File "./dumper.py", line 101, in dump_c
>     outfile.write ('    "%s",\n' % e.convert (lang.name))
> UnicodeError: ASCII encoding error: ordinal not in range(128)
> make: *** [langs.c] Error 1

i am suspecting it a a python problem. i know nothing of python. i even
replaced the ``./ver2.py $(LANG_GEN_FLAG) $(architecture) langs.xml''
with ``./pl.py i386 $<'' in utilities/dbootstrap/langs/Makefile to no
avail (same type of error)

./pl.py i386 langs.xml
Traceback (most recent call last):
  File "./pl.py", line 510, in ?
    app.dump (outfile)
  File "./pl.py", line 425, in dump
    output.write ('\t%s' % item.definition ())
  File "./pl.py", line 188, in definition
    return '{ "%s", NULL, NULL, NULL, NULL, NULL }' % from_utf8 (self.charset,
self.name)
  File "./pl.py", line 34, in from_utf8
    return convert ('UTF-8', charset, what)
UnicodeError: ASCII encoding error: ordinal not in range(128)

i included the version of python* i have installed, (sid, updated Mon Dec 31
09:50:46 2001 UTC)

ii  python         2.1.1-7        An interactive object-oriented scripting lan
ii  python-dev     2.1.1-7        Header files and a static library for Python
ii  python-newt    0.50.17-9      A newt module for Python.
ii  python-tk      2.1.1-7        Tkinter - Writing Tk applications with Pytho
ii  python-xml     0.7-1          XML tools for Python [dummy package]
ii  python2-base   2.0.1-1        An interactive object-oriented scripting lan
ii  python2.1      2.1.1-7        An interactive object-oriented scripting lan
ii  python2.1-dev  2.1.1-7        Header files and a static library for Python
ii  python2.1-tk   2.1.1-7        Tkinter - Writing Tk applications with Pytho
ii  python2.1-xml  0.7-1          XML tools for Python (2.1.x)
ii  python2.1-xmlb 2.1.1-7        XML support included in Python (v2.1)

-john



Reply to: