Package: viewmol
Version: 2.4.1-13
Severity: normal

When trying to save a molecule as a Gaussian98 input file, viewmol
complains saying:

File "/usr/lib/viewmol/writegauss.py", line 25
SyntaxError: Non-ASCII character '\xa9' in file
/usr/lib/viewmol/writegauss.py on line 25, but no encoding declared;
see http://www.python.org/peps/pep-0263.html for details"


Line 25 of writegauss.py contains a copyright mark (©), triggering the
error.  The locale is utf-8, so it's not clear why python is demanding
strict 7-bit ascii.

Replacing © with (C) works around the problem.  There's one in l.735
too (and presumeably the other python scripts).

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages viewmol depends on:
ii  lesstif2                    1:0.95.0-2.1 OSF/Motif 2.1 implementation relea
ii  libc6                       2.7-12       GNU C Library: Shared libraries
ii  libgl1-mesa-glx [libgl1]    7.0.3-1      A free implementation of the OpenG
ii  libglu1-mesa [libglu1]      7.0.3-1      The OpenGL utility library (GLU)
ii  libpng12-0                  1.2.27-1     PNG library - runtime
ii  libtiff4                    3.8.2-9      Tag Image File Format (TIFF) libra
ii  libx11-6                    2:1.0.3-7    X11 client-side library
ii  libxi6                      2:1.1.3-1    X11 Input extension library
ii  libxmu6                     2:1.0.4-1    X11 miscellaneous utility library
ii  libxt6                      1:1.0.5-3    X11 toolkit intrinsics library
ii  python                      2.5.2-1      An interactive high-level object-o
ii  python-support              0.8.1        automated rebuilding support for P
ii  python2.4                   2.4.5-2      An interactive high-level object-o

viewmol recommends no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to