[Metakit] Database binary compatibility?
jcw at equi4.com
Tue Sep 21 00:10:56 CEST 2004
William K. Volkman wrote:
> I've finally gotten around to working on the
> WIN32 version of one of our applications. On the
> Linux side we are using metakit '188.8.131.52', for
> Python 2.3 on windows I can only seem to find
> version '184.108.40.206'. I'm getting an error:
> "TypeError: wrong type for StringProp"
> when issuing a clientvw.find(id=clientid) call.
Only thing I can think of is that a change to Mk4py between 220.127.116.11 and
18.104.22.168 has made the system less tolerant w.r.t. type passing. Looks
like something gets passed in which is not a string?
> The odd thing is if clientid is pulled from
> another metakit view I don't get the error,
> only when clientid is a python string.
Or perhaps unicode-type diffs?
> One possible source of confusion on my part is
> I have copied our client .mk file from Linux
> to Windows. Does that work or do I need to reload
> from a flat file?
MK datafiles are portable across O/S, cpu, and byte-order (i.e.
little-/big-endian). The problem must be elsewhere.
More information about the Metakit