Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

EXIT CODE 127 ./run.sh

Đang mở
#1,715 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
30/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
haskell, shell, ubuntu
Lĩnh vực
build-system, devops

Hướng nghiên cứu

Trước tiên, hãy đọc các bước cài đặt gói trong install.sh và luồng lệnh trong run.sh và base.sh, sau đó tái hiện các lỗi của libncurses5 và codeworld-server trên Ubuntu. Hoàn thành khi quá trình cài đặt kết thúc và run.sh khởi động máy chủ mà không có mã thoát 127.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

david@david-550XED:~/codeworld$ ./install.sh
Detected apt-get: Installing packages from there.

===== RUNNING: sudo apt-get update -y
Warning: The unit file, source configuration file or drop-ins of apt-news.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Warning: The unit file, source configuration file or drop-ins of esm-cache.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Hit:1 http://br.archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://br.archive.ubuntu.com/ubuntu noble-updates InRelease         
Hit:3 http://br.archive.ubuntu.com/ubuntu noble-backports InRelease       
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease             
Hit:5 http://security.ubuntu.com/ubuntu noble-security InRelease
Reading package lists... Done
===== RUNNING: sudo apt-get install -y pkg-config
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done        
The following additional packages will be installed:
  libpkgconf3 pkgconf pkgconf-bin
The following NEW packages will be installed:
  libpkgconf3 pkg-config pkgconf pkgconf-bin
0 upgraded, 4 newly installed, 0 to remove, and 246 not upgraded.
Need to get 75.4 kB of archives.
After this operation, 283 kB of additional disk space will be used.
Get:1 http://br.archive.ubuntu.com/ubuntu noble/main amd64 libpkgconf3 amd64 1.8.1-2build1 [30.7 kB]
Get:2 http://br.archive.ubuntu.com/ubuntu noble/main amd64 pkgconf-bin amd64 1.8.1-2build1 [20.7 kB]
Get:3 http://br.archive.ubuntu.com/ubuntu noble/main amd64 pkgconf amd64 1.8.1-2build1 [16.8 kB]
Get:4 http://br.archive.ubuntu.com/ubuntu noble/main amd64 pkg-config amd64 1.8.1-2build1 [7,264 B]
Fetched 75.4 kB in 0s (372 kB/s)      
Selecting previously unselected package libpkgconf3:amd64.
(Reading database ... 182558 files and directories currently installed.)
Preparing to unpack .../libpkgconf3_1.8.1-2build1_amd64.deb ...
Unpacking libpkgconf3:amd64 (1.8.1-2build1) ...
Selecting previously unselected package pkgconf-bin.
Preparing to unpack .../pkgconf-bin_1.8.1-2build1_amd64.deb ...
Unpacking pkgconf-bin (1.8.1-2build1) ...
Selecting previously unselected package pkgconf:amd64.
Preparing to unpack .../pkgconf_1.8.1-2build1_amd64.deb ...
Unpacking pkgconf:amd64 (1.8.1-2build1) ...
Selecting previously unselected package pkg-config:amd64.
Preparing to unpack .../pkg-config_1.8.1-2build1_amd64.deb ...
Unpacking pkg-config:amd64 (1.8.1-2build1) ...
Setting up libpkgconf3:amd64 (1.8.1-2build1) ...
Setting up pkgconf-bin (1.8.1-2build1) ...
Setting up pkgconf:amd64 (1.8.1-2build1) ...
Setting up pkg-config:amd64 (1.8.1-2build1) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
===== RUNNING: sudo apt-get install -y git
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done        
git is already the newest version (1:2.43.0-1ubuntu7.1).
0 upgraded, 0 newly installed, 0 to remove, and 246 not upgraded.
===== RUNNING: sudo apt-get install -y curl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done        
curl is already the newest version (8.5.0-2ubuntu10.5).
0 upgraded, 0 newly installed, 0 to remove, and 246 not upgraded.
===== RUNNING: sudo apt-get install -y wget
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done        
wget is already the newest version (1.21.4-1ubuntu4.1).
wget manually set to install.
0 upgraded, 0 newly installed, 0 to remove, and 246 not upgraded.
===== RUNNING: sudo apt-get install -y bzip2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done        
bzip2 is already the newest version (1.0.8-5.1build0.1).
bzip2 manually set to install.
0 upgraded, 0 newly installed, 0 to remove, and 246 not upgraded.
===== RUNNING: sudo apt-get install -y xz-utils
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done        
xz-utils is already the newest version (5.6.1+really5.4.5-1build0.1).
xz-utils manually set to install.
0 upgraded, 0 newly installed, 0 to remove, and 246 not upgraded.
===== RUNNING: sudo apt-get install -y psmisc
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done        
psmisc is already the newest version (23.7-1build1).
psmisc manually set to install.
0 upgraded, 0 newly installed, 0 to remove, and 246 not upgraded.
===== RUNNING: sudo apt-get install -y zlib1g-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done        
zlib1g-dev is already the newest version (1:1.3.dfsg-3.1ubuntu2.1).
0 upgraded, 0 newly installed, 0 to remove, and 246 not upgraded.
===== RUNNING: sudo apt-get install -y libncurses5 libncurses5-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done        
Note, selecting 'libncurses-dev' instead of 'libncurses5-dev'
E: Unable to locate package libncurses5
david@david-550XED:~/codeworld$ ./run.sh
===== RUNNING: rm -rf data/*/build
find: ‘data/base’: File or directory not found
===== RUNNING: codeworld-server -p 8080 --no-access-log
./run.sh: line 32: codeworld-game-server: command not found
base.sh: line 83: codeworld-server: command not found

========== Aborting: Command failed. ==========
DIRECTORY: .
COMMAND  : codeworld-server -p 8080 --no-access-log
EXIT CODE: 127
===============================================
Ngôn ngữ chính
Haskell
Star
1.3k
Fork
201
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của google/codeworld

Tất cả issue của google/codeworld

Issue tương tự

Thêm issue về Haskell

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.