Evaluation Error: Operator '[]' is not applicable to an Undef Value.
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- devops, infrastructure
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Ruby
- Star
- 196
- Fork
- 370
- Merge trung bình
- 5 giờ 54 phút
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của voxpupuli/puppet-python
-
Requirements not installedĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 67/100
voxpupuli/puppet-python#759 ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
voxpupuli/puppet-python#743 · 1 bình luận ·
-
enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
voxpupuli/puppet-python#721 · 1 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
voxpupuli/puppet-python#711 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 52/100
voxpupuli/puppet-python#673 · 1 bình luận ·
Tất cả issue của voxpupuli/puppet-python
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
👩💻 équipe CE fonctionnalité
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
betagouv/conseillers-entreprises#4779 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Poetry updater rejects OR (||) Python constraints in PyprojectPreparer#update_python_requirementĐang mởL: python L: ruby:bundler
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
dependabot/dependabot-core#16819 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
resource: surah-info
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
TarteelAI/quranic-universal-library#996 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Missing ar translation: components/common/CommunitySolution.tsx:communitySolution.authorsSolutionĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày