PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Unable to open build, attempt to perform arithmetic on bool

Offen
#9,441 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug crash
Vorherrschende Sprache
Lua
Sterne
5.4k
Forks
2.4k
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
26

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit der Untersuchung von Modules/CalcPerform.lua in Zeile 2488 und verfolge den Stack Trace durch Modules/Calcs.lua. Versuche anschließend, die mitgelieferte paladin.xml zu öffnen. Verfolge, wie der boolesche Wert nach den Export- und Gegenstands-Entfernungsschritten die arithmetische Operation erreicht. Als erledigt gilt die Aufgabe, wenn der Build ohne diesen Fehler geöffnet wird und die fehlschlagende Berechnung den betroffenen Wert sicher verarbeitet.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
lua
Bereich
desktop, tooling
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.