Feature report

Georg Wilckens durandal@nfinity.de
Fri, 20 Jul 2001 18:35:59 +0200


On Thu, Jul, 19, 2001 at 13:41:43 -0700, Dave Peticolas wrote:

Hello Dave.

> > 2. General Ledger
> > 
> >    On hitting the "Report" or the "Print" button, gnucash always
> >    crashes with a segfault (gnome error-message-box).
> 
> Are there any error messages on the command line?

No, just the "usual" error messages about convert missing:

gdk_imlib ERROR: Cannot load image: /usr/share/pixmaps/gnucash/gnucash_splash.png
All fallbacks failed.
/convert: No such file or directory
gdk_imlib ERROR: Cannot load image: /usr/local/share/pixmaps/gnome-error.png
All fallbacks failed.
/convert: No such file or directory
gdk_imlib ERROR: Cannot load image: /usr/local/share/pixmaps/gnome-default-dlg.png
All fallbacks failed.

The last one appears on hitting "Report", I guess it has nothing to do
with the problem. Here is a little snipplet from the strace:

read(7, "mand\" (insert-rule) }\n\n  bind \"<"..., 4000) = 867
read(7, "", 4000)                       = 0
close(7)                                = 0
stat64("/home/durandal/.gnome/gtkhtml-bindings-custom", 0xbfffe22c) = -1 ENOENT 
write(3, "_\30\2\0\275\3@\1^\0\10\0\276\3@\1\37\0@\1\37\0@\1<\0="..., 120) = 120
read(3, 0xbfffe3cc, 32)                 = -1 EAGAIN (Resource temporarily unavai
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
read(3, "\1\3\204#\0\0\0\0\251\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0000"..., 32) = 32
brk(0x852f000)                          = 0x852f000
brk(0x8530000)                          = 0x8530000
brk(0x8531000)                          = 0x8531000
gettimeofday({995644381, 491028}, NULL) = 0
--- SIGSEGV (Segmentation fault) ---
write(3, "\33\30\2\0\0\0\0\0 \0\2\0\0\0\0\0+\0\1\0", 20) = 20
read(3, 0xbfffd464, 32)                 = -1 EAGAIN (Resource temporarily unavai
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
read(3, "\1\2\207#\0\0\0\0\366\2@\1\0\0\0\0\0\0\0\0\0\0\0\0000\246"..., 32) = 32
fork()                                  = 13209
wait4(13209, /convert: No such file or directory
gdk_imlib ERROR: Cannot load image: /usr/local/share/pixmaps/gnome-error.png
All fallbacks failed.
/convert: No such file or directory
gdk_imlib ERROR: Cannot load image: /usr/local/share/pixmaps/gnome-default-dlg.p
All fallbacks failed.
[WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 13209
--- SIGCHLD (Child exited) ---
_exit(1)                                = ?

> > 3. Sorting of transactions

> The problem here is that the number field is stored and sorted
> as a string (it's actually allowed to be anything you want, it
> doesn't have to be a number). But it might be better to detect
> if it's a number and sort appropriately.

The sorting is perfect, when I use the number field as the sort
key. But when I use the "Standard order" option I get the following
strange order:

244
245
246
236
237
238
239
240
241
242
243

The transactions are all on the same day and were entered in numerical
order. 244 was a transaction that was auto-completed IIRC. This would
not be a problem, if I could use "Num order" properly, but then the
balance does not conform to the new sorting anymore, which is quite
a problem if you have to crosscheck the balances..

Thanks for your time. :)

Regards,
	Georg
-- 
Worrying is like rocking in a rocking chair -- It gives you something to do,
but it doesn't get you anywhere.