Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 .. 13 :: one page |
|
Author |
Thread Statistics | Show CCP posts - 1 post(s) |
Sakari Orisi
|
Posted - 2009.08.10 13:05:00 -
[1]
Edited by: Sakari Orisi on 10/08/2009 13:14:56 Edited by: Sakari Orisi on 10/08/2009 13:10:07 Python fitting assistant is a fitting tool I've been working on for a few weeks now. It started about a month back as an attempt at getting a decently working fitting tool on Linux (EFT is rather unstable with wine/mono on my box). 26 days later I finally got a fully working prototype and I need the community to test it, report bugs, request features, etc.
Highlights:
- Sleek interface written in GTK
- Fully cross-platform
- Novel Replacement for EFT
- Freely and easely extendable thanks to python
- Full ship and module support [Except for gang support related modules]
- Full Skill support
Enough babbling now, time for some screenshots: Main view
Ship browser
Character browser
Download
Installation instructions An updated README file is always bundled with the packages. But I'll supply instructions here too.
Windows
- Make sure you have the Microsoft Visual C Runtime installed
- Run downloadData.exe
- run pyfa.exe
Linux
- Make sure you have python 2.6, pygtk 2.x and gtk 2.x
- Start downloadData.py
- Start launch.py
Contact information There's usualy some people on our irc channel #pyfa in irc.freenode.org If there isn't, check the trac at: http://sourceforge.net/apps/trac/pyfa/
|
Sakari Orisi
|
Posted - 2009.08.10 13:07:00 -
[2]
Reserved (just in case)
|
Xianthar
STK Scientific The Initiative.
|
Posted - 2009.08.10 16:41:00 -
[3]
Edited by: Xianthar on 10/08/2009 16:47:42 looks good, been waiting for a python version of EFT and got part way through one myself before getting too buisy, good work m8
however, there are a couple problems on the linux side:
1) any python script that should be executable should have #!/usr/bin/python as the first line.
2) i get an error from sqlite on launch:
xianthax@xian:~/Desktop/pyfa-0.1a$ python2.6 downloadData.py All files up to date! xianthax@xian:~/Desktop/pyfa-0.1a$ python2.6 launch.py Traceback (most recent call last): File "launch.py", line 21, in <module> window = mainWindow.mainWindow() File "/home/xianthax/Desktop/pyfa-0.1a/gui/mainWindow.py", line 61, in __init__ self.initGroupBrowser() File "/home/xianthax/Desktop/pyfa-0.1a/gui/mainWindow.py", line 203, in initGroupBrowser mGroupMods = marketGroup.getMarketGroup(name = "Ship Equipment", buildParent = False, buildChildren = True, deep = True) File "/home/xianthax/Desktop/pyfa-0.1a/model/marketGroup.py", line 106, in getMarketGroup c.execute(getMarketGroupByName, (name,)) sqlite3.OperationalError: no such table: invMarketGroups
looking in ~/home/ i have a .pyfa/ directory which contains a file named eve.db which is 0 bytes. when downloadData.py runs it completes almost instantly, clearly not downloading anything. A quick look at http://pyfa.sourceforge.net/files.ini in a browsers shows the proper text so i'm not sure where its breaking down.
EDIT: found your problem, the destination value in files.ini is "./" in downloadData.py on line 25 you call:
archive.extractall(dataFolder + destination)
as a result i also have a ~/.pyfa./ directory with the database file/icons, removing the extra . at the end fixes the issue and allows the program to run.
cheers
|
Sakari Orisi
|
Posted - 2009.08.10 17:30:00 -
[4]
Edited by: Sakari Orisi on 10/08/2009 17:35:48 I've fixed the pathing issues and updated the 0.1b stages. It should be updated on all sourceforge mirrors within a few hours. (in the meantime you can force it to the master mirror)
I'll fix the top lines of downloadData.py and launch.py shortly as well
EDIT: it also fixes a bug where fits & characters were saved in ~/.pyfafits and ~/.pyfacharacters instead of ~/.pyfa/fits and ~/.pyfa/characters respectivly, you'll have to move around the files when updating from a stage without that fix.
|
Xianthar
STK Scientific The Initiative.
|
Posted - 2009.08.10 17:51:00 -
[5]
Originally by: Sakari Orisi Edited by: Sakari Orisi on 10/08/2009 17:35:48 I've fixed the pathing issues and updated the 0.1b stages. It should be updated on all sourceforge mirrors within a few hours. (in the meantime you can force it to the master mirror)
I'll fix the top lines of downloadData.py and launch.py shortly as well
EDIT: it also fixes a bug where fits & characters were saved in ~/.pyfafits and ~/.pyfacharacters instead of ~/.pyfa/fits and ~/.pyfa/characters respectivly, you'll have to move around the files when updating from a stage without that fix.
sweet i like double clicking icons :p
i'd also recommend you cross post this to the linux forum, i think you'll get a lot more peoples attention for testing / development over there.
|
Xianthar
STK Scientific The Initiative.
|
Posted - 2009.08.10 17:59:00 -
[6]
Originally by: Sakari Orisi Edited by: Sakari Orisi on 10/08/2009 17:35:48 EDIT: it also fixes a bug where fits & characters were saved in ~/.pyfafits and ~/.pyfacharacters instead of ~/.pyfa/fits and ~/.pyfa/characters respectivly, you'll have to move around the files when updating from a stage without that fix.
along this same line files.ini is currently stored as ~/.pyfafiles.ini instead of ~/.pyfa/files.ini
|
Sakari Orisi
|
Posted - 2009.08.10 18:10:00 -
[7]
Originally by: Xianthar
Originally by: Sakari Orisi Edited by: Sakari Orisi on 10/08/2009 17:35:48 EDIT: it also fixes a bug where fits & characters were saved in ~/.pyfafits and ~/.pyfacharacters instead of ~/.pyfa/fits and ~/.pyfa/characters respectivly, you'll have to move around the files when updating from a stage without that fix.
along this same line files.ini is currently stored as ~/.pyfafiles.ini instead of ~/.pyfa/files.ini
That should've been fixed as well. Though about 30 minutes later then the other two.
|
Xianthar
STK Scientific The Initiative.
|
Posted - 2009.08.10 20:45:00 -
[8]
Originally by: Sakari Orisi
Edit: isn't cross-posting prohibited on the forums ?
technically yes, but the linux board seems to get more leeway in that regard due to specific nature of its content. Worst case a mod locks it, the additional attention i think you'll get is worth it
|
Xianthar
STK Scientific The Initiative.
|
Posted - 2009.08.10 21:23:00 -
[9]
using a snapshot of master git tree:
files.ini, character.ini, fits.ini properly appear in ~./pyfa as does the eve.db and icons/ directory.
the bash execution command at the top of downloadData.py is #!/usr/bin/python26 on ubuntu at least this needs to be #!/usr/bin/python2.6 as it is in launch.py. also on ubuntu 9.04 /usr/bin/python points to /usr/bin/python2.6 not sure which is safer across different distros.
also a show stopper bug:
setup a character using api import, skills seem to come in correctly.
creating a new fitting causes this error:
Traceback (most recent call last): File "/home/xianthax/Desktop/pyfa/gui/mainWindow.py", line 523, in fittingChanged fit.calculateModifiedAttributes() File "/home/xianthax/Desktop/pyfa/model/fitting.py", line 393, in calculateModifiedAttributes effect.func(effect, self, level = level) File "/home/xianthax/Desktop/pyfa/model/effects/standardMissilesSkillBoostMissileVelocityBonus.py", line 6, in standardMissilesSkillBoostMissileVelocityBonus self.item, extraMult = level) File "/home/xianthax/Desktop/pyfa/model/effects/customEffects.py", line 97, in boostAmmoListByReq for module, state, ammo in modList: TypeError: 'item' object is not iterable
|
Kurt Meyer
Calamitous Enterprise
|
Posted - 2009.08.10 21:28:00 -
[10]
#!/usr/bin/env python
Isn't this the standard?
|
|
Sakari Orisi
|
Posted - 2009.08.10 22:02:00 -
[11]
Originally by: Kurt Meyer #!/usr/bin/env python
Isn't this the standard?
I think so, but it wouldn't suit our purpose of using python 2.6, It'd use the default python version, which is usually 2.5 or even 2.4
|
Xianthar
STK Scientific The Initiative.
|
Posted - 2009.08.10 22:05:00 -
[12]
Originally by: Kurt Meyer #!/usr/bin/env python
Isn't this the standard?
it certainly does take care of the issue of locating the python executable as this will search $PATH for 'python'.
The problem I was alluding to is that 'python' is nearly always a sym-link to some version of python be it python2.4, python2.6, python3.0 etc. i'm not really sure all distro's name these executables the same way and if you require a specific version you could get in trouble using either python or python2.6 in some situations.
When i've run into similar problems with java apps i've usually broken down and created either a bash script to check the VM version or on windows used JSmooth to create a wrapper exe(barf) to do all the checking.
One of the fun bits of working with interpreted languages.
|
Kurt Meyer
Calamitous Enterprise
|
Posted - 2009.08.11 10:56:00 -
[13]
okies :)
If it helps with collating a list of what distro's do, i use gentoo and mine is: -
ls -l /usr/bin/ | grep python lrwxrwxrwx 1 root root 9 Aug 3 15:01 python -> python2.5 lrwxrwxrwx 1 root root 17 Aug 3 15:01 python-config -> python-config-2.5 -rwxr-xr-x 1 root root 1624 Aug 3 15:01 python-config-2.4 -rwxr-xr-x 1 root root 1200 Aug 3 14:57 python-config-2.5 lrwxrwxrwx 1 root root 9 Aug 3 15:01 python2 -> python2.5 -rwxr-xr-x 1 root root 5356 Aug 3 15:01 python2.4 -rwxr-xr-x 1 root root 5356 Aug 3 14:57 python2.5
|
Dragonaire
Caldari Corax. New Eden Retail Federation
|
Posted - 2009.08.11 13:49:00 -
[14]
I'll add to that list to even though I haven't tried it out yet This is for OpenSuSE 11.1: lrwxrwxrwx 1 root root 9 Mar 27 11:03 python -> python2.6 lrwxrwxrwx 1 root root 9 Mar 27 11:03 python2 -> python2.6 -rwxr-xr-x 1 root root 5656 Feb 3 2009 python2.6
-- Finds camping stations from the inside much easier. Designer of Yapeal for Eve API.
|
Sakari Orisi
|
Posted - 2009.08.11 15:09:00 -
[15]
It seems /usr/bin/env python2.6 would be the correct line to add, thanks for the data :)
|
Skyvyr
Caldari House Of BlackStar Semper-Mortis
|
Posted - 2009.08.11 15:57:00 -
[16]
first off good work!
I've begun playing around with it, and I quite like it.
I've added a few bug tickets to your trac system. Sadly I don't know python real well, but I began poking around if I'm able to fix them I will submit the patches.
Thanks again, -- I often heard the Sky's the limit, sadly I'm broke fairly often. |
Sakari Orisi
|
Posted - 2009.08.11 16:28:00 -
[17]
Originally by: Skyvyr first off good work!
I've begun playing around with it, and I quite like it.
I've added a few bug tickets to your trac system. Sadly I don't know python real well, but I began poking around if I'm able to fix them I will submit the patches.
Thanks again,
I've fixed all 3 tickets, you can grab the latest build from git or wait till next monday for a new release to get them. (Don't forget to rerun downloadData after updating)
|
Skyvyr
Caldari House Of BlackStar Semper-Mortis
|
Posted - 2009.08.11 18:33:00 -
[18]
Originally by: Sakari Orisi
I've fixed all 3 tickets, you can grab the latest build from git or wait till next monday for a new release to get them. (Don't forget to rerun downloadData after updating)
aye, thanks, following the git commits now.
Shield booster amps are also not showing [boosted amts] properly, armor does, and ship bonuses do.
You got the shield booster fix committed as I fixed it locally ;)
Thanks again. -- I often heard the Sky's the limit, sadly I'm broke fairly often. |
Sakari Orisi
Dreams of Desolation Systematic-Chaos
|
Posted - 2009.08.11 18:45:00 -
[19]
Originally by: Skyvyr
Originally by: Sakari Orisi
I've fixed all 3 tickets, you can grab the latest build from git or wait till next monday for a new release to get them. (Don't forget to rerun downloadData after updating)
aye, thanks, following the git commits now.
Shield booster amps are also not showing [boosted amts] properly, armor does, and ship bonuses do.
You got the shield booster fix committed as I fixed it locally ;)
Thanks again.
Fixed shield boost amps and the missile projection skills (I don't have any missile skills so those were kinda poorly tested heh)
|
Xianthar
STK Scientific The Initiative.
|
Posted - 2009.08.11 19:30:00 -
[20]
Originally by: Sakari Orisi
Fixed shield boost amps and the missile projection skills (I don't have any missile skills so those were kinda poorly tested heh)
cheers, allowing me to play more now :) I also openned a couple of new tickets.
i have a general question also, how thread/process safe is the access to the fits/character files? I'm wondering the possibility of running 2 or more instances at the same time to be able to compare multiple setups or ships side by side. right now it appears that writes to disk only occur on application exit but this may be the OS caching in effect.
|
|
Sakari Orisi
Dreams of Desolation Systematic-Chaos
|
Posted - 2009.08.11 20:26:00 -
[21]
Edited by: Sakari Orisi on 11/08/2009 20:31:42
Originally by: Xianthar
Originally by: Sakari Orisi
Fixed shield boost amps and the missile projection skills (I don't have any missile skills so those were kinda poorly tested heh)
cheers, allowing me to play more now :) I also openned a couple of new tickets.
i have a general question also, how thread/process safe is the access to the fits/character files? I'm wondering the possibility of running 2 or more instances at the same time to be able to compare multiple setups or ships side by side. right now it appears that writes to disk only occur on application exit but this may be the OS caching in effect.
That's correct, nothing is saved until application exit.
EDIT: Checked your tickets and answered them
|
Ilyk Halibut
Joint Ventures Limited Ventures
|
Posted - 2009.08.12 12:47:00 -
[22]
Good job!
I'd love to see the fitting classes broken out into a redistributable Python module. It might get used a lot of other places and see a lot more attention. Might also lighten your load so you can just focus on UI stuff.
|
Sakari Orisi
Dreams of Desolation Systematic-Chaos
|
Posted - 2009.08.12 14:15:00 -
[23]
Edited by: Sakari Orisi on 12/08/2009 14:16:21
Originally by: Ilyk Halibut Good job!
I'd love to see the fitting classes broken out into a redistributable Python module. It might get used a lot of other places and see a lot more attention. Might also lighten your load so you can just focus on UI stuff.
Everything related to logic is already in a seperate folder (called "model"), It's GPL licensed so anyone that wants to use it should feel free to do so (under the terms of the license, of course). That folder can live on it's own, so just taking it from the git, renaming it to fittinglogic (or whatever) and then putting it together with your other code should allow you to import and use it.
|
Eraggan Sadarr
Phoenix Tribe
|
Posted - 2009.08.13 10:42:00 -
[24]
After a short i run i must say: Good initiative!
Pros: - Open source :) - Ship browser is alphabetically sorted
Cons: - I miss the ability to show info on items - No right click and open the whole group of an item - you have to click on the little arrows instead just the group name to open a group in the item browser - you have to click search when type item names. search as you type would be nicer
Bugs: - API section: if i click connect several times i just get duplicate names in character list - If i add a character after i have made my first ship fit, it seems that the ship is gone and cant be reselected. Even though its the only ship in the list.
I will add to this list as i try it more :) Keep up the good work.
Eve Market Scanner - Marketlog comparisons |
Sakari Orisi
Dreams of Desolation Systematic-Chaos
|
Posted - 2009.08.13 11:01:00 -
[25]
Originally by: Eraggan Sadarr After a short i run i must say: Good initiative!
Pros: - Open source :) - Ship browser is alphabetically sorted
Cons: - I miss the ability to show info on items - No right click and open the whole group of an item - you have to click on the little arrows instead just the group name to open a group in the item browser - you have to click search when type item names. search as you type would be nicer
Bugs: - API section: if i click connect several times i just get duplicate names in character list - If i add a character after i have made my first ship fit, it seems that the ship is gone and cant be reselected. Even though its the only ship in the list.
I will add to this list as i try it more :) Keep up the good work.
Almost all of the cons and bugs have been fixed on the git, which is due for public release on monday.
|
Ilyk Halibut
Joint Ventures Limited Ventures
|
Posted - 2009.08.13 17:02:00 -
[26]
In case anyone was wondering, this does run (albeit with the really ugly looking) on MacOS X using the pyGTK from Macports.
|
Sakari Orisi
Dreams of Desolation Systematic-Chaos
|
Posted - 2009.08.13 17:06:00 -
[27]
Originally by: Ilyk Halibut In case anyone was wondering, this does run (albeit with the really ugly looking) on MacOS X using the pyGTK from Macports.
Should be able to fix the ugly looks with a decent GTK+ theme, there should be a few around matching the looks of OS X
|
Sakari Orisi
Dreams of Desolation Systematic-Chaos
|
Posted - 2009.08.17 14:35:00 -
[28]
Pyfa 0.2a has been released ! It includes the following improvements:
- Gang support
- Projected effects support
- Lots of UI polishing
- Enhanced search capability [search as you type]
- Ability to change incoming damage pattern
- Ability to include gun reload time in dps and cap usage
|
Gouverneur
|
Posted - 2009.08.17 19:45:00 -
[29]
Looks pretty good, thanks for programming.
I'm missing dps on my Abaddon Fitting with Mega Modulated Pulse Energy Beam I's. It seems that the Bonus from Surgical Strike is missing in the Dmg-Multiplier Calculation.
|
Sakari Orisi
Dreams of Desolation Systematic-Chaos
|
Posted - 2009.08.17 19:51:00 -
[30]
Originally by: Gouverneur Looks pretty good, thanks for programming.
I'm missing dps on my Abaddon Fitting with Mega Modulated Pulse Energy Beam I's. It seems that the Bonus from Surgical Strike is missing in the Dmg-Multiplier Calculation.
The surgical strike is working for me, I have checked other obvious culprits but haven't seen to find any. Could you be a bit more detailed ?
|
|
|
|
|
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 .. 13 :: one page |
First page | Previous page | Next page | Last page |