problem with qif-parse.scm in trunk

Charles Day cedayiv at gmail.com
Sun Sep 14 14:06:53 EDT 2008


On Sun, Sep 14, 2008 at 10:42 AM, David Reiser <dbreiser at earthlink.net>wrote:

> gnucash trunk r17505 fails on launch for me with:
>
> Backtrace:
> In unknown file:
>   ?: 0* [primitive-load-path "qif-import/qif-parse.scm"]
> In /opt/gnucash-svn/share/gnucash/scm/qif-import/qif-parse.scm:
>  20: 1* (define decimal-radix-regexp #)
>  21: 2* [gsubr-apply #<primitive-procedure make-regexp> ...]
>
> /opt/gnucash-svn/share/gnucash/scm/qif-import/qif-parse.scm:21:3: In
> procedure make-regexp in expression (make-regexp "^ *[$?]?[+-]?[$?]?
> [0-9]+[+-]?$|^ *[$?]?[+-]?[$?]?[0-9]?[0-9]?[0-9]?([,'][0-9][0-9]
> [0-9])*(\\.[0-9]*)?[+-]? *$|^ *[$?]?[+-]?[$?]?[0-9]+\\.[0-9]*[+-]? *$"):
> /opt/gnucash-svn/share/gnucash/scm/qif-import/qif-parse.scm:21:3:
> illegal byte sequence
>

Wow, that's interesting. I have no such problem on my system. Another case
of "different system, different result". I suspect it is puking on the ISO
8859-1 British Pound symbol (0xa3) in the string. I will try substituting
"\xa3" and see if that still works here. (If you want to try it too, just
substitute changed the "[$£]" to [$\xa3]" everywhere.)


>
>
> Looks like something in r17490 didn't sit well with my tool set.
>
> Mac OS X 10.5.4
> gcc 4.0.1, autoconf 2.62 (2.63 readily available), automake 1.9.6
> (1.10.1 readily available)
> guile 1.8.3
>
> suggestions?
>
> Dave
> --
> David Reiser
> dbreiser at earthlink.net
>

-Charles


More information about the gnucash-devel mailing list