posit-dev / posit-dev/rsconnect-python
Message `Error: Unable to infer Connect server type and setup server` not very informative
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 37
- Fork
- 28
- Merge medio
- 1g 3h
- PR unite (30g)
- 7
Descrizione
For example:
$ rsconnect deploy shiny -n rstudioservices .
Error: Unable to infer Connect server type and setup server.
It turned out that I had added the the server without an API key, but it took me a good while to figure that out. It would save a lot of time if the error message said what the problem was, and how to fix it. (I ended up removing the server and adding it again, with the API key.)
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo il comando rsconnect deploy shiny -n rstudioservices . e segui il percorso fino a individuare dove viene generato il messaggio “Unable to infer Connect server type and setup server”. L’issue è completata quando l’assenza di una chiave API produce un messaggio informativo che spiega il problema e come risolverlo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100