Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

Apps commands only accept relative path to app.yml

Ouverte Adaptée aux débutants
#6,910 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

@yuri-rod y travaille déjà.

Depuis le 4/10/2026.

  • #6918 par @yuri-rod — ouverte

Évaluation

Difficulté
2/5
Temps estimé
1-3 heures
Accessibilité débutants
82/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
go
Domaine
cli

Piste de recherche

Commencez dans libs/apps/runlocal/spec.go, autour de la ligne 40, où le chemin de --entry-point est combiné avec le chemin de l’application. Reproduisez le problème avec un chemin absolu vers app.yml et vérifiez que la commande démarre correctement et affiche l’URL localhost au lieu de "no python file found".

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

CLI
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
  1. Run databricks apps run-local --entry-point <path> with an absolute path
  2. 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
Langage dominant
Go
Étoiles
405
Forks
250
Merge moyen
1 j 11 h
PR mergées (30 j)
203

Préparer son environnement

  • Fournit un Dockerfile ou un fichier Docker Compose
  • Propose un modèle de pull request
  • Aucun guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de databricks/cli

Toutes les issues de databricks/cli

Issues similaires

Plus d'issues Go

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.