Bug#410763: gcalctool: Malformed expression error when trying to use Mod

tony mancill tmancill at debian.org
Tue Feb 13 05:37:19 CET 2007


Package: gcalctool
Version: 5.8.25-1
Severity: normal

This isn't a big deal as there is a work-around, but it's annoying, and 
it's easily reproducible.

Conduct an operation and get the result, e.g.:  
	2 + 2 =
Press "Mod"
Enter the modulo argument.
Press =

You'll get "Malformed expression."

However, if you backspace over the last number in the result from the
intial operation (it makes more sense if you're working with larger
numbers, say squaring 89), and then press "Mod" and enter the modulo
argument and press =, the result is calculated.

So perhaps internally there is some trailing garbage after a calculation
that prevents Mod from working directly on the intermediate result?

Thanks,
tony

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.2
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages gcalctool depends on:
ii  gconf2                      2.16.0-3     GNOME configuration database syste
ii  libatk1.0-0                 1.12.4-1     The ATK accessibility toolkit
ii  libc6                       2.3.6.ds1-11 GNU C Library: Shared libraries
ii  libgconf2-4                 2.16.0-3     GNOME configuration database syste
ii  libglib2.0-0                2.12.6-2     The GLib library of C routines
ii  libgnome2-0                 2.16.0-2     The GNOME 2 library - runtime file
ii  libgnomeui-0                2.14.1-2     The GNOME 2 libraries (User Interf
ii  libgtk2.0-0                 2.8.20-5     The GTK+ graphical user interface 

gcalctool recommends no packages.

-- no debconf information





More information about the Pkg-gnome-maintainers mailing list