Evaluation Error: Operator '[]' is not applicable to an Undef Value.
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Ambito
- devops, infrastructure
Direzione di ricerca
Reproduce the virtualenv pip install example, then inspect python/manifests/pyvenv.pp at line 49 and python/manifests/init.pp at line 95. Compare the available facter os data with the missing distro and codename values; done means the example catalogifies successfully without the Undef Value error.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: 6.17.0
- Ruby: 2.5.5
- Distribution: centos
- Module version:4.1.1
How to reproduce (e.g Puppet code you use)
Use example code to test virtualenv pip install
What are you seeing
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Operator '[]' is not applicable to an Undef Value. (file: ... python/manifests/pyvenv.pp, line: 49, column: 12) (file: ... python/manifests/init.pp, line: 95) on node host.domain
What behaviour did you expect instead
For the example to work.
Output log
Any additional information you'd like to impart
python/manifests/pyvenv.pp, line: 49
case $facts['os']['distro']['codename'] {
python/manifests/init.pp, line: 95
create_resources('python::pyvenv', $python_pyvenvs)
From the host facter os returns results whereas distro and codename do not.
- Lingua principale
- Ruby
- Stelle
- 196
- Fork
- 371
- Merge medio
- 5h 54m
- PR unite (30g)
- 5
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi 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.
Altre issue di voxpupuli/puppet-python
-
Requirements not installedAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 67/100
voxpupuli/puppet-python#759 ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
voxpupuli/puppet-python#743 · 1 commento ·
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
voxpupuli/puppet-python#721 · 1 reazione ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
voxpupuli/puppet-python#711 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 52/100
voxpupuli/puppet-python#673 · 1 commento ·
Tutte le issue di voxpupuli/puppet-python
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
heartcombo/simple_form#1874 ·
-
Category: OneSwap Status: Accepted
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
OpenNebula/one#8237 ·
-
Reconfigure Settings sidebarApertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
AllYourBot/hostedgpt#882 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
greenelab/lab-website-template#357 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
open-feature/ruby-sdk-contrib#283 ·
I maintainer di solito rispondono entro 1 giorno