07th-mod / 07th-mod/python-patcher

Missing cert on Fedora Linux

オープン 初心者向け
#80 コメント 11 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
214
フォーク
12
PR マージ指標
30日以内にマージされた PR はありません

説明

We had a user on Fedora Linux whose install failed as python couldn't find the cert for downloading:

i've looked more carefully into the terminal log and it seems that ssl certificates are at fault? " Failed to load trusted CA certificates from /etc/ssl/certs/ca-certificates.crt. Cause: error:02001002:system library:fopen:No such file or directory"

The user resolved the issue by manually copying the file to the right location

just now i went into into etc/ssl/certs/ and there was only a file called ca-bundle.crt and i copied it and named the copy ca-certificates.crt and tried insaller again

I'm just noting this down for now, no action taken.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

インストーラーのダウンロードロジック(おそらくPythonスクリプト内)を調べて、SSL証明書をどのように見つけているかを確認します。'/etc/ssl/certs/ca-certificates.crt' というパスをハードコードしているかどうかをチェックし、Fedoraでは 'ca-bundle.crt' にフォールバックすることを検討します。ファイルが存在しないシナリオをシミュレートして修正をテストします。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, python
領域
cli, tooling
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
65/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。