Apps commands only accept relative path to app.yml
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 82/100
Línea de trabajo
Empieza en libs/apps/runlocal/spec.go, alrededor de la línea 40, donde la ruta de --entry-point se combina con la ruta de la aplicación. Reproduce el problema con una ruta absoluta de app.yml y verifica que el comando se inicia correctamente e imprime la URL de localhost en lugar de "no python file found".
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the issue
When running databricks apps run-local --entry-point <path> if the path is not relative, the app won't start and instead exit with Error: no python file found.
The problem is this line which just places the path passed with --entry-point after the app path (in my case the working directory):
https://github.com/databricks/cli/blob/419b912bb18dd06d6be2a657d7cef7cbb9e12932/libs/apps/runlocal/spec.go#L40
Steps to reproduce the behavior
- Run
databricks apps run-local --entry-point <path>with an absolute path - See error:
Error: no python file found
Expected Behavior
The app starts with something like: To access your app go to http://localhost:8001
Actual Behavior
The app stops with: Error: no python file found
OS and CLI version
Databricks CLI v1.19.0
MacOS 26.3.1 (a) (25D771280a)
Is this a regression?
I'm not sure, this is the first time I encountered it
Debug Logs
23:06:25 Info: start pid=59821 version=1.19.0 args="databricks, apps, run-local, --entry-point, /var/folders/y5/****/app.yml, --log-level=debug"
23:06:25 Debug: Found bundle root at /Users/****/Projects/**** (file /Users/****/Projects/****/databricks.yml) pid=59821
23:06:25 Info: Phase: load pid=59821
23:06:25 Debug: Apply pid=59821 mutator=EntryPoint
23:06:25 Debug: Apply pid=59821 mutator=scripts.preinit
23:06:25 Debug: No script defined for preinit, skipping pid=59821 mutator=scripts.preinit
23:06:25 Debug: Apply pid=59821 mutator=ProcessRootIncludes
23:06:25 Debug: Apply pid=59821 mutator=VerifyCliVersion
23:06:25 Debug: Apply pid=59821 mutator=EnvironmentsToTargets
23:06:25 Debug: Apply pid=59821 mutator=ComputeIdToClusterId
23:06:25 Debug: Apply pid=59821 mutator=InitializeVariables
23:06:25 Debug: Apply pid=59821 mutator=DefineDefaultTarget(default)
23:06:25 Debug: Apply pid=59821 mutator=validate:no_variable_reference_in_resource_key
23:06:25 Debug: Apply pid=59821 mutator=validate:unique_resource_keys
23:06:25 Debug: Apply pid=59821 mutator=SelectDefaultTarget
23:06:25 Debug: Apply pid=59821 mutator=SelectDefaultTarget mutator=SelectTarget(dev)
Using profile: ****
23:06:27 Debug: Loading **** profile from /Users/****/.databrickscfg pid=59821 sdk=true
23:06:27 Debug: [Local Cache] using cache key: **** pid=59821
23:06:27 Debug: [Local Cache] cache hit pid=59821
23:06:27 Debug: Resolved cloud from hostname: "Azure" pid=59821 sdk=true
23:06:27 Debug: Resolved token_audience from host metadata token_federation_default_oidc_audiences: "https://adb-****.azuredatabricks.net/oidc/v1/token" pid=59821 sdk=true
23:06:27 Debug: Resolved discovery_url from host metadata: "https://adb-****.azuredatabricks.net/oidc/.well-known/oauth-authorization-server" pid=59821 sdk=true
Error: no python file found
23:06:27 Info: failed execution pid=59821 exit_code=1 error="no python file found"
23:06:27 Debug: no telemetry logs to upload pid=59821
- Lenguaje dominante
- Go
- Estrellas
- 403
- Forks
- 244
- Merge medio
- 1 d 13 h
- PR fusionados (30 d)
- 263
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de databricks/cli
-
DABs
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
databricks/cli#6670 ·
Los mantenedores suelen responder en 1 día
-
DABs PyDABs
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
databricks/cli#3926 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
DABs
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
databricks/cli#6901 ·
Los mantenedores suelen responder en 1 día
-
Feature request: allow bundle init --config-file to read from Unity Catalog VolumesPosiblemente ocupada @leprpht la tomó hace 7 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 68/100
databricks/cli#6786 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
databricks/cli#6785 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de databricks/cli
Issues similares
-
[Studio feedback] 一轮对话的折叠Abiertoenhancement from-studio
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
esengine/DeepSeek-Reasonix#12048 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Bug]: Output-only Anthropic message_delta usage reaches native clients with input_tokens: 0Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
keyxmakerx/Chronicle#1108 ·
Los mantenedores suelen responder en 1 día
-
bug(hub,chat): Wave-2 web chat sendAgentRouted does not update RecordChannel reply affinity to 'web'Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
GoogleCloudPlatform/scion#2448 ·
Los mantenedores suelen responder en 1 día
-
customer issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
dolthub/go-mysql-server#3988 ·
Los mantenedores suelen responder en 1 día