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 1.15.0 (Vanguard)

First post First post First post
Author
Sable Blitzmann
24th Imperial Crusade
Amarr Empire
#261 - 2014-03-10 16:22:28 UTC
Brigard en Chasteaux wrote:
Sable Blitzmann wrote:

Problem is that there aren't a lot of mac devs that can look into this.

Do you know the last version where this worked for you? Is there anything in the error log file created in the save directory (~/.pyfa)? Are you willing to install python and run pyfa from source to see if it pops up anything in the console?

I've installed OS X on virtualbox to test this (Mountain Lion). I won't pretend to know much about OS X, but I was able to install Pyfa from the stable release, add damage profile, and switch between them just fine. =/


I'm an EVE newb, and this is the first time I've ever used pyfa, so I can't compare this behavior to older versions.

I looked in .pyfa, and there is no error log file. There is only saveddata.db and settings. I already have python installed and will give it whirl from source this weekend.

Also, not sure it would make any difference, but I'm on Mavericks and not ML (and, arrived at Mavericks from Snow Leopard->Mountain Lion->Mavericks upgrades, not a fresh install).



Download some older versions and see if the problem persists:

https://github.com/DarkFenX/Pyfa/releases

Try to pinpoint which release the problem starts at
Rhyx Vyvorant
Mu-Kau Methane Industries Inc
#262 - 2014-03-11 13:25:46 UTC
Hey guys, I want to see if I'm the only one having tons of reliability issues in OS X, because I don't see anyone else talking about it. I assumed everyone was dealing with these issues and that of course they must be being actively worked on, but now that I've browsed through this thread and I don't seem to see anyone else complaining about this, I wonder if it's just me.

I love Pyfa, and I use it regularly, but man, it's barely useable for me. I need to be sure to pause for a second or two between each double-click (like for loading or removing modules, drones, etc from a fit), or else I get the pinwheel for a second and then it stops responding to any clicks and I have to close Pyfa and restart it. Sometimes even if I pause between clicks it still does the pinwheel-and-stop-responding thing and needs to be reopened. And then of course sometimes it crashes entirely no matter what I do.

I use it regularly despite all that, and have just gotten used to re-opening it 4-6 times every time I want to work up a fit, because I much prefer the interface to EFT. I've been assuming that everyone shared my issues and they'd be fixed in an upcoming release, but it's gotten 2-3 updates since I started using it and the issues are all still there, so I thought I should post and see if anyone else is experiencing these issues.

I've done some limited troubleshooting, which I'll post separately due to length issues. But I just want to know if these issues affecting anyone else? If it turns out that I'm the only one having these issues, then I can start looking at other aspects of my setup to see what could be affecting things. But since I don't have anything particularly out-of-the-ordinary installed, I wanted to see if it's just a known issue first, before I start uninstalling things etc. Thanks.

Rhyx
Rhyx Vyvorant
Mu-Kau Methane Industries Inc
#263 - 2014-03-11 13:28:36 UTC
I'm a programmer but I don't know python, so I can't do as much as I could with another language I'm more familiar with, but I did try simply opening Pyfa via the command line so I could see the error output when things go wrong. When I double click too quickly and it stops responding, I get this output:

Quote:

Traceback (most recent call last):
Exception in thread Thread-8:
Traceback (most recent call last):
File "threading.pyc", line 530, in __bootstrap_inner
File "/Applications/pyfa.app/Contents/Resources/gui/utils/exportHtml.py", line 70, in run
File "/Applications/pyfa.app/Contents/Resources/service/fit.py", line 98, in getFitsWithShip
File "/Applications/pyfa.app/Contents/Resources/eos/db/saveddata/queries.py", line 246, in getFitsWithShip
File "/Applications/pyfa.app/Contents/Resources/lib/python2.7/sqlalchemy/orm/query.py", line 1492, in all
File "/Applications/pyfa.app/Contents/Resources/lib/python2.7/sqlalchemy/orm/query.py", line 1604, in __iter__
File "/Applications/pyfa.app/Contents/Resources/lib/python2.7/sqlalchemy/orm/query.py", line 1609, in _execute_and_instances
File "/Applications/pyfa.app/Contents/Resources/lib/python2.7/sqlalchemy/orm/session.py", line 700, in execute
File "/Applications/pyfa.app/Contents/Resources/lib/python2.7/sqlalchemy/orm/session.py", line 641, in _connection_for_bind
File "/Applications/pyfa.app/Contents/Resources/lib/python2.7/sqlalchemy/orm/session.py", line 301, in _connection_for_bind
File "/Applications/pyfa.app/Contents/Resources/lib/python2.7/sqlalchemy/orm/session.py", line 233, in _assert_is_active
InvalidRequestError: The transaction is inactive due to a rollback in a subtransaction. Issue rollback() to cancel the transaction.

File "/Applications/pyfa.app/Contents/Resources/lib/python2.7/wx/_core.py", line 14640, in (lambda)
lambda event: event.callable(*event.args, **event.kw) )
File "/Applications/pyfa.app/Contents/Resources/service/market.py", line 698, in cb
eos.db.commit()
File "/Applications/pyfa.app/Contents/Resources/eos/db/saveddata/queries.py", line 364, in commit
saveddata_session.commit()
File "/Applications/pyfa.app/Contents/Resources/lib/python2.7/sqlalchemy/orm/session.py", line 595, in commit
self.transaction.commit()
File "/Applications/pyfa.app/Contents/Resources/lib/python2.7/sqlalchemy/orm/session.py", line 371, in commit
t[1].commit()
File "/Applications/pyfa.app/Contents/Resources/lib/python2.7/sqlalchemy/engine/base.py", line 1538, in commit
self._do_commit()
File "/Applications/pyfa.app/Contents/Resources/lib/python2.7/sqlalchemy/engine/base.py", line 1565, in _do_commit
self.connection._commit_impl()
File "/Applications/pyfa.app/Contents/Resources/lib/python2.7/sqlalchemy/engine/base.py", line 1103, in _commit_impl
self._handle_dbapi_exception(e, None, None, None, None)
File "/Applications/pyfa.app/Contents/Resources/lib/python2.7/sqlalchemy/engine/base.py", line 1100, in _commit_impl
self.engine.dialect.do_commit(self.connection)
File "/Applications/pyfa.app/Contents/Resources/lib/python2.7/sqlalchemy/engine/default.py", line 275, in do_commit
connection.commit()
sqlalchemy.exc.OperationalError: (OperationalError) database is locked None None


And then any further clicks result in a repeat of the last part, with the error "sqlalchemy.exc.OperationalError: (OperationalError) database is locked None None". So it appears to be an issue with a query failing in the sqlite backend and not being properly handled, leaving the table locked.

Other times, I'll double-click to add or remove a module and the whole thing will just crash. In that case, I only get this in the terminal:

Quote:

Segmentation fault: 11


OS X pops up the Problem Report window with all the crash details. Most of it seems irrelevant, but it starts with:

Quote:

Process: pyfa [938]
Path: /Applications/pyfa.app/Contents/MacOS/pyfa
Identifier: org.evefit.pyfa
Version: 0.0.1 (0.0.0)
Code Type: X86 (Native)
Parent Process: bash [680]
Responsible: iTerm [594]
User ID: 1000

Date/Time: 2014-03-11 09:09:02.405 -0400
OS Version: Mac OS X 10.9.2 (13C64)
Report Version: 11
Anonymous UUID: 3684B476-F820-A636-6CBC-5FC15BB84B39

Sleep/Wake UUID: 181F2B12-D12C-4C41-889F-80FFFF04E746

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000069736f70

VM Regions Near 0x69736f70:
MALLOC_TINY 000000000d600000-000000000d800000 [ 2048K] rw-/rwx SM=PRV
-->
__TEXT 000000008fe50000-000000008fe83000 [ 204K] r-x/rwx SM=COW /usr/lib/dyld

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsqlite3.dylib 0x9943fb04 sqlite3ExprListAppend + 740
1 libsqlite3.dylib 0x99415a38 yy_reduce + 11752
2 libsqlite3.dylib 0x99412b38 sqlite3Parser + 104
3 libsqlite3.dylib 0x99411b91 sqlite3RunParser + 673
4 libsqlite3.dylib 0x99410fbc sqlite3Prepare + 1084
5 libsqlite3.dylib 0x99410a5e sqlite3LockAndPrepare + 190
6 libsqlite3.dylib 0x994b2df5 sqlite3_prepare + 53
7 _sqlite3.so 0x03bf0cd1 pysqlite_statement_create + 129
8 _sqlite3.so 0x03bed19f pysqlite_connection_call + 303
9 org.python.python 0x0180a305 PyObject_Call + 85
(...)


There's sqlite again. If it turns out nobody else is having issues, I guess that's where I'll start looking. Any thoughts?

Rhyx
Sable Blitzmann
24th Imperial Crusade
Amarr Empire
#264 - 2014-03-11 15:45:35 UTC  |  Edited by: Sable Blitzmann
I recently installed OS X Mountain Lion on VirtualBox for testing and have experienced some issues as well, such as much longer response time when browsing ships when compared to windows / linux. However, double clicking to add/remove modules seems to work just fine for me with no slowdow. I haven't really had time to look into it, and I know jack all about Macs.

Perhaps find some other Mac users in your corp/alliance and ask if they experience the same issues?
Spillrag
Neurotoxin Control
IIIIIIIIIIIIIIIIIIIIIIIII
#265 - 2014-03-13 08:20:54 UTC
Hey there,
So for my senior project for BS in CS I wanted to add a compare tool for pyfa similar to Eve's that way we don't have to open a million windows for comparing modules Big smile Except when I look at the code I have no idea where to start, are there any good code examples in Pyfa of where I can start/code examples on the web/advice in general. Feel free to contact me ingame on this character or in this thread.

Thanks for any help o7
Dredastttarm
0x31A9D8F2
#266 - 2014-03-14 09:51:49 UTC
Time for a 1.3 update? I know it's a bit early, but that new Rifter is really interesting to me ;)

I make YouTube videos and so on... Watch me do silly things here:

http://www.youtube.com/user/Internetzspacezshipz?

Danni Bellenger
Crashing this Bane
#267 - 2014-03-14 10:42:53 UTC
On top of the inevitable 1.3 update, I think a feature implementing some kind of quick bar for link or support ships would be awesome. At the moment, to get the effects of links, you have to go back through the ship browser and find the link ship fit and drag that into the boosts bar. An extra click on the link fit causes it to open that fit up, which I've done on more than occasion. Having a quickbar to store link ship fits on for easy access would be amazing.
Sable Blitzmann
24th Imperial Crusade
Amarr Empire
#268 - 2014-03-14 23:05:43 UTC
Danni Bellenger wrote:
On top of the inevitable 1.3 update, I think a feature implementing some kind of quick bar for link or support ships would be awesome. At the moment, to get the effects of links, you have to go back through the ship browser and find the link ship fit and drag that into the boosts bar. An extra click on the link fit causes it to open that fit up, which I've done on more than occasion. Having a quickbar to store link ship fits on for easy access would be amazing.


I've already committed something like this into the main project, see https://github.com/DarkFenX/Pyfa/pull/53

Should be out with the update to Rubicon 1.3 which should be soon - Kadesh handles the new releases
Fayral
Nano Currency
Yeet. Pray. Love.
#269 - 2014-03-15 00:19:59 UTC
If i may, I'd like to suggest getting wormhole effects in somehow. I'm not 100% sure (as i cannot find it) but I'm assuming it is currently not in build.

Love pyfa otherwise. Thanks a bunch.
Spillrag
Neurotoxin Control
IIIIIIIIIIIIIIIIIIIIIIIII
#270 - 2014-03-15 01:21:04 UTC
Fayral wrote:
If i may, I'd like to suggest getting wormhole effects in somehow. I'm not 100% sure (as i cannot find it) but I'm assuming it is currently not in build.

Love pyfa otherwise. Thanks a bunch.


On a fitting if you go down the "Projected" tab at the bottom and right click you can apply wormhole effects.
Fayral
Nano Currency
Yeet. Pray. Love.
#271 - 2014-03-16 00:19:29 UTC
Spillrag wrote:
Fayral wrote:
If i may, I'd like to suggest getting wormhole effects in somehow. I'm not 100% sure (as i cannot find it) but I'm assuming it is currently not in build.

Love pyfa otherwise. Thanks a bunch.


On a fitting if you go down the "Projected" tab at the bottom and right click you can apply wormhole effects.



Brilliant. Thanks a lot mate.
Kadesh Priestess
DEMONS OF THE HIDDEN MIST
TRUTH. HONOUR. LIGHT.
#272 - 2014-03-16 09:28:25 UTC
Time for Rubi 1.3 update! You can find it on release page, as usual. All the changes are listed there as well.

This time most of the UI changes were coded by new (now official) team member, Sable Blitzmann. Welcome aboard!
Halika Androm
Aliastra
Gallente Federation
#273 - 2014-03-16 11:09:00 UTC  |  Edited by: Halika Androm
Cheers for the update! The new booster mechanics are really useful :)

However, I'm not sure if it's working as intended on Windows (7)? Selecting a booster for a fit is fine, but if you want to change the booster to a different ship, you have to first double-click to remove the current one and then select the one you want since selecting a booster disables the drop-down menu (see here: http://i.imgur.com/IgCJPgS.png).

IMO it would be better to not disable the drop-down menu when you select a booster.
Sable Blitzmann
24th Imperial Crusade
Amarr Empire
#274 - 2014-03-16 15:36:25 UTC
Kadesh Priestess wrote:
Time for Rubi 1.3 update! You can find it on release page, as usual. All the changes are listed there as well.

This time most of the UI changes were coded by new (now official) team member, Sable Blitzmann. Welcome aboard!


\o/

Halika Androm wrote:
Cheers for the update! The new booster mechanics are really useful :)

However, I'm not sure if it's working as intended on Windows (7)? Selecting a booster for a fit is fine, but if you want to change the booster to a different ship, you have to first double-click to remove the current one and then select the one you want since selecting a booster disables the drop-down menu (see here: http://i.imgur.com/IgCJPgS.png).

IMO it would be better to not disable the drop-down menu when you select a booster.


This is how I imagined it when I started the feature, however dropped the idea in favor for the current implementation. It was a difficult decision, but this is indeed working as intended.

I went with this because the drop down contains ships that are flagged as boosters (right click a ship -> flag). IIRC (this was, like, 2 weeks ago and I haven't looked at it since), it's fairly difficult to add the dragged ship to the dropdown menu. Then you have to deal with taking it out when you switch it, and other use cases that, quite frankly, I didn't want to think about at the time.

Besides, having it as static text will allow us to maybe put a link next to it that opens the fit in a new tab (which was planned, but then I saw something else I wanted to tackle >_>).

I can look at it again if there is demand for it; will continue to monitor this thread. =)
Sinsuzo Sho
Imperial Academy
Amarr Empire
#275 - 2014-03-18 14:00:33 UTC
Sorry if I missed this somewhere else, but is it possible to turn off the market update? When I am not busy at work I like to mess around with fits, and I don't want pyfa to constantly bounce off our firewall.

Amazing tool, keep up the good work!
Sable Blitzmann
24th Imperial Crusade
Amarr Empire
#276 - 2014-03-18 14:49:07 UTC
Sinsuzo Sho wrote:
Sorry if I missed this somewhere else, but is it possible to turn off the market update? When I am not busy at work I like to mess around with fits, and I don't want pyfa to constantly bounce off our firewall.

Amazing tool, keep up the good work!


Not possible at this time, could be added as a setting. In the meantime, there is proxy support..
Sinsuzo Sho
Imperial Academy
Amarr Empire
#277 - 2014-03-18 17:28:19 UTC
Thanks for the quick reply! Unfortunately a proxy wouldn't do anything for me in this instance. How often does it try to do a market update? Other than the every 60 seconds if it fails of course.
Sable Blitzmann
24th Imperial Crusade
Amarr Empire
#278 - 2014-03-18 17:30:57 UTC
Sinsuzo Sho wrote:
Thanks for the quick reply! Unfortunately a proxy wouldn't do anything for me in this instance. How often does it try to do a market update? Other than the every 60 seconds if it fails of course.


I haven't looked at the pricing update code too much, but it should try to lookup the price every time you add a mod. Pyfa has an internal price caching table - I'm not sure what the expiration is, however if you try to look up the price before the expiration it should come from the database rather than the network.

Not only that, but if market update fails, I think it disables it for a few hours. I'd have to look more into it.
Sinsuzo Sho
Imperial Academy
Amarr Empire
#279 - 2014-03-18 18:04:41 UTC
Awesome. Well, whenever you have the time to look, what I am seeing is it tries, and fails, every 60 seconds. I see a countdown timer that appears under the pricing info. Thanks again for the amazing program, and quick responses.
NaunoFirefox
League of Gentlemen
The Initiative.
#280 - 2014-03-18 23:38:58 UTC
Hi guys, I've seen a few people having the "pyfa won't start for me, it instantly crashes on start-up"

I had the exact same issue and just fixed it after a lot of digging, posting it here to save you all the issue. sqlalchemy.cresultproxy.pyd
Delete this file in your pyfa folder. It's the file that's crashing and pyfa has worked fine for me without it so far. If I come across any issues i'll be sure to update, but it gets it working at least. My original error was something like this, except English.

Problemsignatur:
Problemereignisname: APPCRASH
Anwendungsname: pyfa.exe
Anwendungsversion: 0.0.0.0
Anwendungszeitstempel: 49180193
Fehlermodulname: sqlalchemy.cprocessors.pyd
Fehlermodulversion: 0.0.0.0
Fehlermodulzeitstempel: 4e9b307c
Ausnahmecode: c0000005
Ausnahmeoffset: 00001288
Betriebsystemversion: 6.1.7601.2.1.0.256.1
Gebietsschema-ID: 1031
Zusatzinformation 1: 0a9e
Zusatzinformation 2: 0a9e372d3b4ad19135b953a78882e789
Zusatzinformation 3: 0a9e
Zusatzinformation 4: 0a9e372d3b4ad19135b953a78882e789