A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ksonnet/ksonnet/issues/464 below:

ksonnet version 0.10.0-alpha.2 unable to import libsonnet files · Issue #464 · ksonnet/ksonnet · GitHub

BUG REPORT

/kind bug

What happened:
I tried to generate a component from kubeflow prototype and the did a ks show default. It throws the following error:

ERROR find objects: RUNTIME ERROR: couldn't open import "kubeflow/core/all.libsonnet": no match locally or in the Jsonnet library paths
	<extvar:__ksonnet/components>:5:15-51	thunk <all> from <object <anonymous>>
	<extvar:__ksonnet/components>:10:32-35	thunk from <thunk from <object <anonymous>>>
	/tmp/2018-04-20-08-37-05/my-kubeflow/lib/v1.9.6/k.libsonnet:96:24-29	thunk from <function <anonymous>>
	/tmp/2018-04-20-08-37-05/my-kubeflow/lib/v1.9.6/k.libsonnet:97:36-41	thunk from <function <anonymous>>
	<builtin>	builtin function <type>
	<std>:1165:25-26	thunk from <thunk <ta> from <function <anonymous>>>
	<builtin>	builtin function <type>
	<std>:1167:29-31	thunk from <function <anonymous>>
	<builtin>	builtin function <primitiveEquals>
	<std>:1167:8-36	function <anonymous>

	/tmp/2018-04-20-08-37-05/my-kubeflow/lib/v1.9.6/k.libsonnet:96:13-30	function <anonymous>
	/tmp/2018-04-20-08-37-05/my-kubeflow/lib/v1.9.6/k.libsonnet:(92:22)-(96:30)	function <anonymous>
	<extvar:__ksonnet/components>:10:13-61	thunk from <object <anonymous>>
	<std>:1216:24-25	thunk from <thunk <t> from <function <anonymous>>>
	<builtin>	builtin function <type>
	<std>:1217:8-9	function <anonymous>
	<std>:1165:25-26	thunk from <thunk <ta> from <function <anonymous>>>
	<builtin>	builtin function <type>
	<std>:1167:29-31	thunk from <function <anonymous>>
	<builtin>	builtin function <primitiveEquals>
	<std>:1167:8-36	function <anonymous>

	<extvar:__ksonnet/components>:10:3-62	object <anonymous>
	During manifestation

What you expected to happen:
It should show the yaml file instead of throwing an error

How to reproduce it (as minimally and precisely as possible):

ks init my-kubeflow
cd my-kubeflow
ks registry add kubeflow github.com/kubeflow/kubeflow/tree/master/kubeflow
ks pkg install kubeflow/core@master
ks generate core kubeflow-core --name=kubeflow-core
ks show default -c kubeflow-core

This works perfectly fine with 0.9.2

Environment:

/cc @bryanl

Cross Referencing kubeflow/kubeflow#686


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4