Comments (7)
Please post the complete command you ran. What's the content of the spec/query you passed in?
from draco.
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.
Replace spec with a partial specification such as https://github.com/uwdata/draco/blob/master/examples/scatter.vl.json.
from draco.
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.
Looks like there is a syntax error in the generated ASP script. To fix the second issue, install Vega.
from draco.
How to install Vega?Thanks!
from draco.
It's an npm package you install with yarn add vega
. See https://vega.github.io/vega/usage/#cli.
from draco.
Related Issues (20)
- Errors when running run_pipeline.sh with defaults HOT 1
- chore: upgrade dependencies
- fix: word splitting in `js/concat_lp.sh`
- fix: `tests/test_run.py`
- Cannot create pull request HOT 2
- Delete spec.py HOT 2
- vl2asp and cql2asp should take base dir HOT 1
- Tests are failing HOT 1
- Pypi distribution should include asp / js files. HOT 5
- got a 404 error when running 'npm install' HOT 1
- CLI is broken HOT 1
- Counterexample for `no_stack_with_bar_area_discrete_color` hard constraint HOT 8
- package installation HOT 8
- Error in mypy test HOT 2
- A question about using wildcard encodings HOT 9
- Build issues with Vega-Lite version and Rollup plugin HOT 1
- Should schema2asp not be writing extent(F,MIN,MAX)? HOT 1
- asp2vl.js: "Unexpected token 'export'" error & Solution (?) that worked in my case. HOT 1
- Move to github actions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from draco.