[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] failure when reading use sample data
From: |
Greg Chicares |
Subject: |
Re: [lmi] failure when reading use sample data |
Date: |
Wed, 10 Dec 2008 05:21:17 +0000 |
User-agent: |
Thunderbird 2.0.0.18 (Windows/20081105) |
Too long ago, on 2008-11-26 00:39Z, Vaclav Slavik wrote:
>
> I'm unable to use the sample.* files from
> http://download.savannah.gnu.org/releases/lmi/lmi-data-20050618T1440Z.tar.bz2
> any more with the current CVS sources.
>
> When I try to load sample.db4, I get this error:
>
> ---------------------------
> Error while loading document.
> Filename: C:\opt\lmi\data\sample.db4
> Message: File 'C:\opt\lmi\data\sample.db4', which is required for the
> product selected, is not up to date or is corrupted. It should contain
> 302 elements, but it actually contains 307 elements. Try reinstalling.
[...]
Try running the 'product_files$(EXEEXT)' program (it's part of
'bin_PROGRAMS' in 'Makefile.am'):
cd /opt/lmi/data; ../bin/product_files
That should overwrite these five files from the 2005 archive:
sample.db4
sample.fnd
sample.pol
sample.rnd
sample.tir
I thought it was a much more difficult problem, but I tested
that idea here and it seems to work.
BTW, 'product_files$(EXEEXT)' is built and run as part of the
commands for the 'install' target in 'workhorse.make', but we
should not transplant that logic to 'Makefile.am'. Reason:
when we convert these five files to xml, that program becomes
unnecessary; and then we can make the xml backward compatible
so that no error like this will occur again.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [lmi] failure when reading use sample data,
Greg Chicares <=