Azure / Azure/azure-storage-python

blob_size is undefined in baseblobservice

オープン
#675 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
343
フォーク
243
PR マージ指標
30日以内にマージされた PR はありません

説明

### Which service(blob, file, queue) does this issue concern?
blob

### Which version of the SDK was used? Please provide the output of `pip freeze`.
v2.1.0

### What problem was encountered?
`blob_size` is undefined in line 2212 in `azure-storage-python/azure-storage-blob/azure/storage/blob/baseblobservice.py`

### Have you found a mitigation/solution?
Maybe we also set `blob_size` in the except branch in line 2189 and so we have it defined in both cases.

Note: for table service, please post the issue here instead: https://github.com/Azure/azure-cosmosdb-python.

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

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

調査の方向性

バグは azure-storage-python/azure-storage-blob/azure/storage/blob/baseblobservice.py の2189-2212行付近にあります。まず、報告された blob 操作について、通常のパスと例外パスで blob_size がどのように代入されるかを追跡してください。例外パスが実行されたときに、操作で未定義変数エラーが発生しなくなれば完了です。

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

評価

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

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

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