PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Unable to open build, attempt to perform arithmetic on bool

Aperta
#9,441 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

bug crash
Lingua principale
Lua
Stelle
5.4k
Fork
2.4k
Merge medio
1g 12h
PR unite (30g)
26

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia ispezionando Modules/CalcPerform.lua alla riga 2488 e segui lo stack trace attraverso Modules/Calcs.lua, quindi prova ad aprire il file paladin.xml fornito. Traccia il modo in cui il valore booleano raggiunge l’operazione aritmetica dopo i passaggi di esportazione e rimozione degli oggetti. Il lavoro è completato quando il build si apre senza questo errore e il calcolo che fallisce gestisce in modo sicuro il valore interessato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
lua
Ambito
desktop, tooling
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.