matt | 21 Nov 23:53

lost data


Metakit gurus, I could use some help.

I have a metakit file that may not be corrupted per-se, but looking at
it in kitviewer, I see many of the tables somehow lost data +
properties.
These tables are: "MessageLog", "PlotTable", "VolumeEquationTable" and
(the most critical for us) "TreeTable".

Is there any way to:
a) "rollback" and recover any of the data, esp the "TreeTable" data?
b) Examine the file and give me any clue as to how/why this could have
happened?

This data represents days of field work from one of our clients.

The problem file is at: http://oberle.serveftp.net/files/Etowa_North.crz
For reference, a different, but complete data file is:
http://oberle.serveftp.net/files/ExampleOfGoodFile.crz

Any help will be greatly appreciated.

Matt
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "metakit" group.
To post to this group, send email to metakit <at> googlegroups.com
To unsubscribe from this group, send email to metakit-unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/metakit?hl=en
-~----------~----~----~----~------~----~------~--~---

(Continue reading)

Tim Hoel | 19 Oct 21:39
Favicon

build problem on cygwin


I'm trying to build metakit and Mk4py for cygwin.

    - download metakit-2.4.9.7.tar.gz
    - gunzip and untar
    % cd builds
    % ../unix/configure --with-python=/usr
    % vi Makefile        # to add -mno-cygwin
    % make

        Fails with:
            fileio.cpp:347: undefined reference to `__wopen'
            fileio.cpp:326: undefined reference to `__wopen'
            string.h:98: undefined reference to `__stricmp'

    - Lines 96-98 of /usr/i686-pc-mingw32/include/string.h contain:

        __CRT_INLINE int __cdecl __MINGW_NOTHROW
        strcasecmp (const char * __sz1, const char * __sz2)
          {return _stricmp (__sz1, __sz2);}

I believe that my cygwin environment is up-to-date.  I'm not really
sure
what the no-cygwin option does, and I can't find any documentation on
the web.

Also, it seems wrong that the link line is trying to generate
libmk4.so on a Windows system.

Thanks in advance.
(Continue reading)

olivier | 1 Sep 22:09

Corrupted datafile


Hi,

My datafile got corrupted one way or another. The data in it is pretty
important so I'm asking if someone knows a way to fix it? The customer
forgot to do backups and is willing to pay for the resolution.

Please find the corrupted data and an example datafile here:
http://groups.google.com/group/metakit/files
datafile.mk and datafile_corrupted.mk

Thanks in advance,
Olivier

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "metakit" group.
To post to this group, send email to metakit <at> googlegroups.com
To unsubscribe from this group, send email to metakit-unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/metakit?hl=en
-~----------~----~----~----~------~----~------~--~---

kpstarman@gmail.com | 20 Aug 22:52

Lua bindings for metakit?


Hello,

I was just trying to build the Lua demo from the source that comes
with the regular download of metakit. It won't build due to unresolved
references in luna2.h, the C++ interface wrapper for Lua, and my guess
is that it was written for Lua 5.0 because some functions have the 5.0
names (some of which have changed in 5.1). I'm not familiar with 5.0
but I'm looking for a Lua 5.1 version. If this is of interest to
anyone or if you can tell me anything about it, let me hear from you.

Thanks,
Kyle

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "metakit" group.
To post to this group, send email to metakit <at> googlegroups.com
To unsubscribe from this group, send email to metakit-unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/metakit?hl=en
-~----------~----~----~----~------~----~------~--~---

Sean Hunt | 8 May 01:10

ABI versioning


I am working on packaging metakit for Debian, and I noticed that there
is no SONAME in the default library provided. I was wondering what
rules you guys have for ABI compatibility - will you not break ABI
compatibiliy, or is the 4 in mk4 the ABI/API version?

In other words, is there any easy way to tell when a new release of
metakit will break programs that link against it dynamically?
(recompilation is not an issue)

Sean Hunt
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "metakit" group.
To post to this group, send email to metakit <at> googlegroups.com
To unsubscribe from this group, send email to metakit-unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/metakit?hl=en
-~----------~----~----~----~------~----~------~--~---

cttw | 29 Apr 23:20

metakit and python 2.5 on windows


Hi, i need to make a windows build of a python program that uses
metakit. I have read that i should use the latest version of metakit
to be able to use python 2.5. However i have been unable to find
binaries for download. I ask one of 2 things:

1) Someone share their binaries (from what i understand, a single DLL)
if they have made them

2) Someone point me to instructions on how to make them myself. I do
not have a C compilation environment set up. I have python, wx and
py2exe setup that i have used before, but this time i would need
metakit too.

I'm on a bit of a tough spot here so i'd really appreciate any help.

Hugo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "metakit" group.
To post to this group, send email to metakit <at> googlegroups.com
To unsubscribe from this group, send email to metakit-unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/metakit?hl=en
-~----------~----~----~----~------~----~------~--~---

Dave | 28 Apr 01:23

Question - Memory Usage Patterns


Hi,

Has anyone made a study of Metakit's memory usage patterns?

I'm asking because I've created an 'associative database' layer on top
of Metakit, which I plan to deploy on a server with harsh memory
limitations.

My database over time is likely to end up with tens or hundreds of
thousands of rows across 3 views. Use of derived rows will be kept
fairly minimal.

Metakit appeals to me because of its nested views. But for such a size
of database, I'm worried that memory usage during the lifetime of
'storage' objects will grow in proportion to the size of the database.

For such a size of database, would I be better off using my MySQL
version of the layer?

Cheers
Dave

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "metakit" group.
To post to this group, send email to metakit <at> googlegroups.com
To unsubscribe from this group, send email to metakit-unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/metakit?hl=en
-~----------~----~----~----~------~----~------~--~---

(Continue reading)

EdK | 12 Mar 21:24
Favicon

corrupted data


I'm trying to use metakit with mingw C++ under windows XP, but my data
seems to be getting curupted. this is my code:

#include "mk4.h"
#include "mk4str.h"

#include <iostream>
#include <string>

const std::string test_table_name("tst");
const std::string ID_field_name("ID");
const std::string result_field_name("result");
const std::string test_number_field_name("testnum");

c4_StringProp pID (ID_field_name.c_str());
c4_DoubleProp pResult (result_field_name.c_str());
c4_LongProp   pTestNum (test_number_field_name.c_str());

int main()
{
    std::cout << "testing MetaKit" << std::endl;

    c4_Storage storage ("testmetakit.dat", true);

    std::cout << storage.Description() << std::endl;

    // Start with an empty view of the proper structure.
    c4_View record = storage.GetAs((test_table_name + "["
            + ID_field_name + ":S,"
(Continue reading)

tallguy | 18 Feb 22:39

./libMk4tcl2.4.9.7.so: undefined symbol: __cxa_pure_virtual


I recently compiled 2.4.9.7 and I am running into the following
situation. Any idea where to turn?

% load ./libMk4tcl2.4.9.7.so
couldn't load file "./libMk4tcl2.4.9.7.so": ./libMk4tcl2.4.9.7.so:
undefined symbol: __cxa_pure_virtual

My TCL is a binary build straight out of the fedora distribution.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "metakit" group.
To post to this group, send email to metakit <at> googlegroups.com
To unsubscribe from this group, send email to metakit-unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/metakit?hl=en
-~----------~----~----~----~------~----~------~--~---

dBera | 21 Jan 03:48

C#/Swig bindings


Hi,
  I was looking for a C# binding for Metakit. I found some 2 year old
discussions about someone working on a swig interface for Metakit. But
I found nothing after that.
  Does anyone know if there are swig interface files or C# bindings
made by anyone ?

Thanks,
- dBera
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "metakit" group.
To post to this group, send email to metakit <at> googlegroups.com
To unsubscribe from this group, send email to metakit-unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/metakit?hl=en
-~----------~----~----~----~------~----~------~--~---

Florent Lejeune | 4 Dec 10:50

freeze when deleting storage (2.4.9.7 win32 debug)

Hello,

I have a simple program that freezes at delete :

  c4_Storage *storage=NULL;
  const char*path="C:\\zdrop\\SAV\\ActiveX55\\sample_vb2005\\sample_vb\\bin\\Debug\\cd\\data.winpi";
  storage=new c4_Storage(path,false);
  if (storage!=NULL)
  {
    delete storage;
    storage=NULL;
  }

The file data.winpi has some views with about 100 000 records, but nothing really huge. It has been created with a version 2.4.9.2 probably.

Debugging into metakit I found that in c4_FormatV::c4_FormatV, the loop is really big (_subSeqs.GetSize()=109860), this seems strange since I did not try to access the view at all.

In release there is no problem (except when launching release program from visual studio with F5)
Because of this behaviour, I cannot close my application correctly in debug.
Is there any workaround ?

--
Très cordialement,

Florent Lejeune
Développeur
-------------------------
Articque
www.articque.com
Moulin des Roches
37230 Fondettes - France
tel : 02-47-49-90-49
fax : 02-47-49-91-49

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "metakit" group.
To post to this group, send email to metakit <at> googlegroups.com
To unsubscribe from this group, send email to metakit-unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/metakit?hl=en
-~----------~----~----~----~------~----~------~--~---


Gmane