Skip to content

What are the prerequisites to run MLN_Generator? #8

@vidhiJain

Description

@vidhiJain

I ran the MLN_Generator for tutorial_Mondial dataset and obtained the following

Start Writing MLN...
Writing Header...
Writing Rules..
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'tutorial_Mondial_BN.NumAttributes' doesn't exist
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
	at com.mysql.jdbc.Util.getInstance(Util.java:386)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4096)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4028)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2490)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2651)
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2728)
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2678)
	at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:894)
	at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:732)
	at MLNExporter.Exporter.bodyBuilder(Exporter.java:272)
	at MLNExporter.Exporter.strBuilder(Exporter.java:422)
	at MLNExporter.Exporter.main(Exporter.java:53)
Finished Writing MLN...

The existence of <dbName>_BN database is not sufficient. A user must ensure that <dbName>_BN database must contain table NumAttributes before one runs the MLN_Generator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions