PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Unable to open build, attempt to perform arithmetic on bool

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

まだ誰も着手していません。

bug crash
主要言語
Lua
スター
5.4k
フォーク
2.4k
平均マージ
1日 12時間
マージ済み PR(30日)
26

説明

Check version
  • I'm running the latest version of Path of Building and I've verified this by checking the changelog
Check for duplicates
  • I've checked for duplicate open and closed issues by using the search function of the issue tracker
What platform are you running Path of Building on?

Windows

Screenshots of crash/graphical issue, version and options menu

I ran into an error when clicking Generate in the Build Sharing window with Export Support enabled. I dismissed the error, re-opened the build, removed an equipped item (Hands of Phrecia), and got another error. I attempted to re-open the build and found I could no longer open it, met with this error on every attempt to open the build:

Error:

In 'OnFrame': Modules/CalcPerform.lua:2488: attempt to perform arithmetic on field 'value' (a boolean value)
stack traceback:
	Modules/CalcPerform.lua:2488: in function 'perform'
	Modules/Calcs.lua:419: in function 'buildOutput'
	Classes/CalcsTab.lua:438: in function <Classes/CalcsTab.lua:420>
	Modules/Build.lua:656: in function 'CallMode'
	Modules/Main.lua:355: in function <Modules/Main.lua:341>
	[C]: in function 'PCall'
	Launch.lua:111: in function <Launch.lua:108>
v2.60.0-6d7be184 beta
Press Enter/Escape to dismiss, or F5 to restart the application.
Press CTRL + C to copy error text.
What are your system specifications and configuration?

Windows 11 version 10.0.22631
i9-14900KF
RTX 4090

How to reproduce the issue

Unfortunately, I can't provide exact repro steps as the build can't be opened to attempt to identify reproduction.

PoB for PoE1 build code

Uploaded XML for the build, as it can't be opened to provide a code: paladin.xml

Like the name suggests, it's a Paladin with a mostly typical aurabot setup. I had previously succeeded exporting the build as a support, but there were a lot of changes in between attempts so I've got no guess as to what change may have caused the error.

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

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

はじめの一歩

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

調査の方向性

まず Modules/CalcPerform.lua の 2488 行目を調査し、Modules/Calcs.lua を通る stack trace を追跡してから、提供された paladin.xml を開いてみてください。エクスポートとアイテム削除の手順の後に、boolean 値がどのように算術演算へ到達するかを追跡してください。このエラーなしで build が開き、失敗している計算が影響を受けた値を安全に処理できれば完了です。

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

評価

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

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

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