ondrejklejch / MT-ComparEval

Tool for comparison and evaluation of machine translation.
Apache License 2.0
56 stars 14 forks source link

Integrity constraint violation when importing tasks #33

Closed lefterav closed 9 years ago

lefterav commented 9 years ago

The following error is given when watcher is trying to import some systems:

[2015-07-31 18-30-03] PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 columns experiments_id, url_key are not unique in /local/qtleap/workbench_frontend/vendor/nette/nette/Nette/Database/ResultSet.php:71  @  CLI: /local/qtleap/workbench_frontend/app/BackgroundModule/presenters/../../../www/index.php Background:Tasks:Import --folder=./data/en-de-batch2a/pilot0_00488e4b41a4fc78bbd22b7958f62e26e3ae6a57  @@  exception-2015-07-31-16-56-01-7f5c7712d135805729c9b6db5200d5d2.html

watcher's output is the following:

[31-Jul-2015 18:27:01]  New experiment called en-de-batch1a was found
[31-Jul-2015 18:27:01]  source.txt used as a source source.
[31-Jul-2015 18:27:01]  en-de-batch1a has 1000 source sentences
[31-Jul-2015 18:27:01]  reference.txt used as a reference source.
[31-Jul-2015 18:27:01]  en-de-batch1a has 1000 reference sentences
[31-Jul-2015 18:27:01]  Experiment en-de-batch1a uploaded successfully.
[31-Jul-2015 18:27:01]  New experiment called en-de-batch2a was found
[31-Jul-2015 18:27:01]  source.txt used as a source source.
[31-Jul-2015 18:27:01]  en-de-batch2a has 1000 source sentences
[31-Jul-2015 18:27:01]  reference.txt used as a reference source.
[31-Jul-2015 18:27:01]  en-de-batch2a has 1000 reference sentences
[31-Jul-2015 18:27:02]  Experiment en-de-batch2a uploaded successfully.
[31-Jul-2015 18:27:02]  New experiment called de-en-batch1q was found
[31-Jul-2015 18:27:02]  source.txt used as a source source.
[31-Jul-2015 18:27:02]  de-en-batch1q has 1000 source sentences
[31-Jul-2015 18:27:02]  reference.txt used as a reference source.
[31-Jul-2015 18:27:02]  de-en-batch1q has 1000 reference sentences
[31-Jul-2015 18:27:03]  Experiment de-en-batch1q uploaded successfully.
[31-Jul-2015 18:27:03]  New experiment called de-en-batch2q was found
[31-Jul-2015 18:27:03]  source.txt used as a source source.
[31-Jul-2015 18:27:03]  de-en-batch2q has 1000 source sentences
[31-Jul-2015 18:27:03]  reference.txt used as a reference source.
[31-Jul-2015 18:27:03]  de-en-batch2q has 1000 reference sentences
[31-Jul-2015 18:27:04]  Experiment de-en-batch2q uploaded successfully.
[31-Jul-2015 18:27:04]  Importing task: en-de-batch1a:pilot0_00488e4b41a4fc78bbd22b7958f62e26e3ae6a57
[31-Jul-2015 18:27:04]  translation.txt used as a translation source.
[31-Jul-2015 18:27:04]  pilot0_00488e4b41a4fc78bbd22b7958f62e26e3ae6a57 has 1000 translation sentences
[31-Jul-2015 18:27:04]  Generating BLEU-cis samples for pilot0_00488e4b41a4fc78bbd22b7958f62e26e3ae6a57.
[31-Jul-2015 18:27:26]  Samples generated.
[31-Jul-2015 18:27:26]  Generating PRECISION-cis samples for pilot0_00488e4b41a4fc78bbd22b7958f62e26e3ae6a57.
[31-Jul-2015 18:27:42]  Samples generated.
[31-Jul-2015 18:27:42]  Generating RECALL-cis samples for pilot0_00488e4b41a4fc78bbd22b7958f62e26e3ae6a57.
[31-Jul-2015 18:27:58]  Samples generated.
[31-Jul-2015 18:27:58]  Generating F-MEASURE-cis samples for pilot0_00488e4b41a4fc78bbd22b7958f62e26e3ae6a57.
[31-Jul-2015 18:28:23]  Samples generated.
[31-Jul-2015 18:28:24]  Generating BLEU samples for pilot0_00488e4b41a4fc78bbd22b7958f62e26e3ae6a57.
[31-Jul-2015 18:28:46]  Samples generated.
[31-Jul-2015 18:28:46]  Generating PRECISION samples for pilot0_00488e4b41a4fc78bbd22b7958f62e26e3ae6a57.
[31-Jul-2015 18:29:02]  Samples generated.
[31-Jul-2015 18:29:02]  Generating RECALL samples for pilot0_00488e4b41a4fc78bbd22b7958f62e26e3ae6a57.
[31-Jul-2015 18:29:18]  Samples generated.
[31-Jul-2015 18:29:18]  Generating F-MEASURE samples for pilot0_00488e4b41a4fc78bbd22b7958f62e26e3ae6a57.
[31-Jul-2015 18:29:41]  Samples generated.
[31-Jul-2015 18:30:03]  Precomputing n-grams for pilot0_00488e4b41a4fc78bbd22b7958f62e26e3ae6a57.
[31-Jul-2015 18:30:03]  N-grams precomputation done.
[31-Jul-2015 18:30:03]  Task pilot0_00488e4b41a4fc78bbd22b7958f62e26e3ae6a57 uploaded successfully
[31-Jul-2015 18:30:03]  Importing task: en-de-batch2a:pilot0_00488e4b41a4fc78bbd22b7958f62e26e3ae6a57
[31-Jul-2015 18:30:03]  translation.txt used as a translation source.
[31-Jul-2015 18:30:03]  pilot0_00488e4b41a4fc78bbd22b7958f62e26e3ae6a57 has 1000 translation sentences
<!DOCTYPE html>
<meta charset="utf-8" />
<meta name="robots" content="noindex" />
<style>
    body { color: #333; background: white; width: 500px; margin: 100px auto }
    h1 { font: bold 47px/1.5 sans-serif; margin: .6em 0 }
    p { font: 21px/1.5 Georgia,serif; margin: 1.5em 0 }
    small { font-size: 70%; color: gray }
</style>

<h1>Server Error</h1>

<p>We're sorry! The server encountered an internal error and
was unable to complete your request. Please try again later.</p>

<p><small>error 500</small></p>
lefterav commented 9 years ago

Sorry, I was accidentally running many watchers