Hi again, I think 2 videos instead 2 words is better :)
Trying to "talk" with sqlite: http://www.lordzealon.com/gnustep/problems/testingdbmodeller2.htm Trying to debug: (controlador no vĂ¡lido means, invalid controller) http://www.lordzealon.com/gnustep/problems/debugdbmodeller.htm I will try to build postgres to see if I have the same behaviour. Cheers.
the SQLite adaptor doesn't have a way to create a model from an existing database, so it just returns a nil model, which fails somewhere down the line with an exception, NSInvalidArgumentException: The model name is emtpy i'll look into this... the Postgres adaptor does, but you have to be careful when using it, about the primary key sequences and stuff I suppose. creating a new model, and adding an entity and an attribute, then generating sql works ok here, the SQL generated is not valid, because of the parenthesis CREATE TABLE (nil) ((nil) (nil) NOT NULL); CREATE TABLE IF NOT EXISTS 'SQLiteEOAdaptorKeySequences' (seq_key INTEGER PRIMARY KEY AUTOINCREMENT, tableName TEXT, attributeName TEXT, key INTEGER); I assume that you aren't seeing that exception though, and that something is failing possibly in the SQLiteAdaptor login panel, a text box with a browse/ok/cancel buttons, which pops up after the select adaptor window do you see this window? anyhow posting a backtrace produced with the following, would be helpful, debugapp DBModeler.app then at the (gdb) prompt... set breakpoint pending on break -[NSException raise] command bt cont end r bt quit should cover it i think.
_______________________________________________ Bug-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnustep
