PG.pl uses the round function without explicitly loading a package that contains it.
Maintainer thường phản hồi trong vòng 4 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Start with the minimal problem in the issue, which calls the round function from PG.pl line 1097 without loading PGauxiliaryFunctions.pl. Check where round is defined and how other macros expose helpers before choosing a fix, since the issue itself leaves open whether PG.pl should load that file. Done means the MWE shows feedback with no 'Undefined subroutine' warning, and maintainers have agreed on where the helper should live.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Here is a MWE:
DOCUMENT();
loadMacros(
"PG.pl",
"PGbasicmacros.pl",
"PGML.pl",
);
$ans = List("1,2");
BEGIN_PGML
Enter [`1,2`]: [_]{$ans}
END_PGML
ENDDOCUMENT();
Enter "1" in the answer blank and you get the following warning message, and the feedback is not shown for the answer.
ERRORS from post processing PG text:
Undefined subroutine &main::round called at [PG]/macros/PG.pl line 1097
This is because the round function is defined in PGauxiliaryFunctions.pl, which is not loaded by this problem.
This could be solved by having PG.pl load PGauxiliaryFunctions.pl, but it seems wrong to have the core PG macro depend on other macro files.
- Ngôn ngữ chính
- Perl
- Star
- 164
- Fork
- 167
- Merge trung bình
- 6 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 27
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không 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 openwebwork/webwork2
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
openwebwork/webwork2#3295 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
openwebwork/webwork2#3290 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
openwebwork/webwork2#2997 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 56/100
openwebwork/webwork2#3276 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
openwebwork/webwork2#3272 · 6 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
Tất cả issue của openwebwork/webwork2
Issue tương tự
-
nftables: "Display comment in rules list?" option has no effect, comments not shown in rules listĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Type: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
inverse-inc/packetfence#9707 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Mailaddress phrase quotingĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
RotherOSS/otobo#6457 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The reply-to for the pro user signup emails should be the email of the user instrad of the contact@ emailCó thể đã có người làm @sisodiaumang đã nhận hôm nay. Đang mở🏭 producer platform - spam
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
openfoodfacts/openfoodfacts-server#15447 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Harden argument handling in deploy-contract.shCó thể đã có người làm @Asta-wizard đã nhận 1 ngày trước. Đang mởStellar Wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Feyisara2108/stellargive#1377 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày