Git Product home page Git Product logo

Comments (7)

domoritz avatar domoritz commented on June 2, 2024

Please post the complete command you ran. What's the content of the spec/query you passed in?

from draco.

907929194 avatar 907929194 commented on June 2, 2024

I want to run it with my own data,so I built the environment in VMvare according to the website “https://github.com/uwdata/draco”. An error has been encountered when I executed this sentencesh “run_pipeline.sh spec”, I don't know exactly what spec means. Thank you for your help.

from draco.

domoritz avatar domoritz commented on June 2, 2024

Replace spec with a partial specification such as https://github.com/uwdata/draco/blob/master/examples/scatter.vl.json.

from draco.

sjzabc avatar sjzabc commented on June 2, 2024

sh run_pipeline.sh examples/scatter.vl.json
🌟 [OK] Start processing file examples/scatter.vl.json...
INFO:draco.cli:Processing query: examples/scatter.vl.json ...
ERROR:draco.run:b'-:1180:14-15: error: syntax error, unexpected :\n\n*** ERROR: (clingo): parsing failed\n'
ERROR:draco.run:Unsupported result: UNKNOWN
🌟 [OK] Output spec: tmp/scatter.vl.vl.json
run_pipeline.sh: 28: run_pipeline.sh: ./js/node_modules/.bin/vl2png: not found

from draco.

domoritz avatar domoritz commented on June 2, 2024

Looks like there is a syntax error in the generated ASP script. To fix the second issue, install Vega.

from draco.

sjzabc avatar sjzabc commented on June 2, 2024

How to install Vega?Thanks!

from draco.

domoritz avatar domoritz commented on June 2, 2024

It's an npm package you install with yarn add vega. See https://vega.github.io/vega/usage/#cli.

from draco.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.