PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Unable to open build, attempt to perform arithmetic on bool

Ouverte
#9,441 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

bug crash
Langage dominant
Lua
Étoiles
5.4k
Forks
2.4k
Merge moyen
1 j 12 h
PR mergées (30 j)
26

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Commencez par inspecter Modules/CalcPerform.lua à la ligne 2488 et suivez la stack trace à travers Modules/Calcs.lua, puis essayez d’ouvrir le fichier paladin.xml fourni. Suivez la manière dont la valeur booléenne atteint l’opération arithmétique après les étapes d’exportation et de suppression d’objets. Le travail est considéré comme terminé lorsque le build s’ouvre sans cette erreur et que le calcul en échec gère correctement la valeur concernée.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
lua
Domaine
desktop, tooling
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.