Closed MoTodoka closed 6 years ago
I can't do much testing at the moment because I am at work but it looks like in the past missileskillwarheadupgradeskineticdamagebonus.py was only ever being called from the warhead upgrades skill, whereas now it can be called from something that isn't a skill but is actually a booster.
If it's called from the booster then it's been passed a booster object rather than a skill object so when it tries to get the skill.level it fails. A possible fix for this would be to skip the skill level check if it has been called from a booster... will have a look when I get home.
OS version: Windows-8-6.2.9200 Python: 2.7.10 wxPython: 3.0.2.0 SQLAlchemy: 1.0.5 Logbook: 1.0.0 pyfa version: 1.33.0 Stable - Lifeblood 1.0 pyfa root: C:_portable_sync\apps\pyfa save path: C:_portable_sync\apps\pyfa\saveddata fs encoding: mbcs
EXCEPTION: 'Booster' object has no attribute 'level'
File "C:_portable_sync\apps\pyfa\library.zip\gui\builtinAdditionPanes\boosterView.py", line 135, in addItem trigger = sFit.addBooster(fitID, event.itemID) File "C:_portable_sync\apps\pyfa\library.zip\service\fit.py", line 356, in addBooster self.recalc(fit) File "C:_portable_sync\apps\pyfa\library.zip\service\fit.py", line 1212, in recalc fit.calculateModifiedAttributes() File "C:_portable_sync\apps\pyfa\library.zip\eos\saveddata\fit.py", line 790, in calculateModifiedAttributes item.calculateModifiedAttributes(self, runTime, False) File "C:_portable_sync\apps\pyfa\library.zip\eos\saveddata\booster.py", line 124, in calculateModifiedAttributes effect.handler(fit, self, ("booster",)) File "C:_portable_sync\apps\pyfa\library.zip\eos\effects\missileskillwarheadupgradeskineticdamagebonus.py", line 11, in handler "kineticDamage", skill.getModifiedItemAttr("damageMultiplierBonus") * skill.level)
@burnsypet indeed, this is exactly what is happening. Thanks for the bug report guys, this is fixed in 82d50cfa0ddbdfdbdb0e78cb7d4ea0d3ef125c64
I'll try to make a point release tomorrow with all the included fixes of today
I m fitting a Maelstrom at the moment. After I finished the Fitting, i tried to add some Boosters, to check which ones are worth it. The "Agency Tank Booster" works fine in all variations. but if i try to add an "Agency Damage Booster" (no matter what size) i get this Error:
Pyfa is adding the booster, but my ships does less damage (removing skill-bonus?)
My fit (not for discussing the fit. its not finished now - only for recreating that error):
after restarting pyfa and reopening the fitting pyfa is stacking the same error on the screen, i m using pyfa on 8 times. Screenshot
cant try it with other boosters now. my pyfa is broken. (;
o7 and fly free.
Mo Todoka