TypeError: unsupported operand type(s) for /: 'NoneType' and 'str'
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
- 25/100
Hướng nghiên cứu
Tái hiện lỗi crash bằng lệnh đã được báo cáo flatpak run com.github.Matoking.protontricks -v --gui. Bắt đầu tại protontricks/cli/main.py và lần theo lời gọi vào protontricks/util.py, đặc biệt là run_command gần traceback. Hoàn tất khi GUI liệt kê các game như mong đợi và việc chọn một game không còn gây ra TypeError đã được báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hello. When i launch protontricks with flag --gui its show not all games(only 2 of them) and when i select one of them its crashes.
pivnoi@pivnoi:~$ flatpak run com.github.Matoking.protontricks -v --gui
protontricks (INFO): Running inside Flatpak sandbox, version 1.6.5.
protontricks (WARNING): Flatpak version is too old (<1.12.1) to support sub-sandboxes. Disabling bwrap. --no-bwrap will be ignored.
protontricks (INFO): Found Steam directory at /home/pivnoi/.var/app/com.valvesoftware.Steam/data/Steam. You can also define Steam directory manually using $STEAM_DIR
protontricks (INFO): Using default Steam Runtime at /home/pivnoi/.steam/root/ubuntu12_32/steam-runtime
protontricks (INFO): WINETRICKS environment variable is not available. Searching from $PATH.
protontricks (INFO): Found 1 Steam library folders
protontricks (INFO): Currently logged-in Steam user: equesvasil
protontricks (INFO): Couldn't find custom shortcuts. Maybe none have been created yet?
protontricks (INFO): Using 'yad' as GUI provider
protontricks (INFO): Found active compatibility tool: Proton 5.13
protontricks (INFO): Active compatibility tool is a Proton installation
protontricks (INFO): WINE environment variable is not available. Setting WINE environment variable to Proton bundled version
Traceback (most recent call last):
File "/app/bin/protontricks", line 8, in <module>
sys.exit(cli())
File "/app/lib/python3.9/site-packages/protontricks/cli/main.py", line 28, in cli
main(args)
File "/app/lib/python3.9/site-packages/protontricks/cli/util.py", line 143, in wrapper
return cli_func(self, *args, **kwargs)
File "/app/lib/python3.9/site-packages/protontricks/cli/main.py", line 220, in main
run_command(
File "/app/lib/python3.9/site-packages/protontricks/util.py", line 352, in run_command
str(proton_app.proton_dist_path / "bin" / "wine")
TypeError: unsupported operand type(s) for /: 'NoneType' and 'str'
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 55
- Fork
- 7
- Merge trung bình
- 35 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 flathub/com.github.Matoking.protontricks
-
Status 139 Error.Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Does not work with Flathub SteamĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
flathub/com.github.Matoking.protontricks#230 · 1 bình luận ·
-
Manifest permissionsĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 38/100
Tất cả issue của flathub/com.github.Matoking.protontricks
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Kimi Code Write/Edit with a relative path is filed under the bare name: blame finds no writerĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
auth: agent-bearer --manager-call is told to use the MCP instance argument on an ambiguous managerĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area/agent status/need-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
google-gemini/gemini-cli#29811 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Devolutions/UniGetUI#5541 ·
Maintainer thường phản hồi trong vòng 1 ngày