Re: SQL backend for GnuCash 2

2006-10-29 Thread Josh Sled
On Fri, 2006-10-27 at 12:56 -0400, Derek Atkins wrote:
  Frequency specs are another example, because a compound fs can have
 fs's
  as children.
 
 I dont know enough about FS to know whether they are also atomic
 objects like KVPs. 

They are, in the composite case.

-- 
...jsled
http://asynchronous.org/ - `a=jsled; b=asynchronous.org; echo [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


RE: Compiling GnuCash on Windows

2006-10-29 Thread Brian Blatnik
 
OK, thanks for your help, got it installed. :-)

But it seems to crash on any operation involving the Windows file system:
loading a qif, saving a file, etc. Also, in the command prompt window is the
following:

gnucash: [E] Failed to fork child process.

Is there a way to generate a backtrace in Windows? 

Thanks,
Brian

-Original Message-
From: Andreas Köhler [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 19, 2006 1:14 PM
To: Brian Blatnik
Cc: 'Christian Stimming'; gnucash-devel mailing list
Subject: RE: Compiling GnuCash on Windows

Hi,

Am Donnerstag, den 19.10.2006, 09:55 -0700 schrieb Brian Blatnik:
 With the lastest install.sh script, I get the following error message 
 during the gnome section:
 inst_gwrap: command not found

I anticipated that problem :) Make sure you always use recent scripts and
auxiliary files. Best would be to checkout the whole packaging/win32
directory and update before doing anything.

Quick fix: Update your custom.sh.

-- andi5

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


gnucash crash when printing check

2006-10-29 Thread Dawning Sky
Hi,

I just upgrade my box to Fedroa Core 6.  Now checking print will crash
gnucash, both the 2.0.1 that's shipped with FC6 and the SVN r15058 I
compiled myself.  I have included the backtrace from the SVN version.

Thanks,

DS

Backtrace:
In unknown file:
   ?:  0* [gnc:print-check # Avalon Rosewalk 1605.0 ...]
In /opt/gnucash-2.0/share/gnucash/scm/printing/print-check.scm:
 104:  1* (let* ((int-part #) (frac-part #) (ps #) ...) (if ps (begin # # ...)))
 115:  2  (if ps (begin (if (not #) (begin # #) ...) (if (not #)
(begin #) ...) ...))
 116:  3  (begin (if (not #) (begin # #) ...) (if (not #) (begin #) ...) ...)
 174:  4* (let* (#) (gnc:print-session-moveto ps # #)
(gnc:print-session-text ps #))
 177:  5  [gnc:print-session-text #gw:wcp gnc:PrintSession* 0xa4d6a38 ...
 177:  6*  [number-to-words 1605.0 100]
In 
/opt/gnucash-2.0/share/gnucash/guile-modules/gnucash/printing/number-to-words.scm:
  89:  7   (let* (# # # ...) (set! result-string #) ...)
  99:  8*  (set! result-string (string-append #  and  #))
 100:  9*  [string-append ...
 100: 10*   [integer-to-words 1605]
  14: 11(let (# # # #) (cond # # # ...))
  ...
  52: 12(let* (# # #) (if # #) (if # #) ...)
  58: 13*   [remainder 1605 {4398046555084465/4398046511104}]

/opt/gnucash-2.0/share/gnucash/guile-modules/gnucash/printing/number-to-words.scm:58:25:
In procedure remainder in expression (remainder val (inexact-exact
#)):
/opt/gnucash-2.0/share/gnucash/guile-modules/gnucash/printing/number-to-words.scm:58:25:
Wrong type argument in position 2: 4398046555084465/4398046511104
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Compiling GnuCash on Windows

2006-10-29 Thread Christian Stimming
Am Sonntag, 29. Oktober 2006 16:52 schrieb Brian Blatnik:
 OK, thanks for your help, got it installed. :-)

Very cool; thanks for the info.

 But it seems to crash on any operation involving the Windows file system:
 loading a qif, saving a file, etc. 

I'd like to hear whether these things work, in case you have some time to 
check them in detail: 
- Creating a new file (with default account hierarchy)
- Creating more accounts in that file
- Adding transactions to these accounts
- running reports, particularly account summary, income statement, 
balance sheet
- Changing some preferences (are these preserved when shutting down (without 
crashing) and starting again?)

 Also, in the command prompt window is the following:

 gnucash: [E] Failed to fork child process.

This is probably because gnucash tries to save the file in compressed form, 
which requires a separate gzip process that won't work on windows. In short, 
in the preferences please uncheck the checkbox under General - File - 
Compress file. Does saving work, then?

 Is there a way to generate a backtrace in Windows?

Yes, if you install gdb. It's available somewhere on mingw.org. Then you need 
to modify the gnucash startup script so that it calls gdb instead of 
gnucash.exe. Then, in gdb you start gnucash by run. This is explained in 
the file HACKING as well.

Thanks a lot,

Christian
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel