Skip to content

Issue when using damage profile #2787

Description

@Soulweave

I imported the damage profiles from https://skoli.ru/en/edb/npc-damage-types as pyfa was missing npc pirates from missions section (angels guristas etc) and i get this error now when i try to select the damage profile on RAR etc

pyfa v2.68.0
EVE Data Version: 3424810 (2026-07-07 20:17:18)

OS version: Windows-10-10.0.19045-SP0
Python version: 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
wxPython version: 4.2.1 (wxWidgets 3.2.2.1)
SQLAlchemy version: 1.4.50
Logbook version: 1.7.0.post0
Requests version: 2.31.0
Dateutil version: 2.8.2

####################

Traceback (most recent call last):
File "gui\statsPane.py", line 140, in handler
File "gui\contextMenu.py", line 116, in getMenu
File "gui\contextMenu.py", line 265, in _baseGetSubMenu
File "gui\builtinContextMenus\damagePatternChange.py", line 90, in getSubMenu
File "gui\builtinContextMenus\damagePatternChange.py", line 79, in makeMenu
File "gui\builtinContextMenus\damagePatternChange.py", line 83, in makeMenu
File "gui\builtinContextMenus\damagePatternChange.py", line 37, in _addPattern
wx._core.wxAssertionError: C++ assertion ""Assert failure"" failed at ....\src\common\stockitem.cpp(219) in wxGetStockLabel(): invalid stock item ID

From my testing turns out pyfa profile module does not recognize the entries with a * symbol:
DamageProfile=[Rogue Drones] [*],11,8,13,8

replacing the [*] with something else, i.e General (Without the [ ]) everything works.

perhaps add the damage profiles that are missing to pyfa? again reason i added them was mainly cause under missions there isnt the npc pirate ones.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions