PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Unable to open build, attempt to perform arithmetic on bool

Abierto
#9,441 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

bug crash
Lenguaje dominante
Lua
Estrellas
5.4k
Forks
2.4k
Merge medio
1 d 12 h
PR fusionados (30 d)
26

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Empieza inspeccionando Modules/CalcPerform.lua en la línea 2488 y sigue el stack trace a través de Modules/Calcs.lua. Después, intenta abrir el archivo paladin.xml proporcionado. Traza cómo el valor booleano llega a la operación aritmética después de los pasos de exportación y eliminación de objetos. La tarea estará terminada cuando el build se abra sin este error y el cálculo que falla gestione el valor afectado de forma segura.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
lua
Área
desktop, tooling
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.