Re: Database binary compatibility?
Jean-Claude Wippler <[email protected]>
| Newsgroups | gmane.comp.db.metakit |
|---|---|
| Message-ID | <[email protected]> |
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 '2.4.9.2', for > Python 2.3 on windows I can only seem to find > version '2.4.9.3'. 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 2.4.9.2 and 2.4.9.3 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. -jcw _____________________________________________ Metakit mailing list - [email protected] http://www.equi4.com/mailman/listinfo/metakit