Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database import yields ConfigurationException #98

Open
daxenberger opened this issue Jul 31, 2015 · 1 comment
Open

Database import yields ConfigurationException #98

daxenberger opened this issue Jul 31, 2015 · 1 comment
Labels
Milestone

Comments

@daxenberger
Copy link
Member

Originally reported on Google Code with ID 104

What steps will reproduce the problem?
1. Use ConfigGUI and activate direct database import.
2. Specify valid database parameters.
3. Specify other necessary parameters as usual.
4. Save the configuration and start the import using the DiffTool.

What is the expected output? What do you see instead?

java.lang.RuntimeException: de.tudarmstadt.ukp.wikipedia.revisionmachine.common.exceptions.ConfigurationException:
CONFIGURATION_CONFIGURATIONMANAGER_UNKNOWN_CONFIG_PARAMETER:
SQL_HOST
    at de.tudarmstadt.ukp.wikipedia.revisionmachine.difftool.DiffToolThread.run(DiffToolThread.java:374)
    at de.tudarmstadt.ukp.wikipedia.revisionmachine.difftool.DiffTool.main(DiffTool.java:56)
    at CreateRevisionDatabase.main(CreateRevisionDatabase.java:11)
Caused by: de.tudarmstadt.ukp.wikipedia.revisionmachine.common.exceptions.ConfigurationException:
CONFIGURATION_CONFIGURATIONMANAGER_UNKNOWN_CONFIG_PARAMETER:
SQL_HOST
    at de.tudarmstadt.ukp.wikipedia.revisionmachine.common.exceptions.ErrorFactory.createConfigurationException(ErrorFactory.java:100)
    at de.tudarmstadt.ukp.wikipedia.revisionmachine.difftool.config.ConfigurationManager.getConfigParameter(ConfigurationManager.java:137)
    at de.tudarmstadt.ukp.wikipedia.revisionmachine.difftool.consumer.dump.writer.SQLDatabaseWriter.<init>(SQLDatabaseWriter.java:80)
    at de.tudarmstadt.ukp.wikipedia.revisionmachine.difftool.DiffToolThread$TaskTransmitter.<init>(DiffToolThread.java:195)
    at de.tudarmstadt.ukp.wikipedia.revisionmachine.difftool.DiffToolThread.run(DiffToolThread.java:284)
    ... 2 more


What version of the product are you using? On what operating system?
0.9.2; Linux

Please provide any additional information below.

Reported by chmeyer.de on 2012-10-29 10:29:15

@daxenberger
Copy link
Member Author

Reiimporting the configuration file causes the database settings to be empty. Thus,
host, database, user, and password are not correctly stored.

Reported by chmeyer.de on 2012-10-29 10:30:39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants