These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

Ships & Modules

 
  • Topic is locked indefinitely.
 

pyfa v1.29.4 - The Python Fitting Assistant

Author
Mira Virage
State Protectorate
Caldari State
#441 - 2017-05-17 12:04:58 UTC
Release Notes wrote:
Character lists are sorted properly

\o/

Thank you, and fly safe!
Ieroglif
The CHAOS fACTORY
#442 - 2017-05-17 13:57:31 UTC
Sable Blitzmann wrote:


https://github.com/pyfa-org/Pyfa/issues/1149 There's an issue for this very bug, however I cannot reproduce and I haven't heard back from the original reporter. Would you be able to send me your ~/.pyfa/ directory zipped up to sable.blitzmann@gmail.com?

Also, please update to v1.29.2 and try to reproduce before sending me that directory. I added a logging statement that may help pinpoint what is happening. :)


I've updated pyfa to v1.29.2 and get same error. So, as discussed I've sent you email with additional information and my .pyfa folder

Thanks.
Kaleesh
ISK BURNER
#443 - 2017-05-19 11:48:31 UTC
How can i safe all added character API´s ? Every Update i have to put in all chars API´s again, thats not cool, maybe there is a way ?
Ebag Trescientas
Center for Advanced Studies
Gallente Federation
#444 - 2017-05-19 18:18:33 UTC
Kaleesh wrote:
How can i safe all added character API´s ? Every Update i have to put in all chars API´s again, thats not cool, maybe there is a way ?


What do you mean? You shouldn't have to re-enter char info. (I don't.)

Want Pyfa, but with more features?

Pyfa.fit

Lily Vanderbilt
Spitfire Syndicate
#445 - 2017-05-19 20:45:26 UTC
I'm trying to install pyfa and after installing and hitting launch pyfa I am greeted with this error. Any idea what I did wrong?

EXCEPTION: (sqlite3.OperationalError) table damagePatterns has 9 columns but 7 values were supplied [SQL: 'INSERT INTO damagePatterns VALUES (?, ?, ?, ?, ?, ?, ?)'] [parameters: (1, 'Uniform', 25, 25, 25, 25, None)]

Ebag Trescientas
Center for Advanced Studies
Gallente Federation
#446 - 2017-05-19 21:49:22 UTC  |  Edited by: Ebag Trescientas
Lily Vanderbilt wrote:
I'm trying to install pyfa and after installing and hitting launch pyfa I am greeted with this error. Any idea what I did wrong?

EXCEPTION: (sqlite3.OperationalError) table damagePatterns has 9 columns but 7 values were supplied [SQL: 'INSERT INTO damagePatterns VALUES (?, ?, ?, ?, ?, ?, ?)'] [parameters: (1, 'Uniform', 25, 25, 25, 25, None)]



Thanks for sending me your stuff.

[2017-05-19 20:42:13.095000] INFO: eos.db.migration: Applying database update: 6


DB claims it's version 5, but it's not. Curious.


Fixed and sent back to you.

Looks like it failed running either the 23rd or 24th migration. Because of the way migrations are setup, it doesn't update the DB version until it's complete (rather than incrementing each version as it runs). That caused it to go all the way back to the beginning rather than staying at where it stopped.

Want Pyfa, but with more features?

Pyfa.fit

Astevon
Utama Incorporated
Astral Alliance
#447 - 2017-05-20 01:47:53 UTC
Just got the following error when deleting a fit:


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.29.2 Stable - YC119.5 1.0
pyfa root: D:\Cloud\EVE\Pyfa
save path: C:\Users\Astevon\.pyfa
fs encoding: mbcs

EXCEPTION: String or Unicode type required

File "D:\Cloud\EVE\Pyfa\library.zip\gui\projectedView.py", line 213, in fitChanged
self.update(stuff)
File "D:\Cloud\EVE\Pyfa\library.zip\gui\display.py", line 293, in update
self.refresh(stuff)
File "D:\Cloud\EVE\Pyfa\library.zip\gui\display.py", line 254, in refresh
colItem.SetText(newText)
File "C:\python-2.7.10\lib\site-packages\wx-3.0-msw\wx\_controls.py", line 4190, in SetText

Previous Main: Astecus | Creator of the Anti-ganking channel, Anti-ganking.net and AstralServices.net

Sable Blitzmann
24th Imperial Crusade
Amarr Empire
#448 - 2017-05-20 06:15:45 UTC  |  Edited by: Sable Blitzmann
Kaleesh wrote:
How can i safe all added character API´s ? Every Update i have to put in all chars API´s again, thats not cool, maybe there is a way ?


So, once you update, your characters are still there, but the API (key and vCode) isn't? This is a very odd thing to have happen, and not something I've ever run into or has ever been reported before. The api code hasn't been touched in a long while either... :(

Is there any more information that you can provide? I'm at a loss.

Astevon wrote:
Just got the following error when deleting a fit:


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.29.2 Stable - YC119.5 1.0
pyfa root: D:\Cloud\EVE\Pyfa
save path: C:\Users\Astevon\.pyfa
fs encoding: mbcs

EXCEPTION: String or Unicode type required

File "D:\Cloud\EVE\Pyfa\library.zip\gui\projectedView.py", line 213, in fitChanged
self.update(stuff)
File "D:\Cloud\EVE\Pyfa\library.zip\gui\display.py", line 293, in update
self.refresh(stuff)
File "D:\Cloud\EVE\Pyfa\library.zip\gui\display.py", line 254, in refresh
colItem.SetText(newText)
File "C:\python-2.7.10\lib\site-packages\wx-3.0-msw\wx\_controls.py", line 4190, in SetText


Hey there, and thanks for the report. This is a known issue and will hopefully have a fix this weekend for it :) Are you able to consistently reproduce this issue by chance?

Mira Virage wrote:
Release Notes wrote:
Character lists are sorted properly

\o/

Thank you, and fly safe!



:D You're most welcome, was a total oversight on my part originally :P
Bukan Mahyisti
Hedion University
Amarr Empire
#449 - 2017-05-20 16:49:05 UTC
Hi. After the last update, the import of the character from EVEMON does not work. The imported character does not have any skills. Rollback to the previous version of the program did not solve the problem.
Ebag Trescientas
Center for Advanced Studies
Gallente Federation
#450 - 2017-05-20 16:59:12 UTC
Bukan Mahyisti wrote:
Hi. After the last update, the import of the character from EVEMON does not work. The imported character does not have any skills. Rollback to the previous version of the program did not solve the problem.


Can you email me your log and EVEMON char file? I'll evemail you my email address.

Want Pyfa, but with more features?

Pyfa.fit

Bukan Mahyisti
Hedion University
Amarr Empire
#451 - 2017-05-20 17:15:49 UTC
Ebag Trescientas wrote:


Can you email me your log and EVEMON char file? I'll evemail you my email address.


Sent char file and savedata.db.
".pyfa" folder does not contain logs
Ebag Trescientas
Center for Advanced Studies
Gallente Federation
#452 - 2017-05-20 18:16:32 UTC
Bukan Mahyisti wrote:
Ebag Trescientas wrote:


Can you email me your log and EVEMON char file? I'll evemail you my email address.


Sent char file and savedata.db.
".pyfa" folder does not contain logs



It's broken because the character handler is expecting security status, but it's missing. Simple fix.

I've fixed it here:
https://github.com/Pyfa-fit/Pyfa-fit/pull/98

Want Pyfa, but with more features?

Pyfa.fit

Bukan Mahyisti
Hedion University
Amarr Empire
#453 - 2017-05-20 18:36:12 UTC
Ebag Trescientas wrote:



Thank you for the excellent program and support.
Astevon
Utama Incorporated
Astral Alliance
#454 - 2017-05-21 12:53:08 UTC
I've had a large remote ancillary on a nestor fit for a while, but lately it started throwing this error almost whatever change I do to the fit now, :


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.29.2 Stable - YC119.5 1.0
pyfa root: D:\Cloud\EVE\Pyfa
save path: C:\Users\Astevon\.pyfa
fs encoding: mbcs

EXCEPTION: u'Ancillary Remote Armor Repairer'

File "D:\Cloud\EVE\Pyfa\library.zip\gui\statsPane.py", line 75, in fitChanged
view.refreshPanel(fit)
File "D:\Cloud\EVE\Pyfa\library.zip\gui\builtinStatsViews\rechargeViewFull.py", line 109, in refreshPanel
tank = fit.effectiveSustainableTank if self.effective else fit.sustainableTank
File "D:\Cloud\EVE\Pyfa\library.zip\eos\saveddata\fit.py", line 1368, in effectiveSustainableTank
eshps = self.damagePattern.calculateEffectiveTank(self, self.sustainableTank)
File "D:\Cloud\EVE\Pyfa\library.zip\eos\saveddata\fit.py", line 1063, in sustainableTank
self.calculateSustainableTank()
File "D:\Cloud\EVE\Pyfa\library.zip\eos\saveddata\fit.py", line 1122, in calculateSustainableTank
amount = mod.getModifiedItemAttr(groupAttrMap[mod.item.group.name])



Previous Main: Astecus | Creator of the Anti-ganking channel, Anti-ganking.net and AstralServices.net

Jenne Wain
Grave Wisdom Industry
#455 - 2017-05-21 16:43:32 UTC
Hi, All

I have a very odd issue that just started yesterday. I am running PYFA on multiple Macs (and it generally works like a total champ), but I am now having a very odd issue on only one of them that is related to opening browser windows.

In short, when I take any action that would launch a browser (logging into CREST, clicking on the Wiki or Forum links from the Help menu, etc.) it absolutely insists on trying to use Firefox although Safari is set as my default browser.

If Firefox is not running, I will usually get an error message as it tries to launch a VM, things will hang and after about a minute, it will launch in Safari (but in the case of CREST, the server timeout has already been reached). If Firefox is actually running, everything works fine- but only within Firefox.

I have checked other applications and my system settings and everything appears to be in order and no other applications are having this issue, so I have a sense that i am just missing a setting somewhere or a particular file has gone wonky.

PYFA has always worked fine on this machine and is working normally on my others. I am running PYFA 1.29.2 and macOS 10.12.6 on this particular machine and the issue appears to have begun after I updated PYFA.

Any ideas or thoughts?

Thanks!
Ebag Trescientas
Center for Advanced Studies
Gallente Federation
#456 - 2017-05-21 23:16:14 UTC
Jenne Wain wrote:
Hi, All

I have a very odd issue that just started yesterday. I am running PYFA on multiple Macs (and it generally works like a total champ), but I am now having a very odd issue on only one of them that is related to opening browser windows.

In short, when I take any action that would launch a browser (logging into CREST, clicking on the Wiki or Forum links from the Help menu, etc.) it absolutely insists on trying to use Firefox although Safari is set as my default browser.

If Firefox is not running, I will usually get an error message as it tries to launch a VM, things will hang and after about a minute, it will launch in Safari (but in the case of CREST, the server timeout has already been reached). If Firefox is actually running, everything works fine- but only within Firefox.

I have checked other applications and my system settings and everything appears to be in order and no other applications are having this issue, so I have a sense that i am just missing a setting somewhere or a particular file has gone wonky.

PYFA has always worked fine on this machine and is working normally on my others. I am running PYFA 1.29.2 and macOS 10.12.6 on this particular machine and the issue appears to have begun after I updated PYFA.

Any ideas or thoughts?

Thanks!


Pyfa doesn't force a default browser AFAIK, so that particular bit sounds like a system issue rather than a Pyfa issue.

There's a one bit that confuse me here:
Quote:
I will usually get an error message as it tries to launch a VM

What do you mean "launch a VM?


Also, have you tried uninstalling Firefox and seeing if the behavior changes? (Not offering that as a solution, just as a test.)

Finally, CREST is EOL, so there's not a lot off incentive to work on it right now. If you have a viable work around (which sounds like you do, as annoying as it is), that's _probably_ how it'll stay. But again, this strikes me more as a system issue than a pyfa issue.

Want Pyfa, but with more features?

Pyfa.fit

Jenne Wain
Grave Wisdom Industry
#457 - 2017-05-22 01:16:31 UTC
Ebag Trescientas wrote:


Pyfa doesn't force a default browser AFAIK, so that particular bit sounds like a system issue rather than a Pyfa issue.

There's a one bit that confuse me here:
Quote:
I will usually get an error message as it tries to launch a VM

What do you mean "launch a VM?


Also, have you tried uninstalling Firefox and seeing if the behavior changes? (Not offering that as a solution, just as a test.)

Finally, CREST is EOL, so there's not a lot off incentive to work on it right now. If you have a viable work around (which sounds like you do, as annoying as it is), that's _probably_ how it'll stay. But again, this strikes me more as a system issue than a pyfa issue.


Thanks so much for the reply. Sorry for the confusion, when I say "VM" I mean a virtual machine- I have several Windows VMs on my Mac that I use for other things, so it tries to launch Firefox from the VM, errors out since the hypervisor isn't running, and then hangs. It REALLY wants Firefox Lol

I agree that this is almost definitely a system issue, and an odd one at that. I just wanted to rule out a potential setting in a plist file or something that the dev team might know about.

Also, thanks for the info about CREST. I do have a workaround that I can use on this machine, it's more of a curiosity and inconvenience than anything, but certainly not the end of the world.

Thanks again!
Ebag Trescientas
Center for Advanced Studies
Gallente Federation
#458 - 2017-05-22 01:37:10 UTC
Jenne Wain wrote:

Thanks so much for the reply. Sorry for the confusion, when I say "VM" I mean a virtual machine- I have several Windows VMs on my Mac that I use for other things, so it tries to launch Firefox from the VM, errors out since the hypervisor isn't running, and then hangs. It REALLY wants Firefox Lol


Ahah. So it's a Windows environment, not a OS X environment.

If it's Win10, I'd check the file and app associations. You might have the app association setup correctly, but a file association (for .HTML maybe) pointing to Firefox.

Firefox is pretty aggressive at taking things over (all browsers are, really), so it wouldn't surprise me if some of the associations aren't what you're expecting them to be.

Want Pyfa, but with more features?

Pyfa.fit

Jenne Wain
Grave Wisdom Industry
#459 - 2017-05-22 02:07:04 UTC
Ebag Trescientas wrote:

Ahah. So it's a Windows environment, not a OS X environment.

If it's Win10, I'd check the file and app associations. You might have the app association setup correctly, but a file association (for .HTML maybe) pointing to Firefox.

Firefox is pretty aggressive at taking things over (all browsers are, really), so it wouldn't surprise me if some of the associations aren't what you're expecting them to be.


I'm running the EVE client in macOS natively- if you want to see comically bad performance, fire up EVE in a VM and watch the CPU cores burn-LOL. It's just an odd symptom of the issue that it looks to launch any version of FF that it can find, even if it happens to be living in a VM.

I've been doing some digging and all of the general associations are correct, but there are some very (VERY) deep parts of the system that I can dig into through Terminal. I think the next step will be to see what happens when I nuke FF from the machine.

Thanks again for the help!
Sable Blitzmann
24th Imperial Crusade
Amarr Empire
#460 - 2017-05-22 04:42:07 UTC
Ebag Trescientas wrote:
Bukan Mahyisti wrote:
Ebag Trescientas wrote:


Can you email me your log and EVEMON char file? I'll evemail you my email address.


Sent char file and savedata.db.
".pyfa" folder does not contain logs



It's broken because the character handler is expecting security status, but it's missing. Simple fix.

I've fixed it here:
https://github.com/Pyfa-fit/Pyfa-fit/pull/98


Thanks, and nice catch! :)

Astevon wrote:
I've had a large remote ancillary on a nestor fit for a while, but lately it started throwing this error almost whatever change I do to the fit now, :


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.29.2 Stable - YC119.5 1.0
pyfa root: D:\Cloud\EVE\Pyfa
save path: C:\Users\Astevon\.pyfa
fs encoding: mbcs

EXCEPTION: u'Ancillary Remote Armor Repairer'

File "D:\Cloud\EVE\Pyfa\library.zip\gui\statsPane.py", line 75, in fitChanged
view.refreshPanel(fit)
File "D:\Cloud\EVE\Pyfa\library.zip\gui\builtinStatsViews\rechargeViewFull.py", line 109, in refreshPanel
tank = fit.effectiveSustainableTank if self.effective else fit.sustainableTank
File "D:\Cloud\EVE\Pyfa\library.zip\eos\saveddata\fit.py", line 1368, in effectiveSustainableTank
eshps = self.damagePattern.calculateEffectiveTank(self, self.sustainableTank)
File "D:\Cloud\EVE\Pyfa\library.zip\eos\saveddata\fit.py", line 1063, in sustainableTank
self.calculateSustainableTank()
File "D:\Cloud\EVE\Pyfa\library.zip\eos\saveddata\fit.py", line 1122, in calculateSustainableTank
amount = mod.getModifiedItemAttr(groupAttrMap[mod.item.group.name])





This is an extension of a known issue. Do you mind providing a fit in which this happens? I'm pretty sure I know of a fix, but want to cover the bases :)

Jenne Wain wrote:
I have a very odd issue that just started yesterday. I am running PYFA on multiple Macs (and it generally works like a total champ), but I am now having a very odd issue on only one of them that is related to opening browser windows.

...


I'm with Ebag and second everything he said. Sounds like some sort of system issue; I've never heard of this happening before 0.o It could be that wxWidgets/wxPython has a sort of preference of which browser it opens. Then again, I just checked on my OS X VM and it opened in Safari ¯\_(ツ)_/¯