HazyResearch / deepdive

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

Error Running Spouse Example #646

Open stevencox opened 7 years ago

stevencox commented 7 years ago

Working through the tutorial, I get the error below. It's running in the example directory from a clean git pull of the repo. What am I doing wrong?

[scox@mac~/dev/deepdive/examples/spouse]$ deepdive compile
2017-06-28 17:31:24.891776 ‘run/LATEST.COMPILE’ -> ‘20170628/173124.806825000’
2017-06-28 17:31:24.892533 ‘run/RUNNING.COMPILE’ -> ‘20170628/173124.806825000’
2017-06-28 17:31:24.892554 Parsing DeepDive application (/Users/scox/dev/deepdive/examples/spouse) to generate:
2017-06-28 17:31:24.892567  run/compiled/schema.json
2017-06-28 17:31:24.892579   from app.ddlog
2017-06-28 17:31:25.509188 [error] app.ddlog[56.48] failure: `json' expected but `t' found
2017-06-28 17:31:25.509253 
2017-06-28 17:31:25.509277     implementation "udf/nlp_markup.sh" handles tsj lines.
2017-06-28 17:31:25.509297 
2017-06-28 17:31:25.509315                                                ^
‘run/ABORTED.COMPILE’ -> ‘20170628/173124.806825000’
[scox@mac~/dev/deepdive/examples/spouse]$ deepdive version
deepdive v0.8.0-84-g28a58de (Darwin x86_64)
Information on this build of deepdive follows.

  deepdive version: v0.8.0-84-g28a58de
  deepdive Git commit: 28a58de9eaf92ef16c4777b007ef2d16cb7f0548

  Build Date: 2016-04-26T11:12:28-07:00
  Build Host: mujigae.mazic.org
  Build Operating System: Darwin
  Build Machine: x86_64

  Running Operating System: Darwin
  Running Machine: x86_64
[scox@mac~/dev/deepdive/examples/spouse]$ python -c "import sys; print(sys.version)"
2.6.9 (unknown, Jul 14 2015, 19:46:31) 
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)]
xiaoxielnino commented 6 years ago

I've got the same error. BUT I still cannot find the solution!! Is there sth wrong with this example? Or is this example real work?

dru1889 commented 4 years ago

It needs a file named as "articles.csv" in the input folder. And deepdive can compile