The variable named 'partition' causes an unhandled error when there are no disks connected to the system: "TypeError: argument of type 'NoneType' is not iterable".

オープン
#114 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

@eran132 がすでに取り組んでいます。

2026年9月25日 から。

  • #116 @eran132 による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python

調査の方向性

Start at ubiquity/plugins/ubi-partman.py around line 1209, where the partition value is used; trace how it is populated when no disks are present and why it can be None. Reproduce the no-disk path, then check that the partition UI/reporting handles the empty case without iterating over None. A linked pull request (#116) is already open, so read it and coordinate rather than duplicate the work.

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

説明

The variable named 'partition' causes an unhandled error when there are no disks connected to the system: "TypeError: argument of type 'NoneType' is not iterable".

Image

https://github.com/linuxmint/ubiquity/blob/08c64e720deaed9379c54694eccc259939fec26a/ubiquity/plugins/ubi-partman.py#L1209

主要言語
Python
スター
58
フォーク
57
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linuxmint/ubiquity のほかの issue

linuxmint/ubiquity の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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