[Mailman-Users] Re: Traceback on CVS upgrade

Marc MERLIN marc_news at merlins.org
Mon Aug 5 20:59:27 CEST 2002


On Mon, Aug 05, 2002 at 02:55:15PM -0400, Barry A. Warsaw wrote:
>     MM> /var/local/mailman/pythonlib); \ done
> >> ar/local/mailman/pythonlib/japanese/mappings/jis_x_0208.py", line
> >> 6234 x ^
>     MM> SyntaxError: invalid token
> 
> Hmm, I wonder if the standard debian package has unicode enabled?  It
> ought to, since that's the default.

Does this tell?
svlug:/var/local/mailman/logs# python -v
# /usr/lib/python2.2/site.pyc matches /usr/lib/python2.2/site.py
import site # precompiled from /usr/lib/python2.2/site.pyc
# /usr/lib/python2.2/os.pyc matches /usr/lib/python2.2/os.py
import os # precompiled from /usr/lib/python2.2/os.pyc
import posix # builtin
# /usr/lib/python2.2/posixpath.pyc matches /usr/lib/python2.2/posixpath.py
import posixpath # precompiled from /usr/lib/python2.2/posixpath.pyc
# /usr/lib/python2.2/stat.pyc matches /usr/lib/python2.2/stat.py
import stat # precompiled from /usr/lib/python2.2/stat.pyc
# /usr/lib/python2.2/UserDict.pyc matches /usr/lib/python2.2/UserDict.py
import UserDict # precompiled from /usr/lib/python2.2/UserDict.pyc
# /usr/lib/python2.2/copy_reg.pyc matches /usr/lib/python2.2/copy_reg.py
import copy_reg # precompiled from /usr/lib/python2.2/copy_reg.pyc
# /usr/lib/python2.2/types.pyc matches /usr/lib/python2.2/types.py
import types # precompiled from /usr/lib/python2.2/types.pyc
# /usr/lib/python2.2/__future__.pyc matches /usr/lib/python2.2/__future__.py
import __future__ # precompiled from /usr/lib/python2.2/__future__.pyc
Python 2.2.1 (#1, May  3 2002, 23:19:03) 
[GCC 2.95.4 20011002 (Debian prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
dlopen("/usr/lib/python2.2/lib-dynload/readline.so", 2);
import readline # dynamically loaded from /usr/lib/python2.2/lib-dynload/readline.so

If not, let me know how I can find out for you, and I'll file a bug with
debian if unicode is disabled

You may want to update the README.linux to say that debian users should make
really sure that they have the python2.2-dev package install.
This is otherwise going to bite other people I reckon...
 
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking 
Home page: http://marc.merlins.org/   |   Finger marc_f at merlins.org for PGP key




More information about the Mailman-Users mailing list