-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on opening fit and on new fit #1291
Comments
Can you post your log files found in |
Also, is it only this one hull that is causing issues? |
I was able to reproduce by setting a price in the database to It would still be really helpful to have those logs if you can provide them :) |
Pyfa-2017-09-21.log.txt the old log was 2 meg, this one is only 1284k. realize this is an empty fit. |
I tried about a dozen other hulls, all were fine. But it also happened with a bustard. Occator and Mastadon are fine. All other industrials are fine. OS version: Windows-8-6.2.9200 EXCEPTION: unsupported operand type(s) for +=: 'int' and 'NoneType' File "D:\Apps\pyfa\library.zip\gui\statsPane.py", line 75, in fitChanged |
Can you send me your I have a fix that I'm working on and testing. |
I did export of all fittings (1,196 of them!) to see if I could see anything in common with the fits associated. Here is the single Bustard fit I have in there.
I had some weirder ones with the impel (99.98% resists across the board anyone?) but no unknown items. I copied this fit to the prowler, different class, but all the same values, no problems, so it has to be a null value on the ship? Let me know if you want me to adjust priceViewFull.py in any way to try to figure out which item is Null now? |
A fitting export isn't going to help unfortunately. The problem lies with the price that is coming back for the ship item
So best troubleshooting would be to get your As for the fix, the current working thought it to always return a float fore the price, regardless of if price is NULL in the database. That should fix the issue from manifesting, but still want to delve into why it started in the first place :) |
Yeah, mailed you the db, let me know if you want anything else on this. Thanks! |
Thanks! |
This should be fixed in |
Bug Report
This is a bug. I attempted to open an impel fit, pasted below. It throws an error, pasted below. When I try to make a new fit, it throws an error. I can open other ships I tested, like an occator. The program is semi-usable afterwards.
I have pasted a screen shot as well here: https://imgur.com/a/NbEaR
Expected behavior: Open a new fit, or an old fit.
Actual behavior: Application error with this error message:
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.31.0 Stable - YC119.8 1.0
pyfa root: D:\Apps\pyfa
save path: C:\Users\gonzo.pyfa
fs encoding: mbcs
EXCEPTION: unsupported operand type(s) for +=: 'int' and 'NoneType'
File "D:\Apps\pyfa\library.zip\gui\statsPane.py", line 75, in fitChanged
view.refreshPanel(fit)
File "D:\Apps\pyfa\library.zip\gui\builtinStatsViews\priceViewFull.py", line 90, in refreshPanel
self.refreshPanelPrices(fit)
File "D:\Apps\pyfa\library.zip\gui\builtinStatsViews\priceViewFull.py", line 134, in refreshPanelPrices
total_price += ship_price
Detailed steps to reproduce:
Load faction tank fit as below:
Start new Impel fit?
Throws error.
Fits involved in EFT format (Edit > To Clipboard > EFT):
Empty fit
12753::
Faction tank one that might be causing the problem
12753:20351;1:2048;1:15030;1:15078;1:15062;1:15046;1:15455;1:14767;2:31059;2::
Release or development git branch? Please note the release version or commit hash:
Release: 1.31.0 Stable YC119.8 1.0
Operating system and version (eg: Windows 10, OS X 10.9, OS X 10.11, Ubuntu 16.10):
Windows 10 64-bit
Other relevant information:
I have pasted a screen shot as well here: https://imgur.com/a/NbEaR
(Thanks for all your fine fine work.)
The text was updated successfully, but these errors were encountered: