"mysterious problem creating new database"

What are some common reasons to see this error message when creating a new testsuite in [incr tsdb()]?

“mysterious problem creating new database”

EMB: One is that the Relations file in tsdb/skeletons is out of date or missing.

And what does it mean for it to be out of date and what does it mean in terms of actually fixing it?

what does it mean for it to be out of date

Occasionally Stephan adds a new field to a table, which changes the schema. [incr tsdb()] is usually good about reading in a profile with an out-dated schema (so I’m told), but I think it refuses to write a profile if the relations file does not match its hard-coded schema. Usually when the relations file is updated, those in the LOGON tree (e.g. at $LOGONROOT/lingo/lkb/src/tsdb/skeletons/english/Relations) will be updated. If you don’t have a LOGON tree to update, you can get it via http: http://svn.emmtee.net/trunk/lingo/lkb/src/tsdb/skeletons/english/Relations.

what does it mean in terms of actually fixing it

You need to get the new relations files and rebuild the profiles with that new schema. There’s a command for LOGON (like ‘refresh’ or something), but I like using PyDelphin for this:

delphin mkprof path/to/profile/ --in-place --full --relations=path/to/new/relations
1 Like