snipsco / snips-nlu-rs

Snips NLU rust implementation
https://snips.ai
Other
340 stars 56 forks source link

build failures due to snips-nlu-ontology-parsers #108

Closed daaku closed 5 years ago

daaku commented 5 years ago

I'm trying to run the example as per the readme (with an engine already built) and getting this failure:

> cargo run -p snips-nlu-lib --example interactive_parsing_cli ../snlu/engine
error: no matching package named `snips-nlu-ontology-parsers` found
location searched: https://github.com/snipsco/snips-nlu-ontology?branch=develop
required by package `snips-nlu-lib v0.63.0-SNAPSHOT (/Users/naitik/workspace/snips-nlu-rs/snips-nlu-lib)`

It seemed like this was the fix:

-snips-nlu-ontology-parsers = { git = "https://github.com/snipsco/snips-nlu-ontology", branch = "develop" }
+snips-nlu-parsers = { git = "https://github.com/snipsco/snips-nlu-parsers", branch = "develop" }

But still fails:

error: no matching package named `snips-nlu-ontology-parsers` found
location searched: https://github.com/snipsco/snips-nlu-ontology?branch=develop
required by package `snips-nlu-lib v0.63.0-SNAPSHOT (https://github.com/snipsco/snips-nlu-rs?branch=develop#2d1f58b6)`
    ... which is depended on by `snips-nlu-ffi v0.63.0-SNAPSHOT (https://github.com/snipsco/snips-nlu-rs?branch=develop#2d1f58b6)`
    ... which is depended on by `snips-nlu-python-ffi v0.63.0-SNAPSHOT (/Users/naitik/workspace/snips-nlu-rs/snips-nlu-ffi/python/snips-nlu-python-ffi)`

I think it's because the dependency is pulling in the upstream snips-nlu-rs without my local fix? Any help would be appreciated!

adrienball commented 5 years ago

@daaku It should be fixed now by pulling develop. Sorry for that.

daaku commented 5 years ago

Works - thanks for the quick fix!