HazyResearch / deepdive

DeepDive
deepdive.stanford.edu
1.95k stars 539 forks source link

deepdive do probabilities error - relation "dd_graph_weights_reuse" does not exist #635

Open mcavdar opened 7 years ago

mcavdar commented 7 years ago

Hi ! When I perform "deepdive do probabilities" query I run into error following: DeepDive version : (v0.9.0rc2-1063-g7b82f5a)

... 2017-03-23 15:21:53.786815 Executing with the following configuration: 2017-03-23 15:21:53.786886 DEEPDIVE_NUM_PROCESSES=3 2017-03-23 15:21:53.786905 DEEPDIVE_NUM_PARALLEL_UNLOADS=1 2017-03-23 15:21:53.786922 DEEPDIVE_NUM_PARALLEL_LOADS=1 2017-03-23 15:21:53.786936 DEEPDIVE_NAMED_PIPES_DIR=/home/mc/spouse/run/model/grounding/factor/inf_imply_has_spouse_has_spouse_0 2017-03-23 15:21:53.826771 unloading to /home/mc/spouse/run/model/grounding/factor/inf_imply_has_spouse_has_spouse_0/deepdive-compute-execute.Z7elyyK/feed_processes-1: ' 2017-03-23 15:21:53.826851 SELECT "w"."wid" 2017-03-23 15:21:53.826880 , CASE WHEN w.isfixed THEN 1 ELSE 0 END AS "isfixed" 2017-03-23 15:21:53.826905 , COALESCE(reuse.weight, w.initvalue, 0) AS "value" 2017-03-23 15:21:53.826933 FROM "dd_weights_inf_imply_has_spouse_has_spouse_0" "w" 2017-03-23 15:21:53.826958 LEFT OUTER JOIN "dd_graph_weights_reuse" "reuse" 2017-03-23 15:21:53.826987 ON "reuse"."description" = '\''inf_imply_has_spouse_has_spouse_0-'\''' 2017-03-23 15:21:53.892900 ERROR: relation "dd_graph_weights_reuse" does not exist 2017-03-23 15:21:53.892998 LINE 6: LEFT OUTER JOIN "dd_graph_weights_reuse" "reuse" 2017-03-23 15:21:53.893024 ^ 2017-03-23 15:21:53.895188 /home/mc/local/util/compute-driver/local/compute-execute: line 129: kill: (16900) - No such process 2017-03-23 15:21:53.897263 [ERROR] deepdive-unload: PID 16900: finished with non-zero exit status (1) 2017-03-23 15:21:53.897385 /home/mc/local/util/compute-driver/local/compute-execute: line 126: 16895 Terminated DEEPDIVE_CURRENT_PROCESS_INDEX=$i bash -c "$command" < "$pipes"/process-$i.input 2017-03-23 15:21:53.897426 /home/mc/local/util/compute-driver/local/compute-execute: line 126: 16896 Terminated DEEPDIVE_CURRENT_PROCESS_INDEX=$i bash -c "$command" < "$pipes"/process-$i.input 2017-03-23 15:21:53.897454 /home/mc/local/util/compute-driver/local/compute-execute: line 126: 16897 Terminated DEEPDIVE_CURRENT_PROCESS_INDEX=$i bash -c "$command" < "$pipes"/process-$i.input ‘run/ABORTED’ -> ‘20170323/152143.567315166’

mcavdar commented 7 years ago

This problem occurs if you work with a modified spouse example by make test: use clean spouse example (without run folder)