open All Channels
seplocked Ships and Modules
blankseplocked pyfa - Python fitting assistant v0.8 - Dominion 1.1.1
 
This thread is older than 90 days and has been locked due to inactivity.


 
Pages: first : previous : 1 2 3 [4] 5 6 7 8 9 ... : last (13)

Author Topic

Biterno Sintaph
Gallente
Suddenly Failure
Posted - 2009.08.26 19:50:00 - [91]
 

Edited by: Biterno Sintaph on 26/08/2009 19:52:27
Wow, thank you. Works beautifully in Arch Linux.

Just as a note, when I built a .desktop file so KDE's menu could recognize it and put it in my K Menu, I had to tell the application to use my pyfa directory as the working directory. Apparently the python explodes when it doesn't start in the pyfa directory. Not a big deal for anyone running it off the CLI, though.

Here's the .desktop if you'd like to keep it/modify it for a .deb, .rpm, or other package down the road (when you install to somewhere other than the folder the user selects). I also picked the rig icon for the pyfa logo; looks nice to me. :)

Quote:
[Desktop Entry]
Comment=
Exec=/usr/local/pyfa/launch.py
GenericName=Python Fitting Tool
Icon=/usr/local/pyfa/gui/icons/rig.png
Name=PYFA
NoDisplay=false
Path[$e]=/usr/local/pyfa/
StartupNotify=true
Terminal=0
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=


Edit: Quick update to .desktop file to point to /usr/local, since pointing it at $HOME would be ******ed for default .desktop settings on a multi-user system.

Biterno Sintaph
Gallente
Suddenly Failure
Posted - 2009.08.26 19:57:00 - [92]
 

Oh, another quick note; .ico doesn't fly very well in Linux. Most Linux DE's/WM's want .jpg, .png, or .xpm files for their icons. Hence the choice of the rig icon above. Would it be possible to include both an .ico and a .jpg/.png/.xpm in the root /pyfa directory?

Sakari Orisi
BIG
Gentlemen's Agreement
Posted - 2009.08.26 20:00:00 - [93]
 

Originally by: Biterno Sintaph
Oh, another quick note; .ico doesn't fly very well in Linux. Most Linux DE's/WM's want .jpg, .png, or .xpm files for their icons. Hence the choice of the rig icon above. Would it be possible to include both an .ico and a .jpg/.png/.xpm in the root /pyfa directory?

The default pyfa icon is already in the package, so I didn't readd it, it's gui/icons/cpu.png :)

Seriously Bored
Minmatar
Posted - 2009.08.26 20:43:00 - [94]
 

Originally by: Maar'sha
Edited by: Maar''sha on 26/08/2009 19:41:39
Hello,

Here a link which describes the way of installing python and pygtk on OS X.

No need to compile pyfa, the linux version work well.

But I can't add a module to any fit Sad

It seems that doubleclicking doesn't work.


Awesome, I'll have to give it a shot tonight. Here's hoping that since it's open source, we'll have an OSX installer for it some day ;)

Maybe there are folks in the EVE Mac board who can contribute, too.

Drake Draconis
Minmatar
Shadow Cadre
Shadow Confederation
Posted - 2009.08.26 21:41:00 - [95]
 

Edited by: Drake Draconis on 26/08/2009 22:44:16
Ok I got it to run on my Mac.

Here's how.

===========WARNING!!!!!!!============
What your about to do is going to take at least 1 to 2 hours. You need to make sure your computer is not busy or distracted running EVE Online or something. This also requires some Terminal time so if your going to do this... follow instructions EXCATLY. I was unable to get far enough to package it all up... but hey... it runs... I have yet to push it but I felt if I post this... more will start using it and test it out.

Requirements -
OS-X 10.5.8
XCode (Check Macintosh HD)
XCode Tools (Check Macintosh HD... if its not there.. grab your System DVD and pop it in.. you'll find it hiding there and its easy to install)
SMC Fan Controls (if your on a Macbook Pro as its going to get a little toasty during its job
X11 (Should be preinstalled, check Macintosh HD/Applications/Utilities/ to see if its there)
=======================



DISCLAIMER - I will not be held liable for anything your about to do. It's a beta at best folks.


Step 1: Get the package for LINUX http://sourceforge.net/projects/pyfa/files/0.3.6/pyfa-0.3.6-src.tar.bz2/download
Step 2: Extract and drop the folder in your Applications Folder. Keep in mind that in its current state.. it will not launch...
Step 3: As he said in his readme... you need a couple of things... most notably... Python and GTK. Apple kinda slacked here and your current version of Python is outdated. Go to http://svn.macports.org/repository/macports/downloads/MacPorts-1.7.1/MacPorts-1.7.1-10.5-Leopard.dmg
Macports is a automated "Installation" program that you can tell to go "fetch" various things... it also seeks out dependencies... as just installing python will not work.
Note: You can get python downloaded from python.org but for some reason this did not work as effectively as before. Granted I didn't have to compile the damn thing but for some reason Macports route is better.
Step 4: Install Macports like you would normally install an application on your Mac.
Step 5: Here comes the tough part... go to Applications/Utilities/Terminal. Ah yes... the real world of programmers and geeks! You can change the color theme in Preferences if you want. In terminal type the following:
sudo port -v install python26

This installs Python version 2.6 under root with verbose logging. Put simply, you will see a crapton of text in about 30 seconds to a minute. You will be required to type in your User Account Password to do this. It may require administrative privileges! (Assuming your the Admin on the computer that is)

======WARNING!========
DO NOT START THIS UNLESS YOUR SURE YOU CAN KEEP THIS UP FOR AN HOUR OR MORE
======================

It will download and compile a crapload of programs... the last being python itself.
DO NOT Interrupt it... if you don't see anything... give it a good 10 minutes before aborting.
If you abort... you may end up starting the process all over again.

Step 6: Type in the following once the above is completed
sudo port -v install python_select

This installs a kickstarter for the python libraries and such. (AFAIK)

Step 7: Type in the following once its done installing...
sudo python_select python26

This engages/activates Python 2.6

Step 8: Type in the following...
sudo port -v install py26-gtk

This installs the GTK Libraries for Python 2.6 along with all the GTK stuff.... which is also needed.
This takes a good deal of time so be warned!

Step 9: Type in the following when you have installed the above...
cd /Applications/pyfa-0.3.3-src

Step 10: Type in the following...
python downloadData.py

Step 11: Type in the following...
python launch.py

If all goes well... you should see X11 Fire up... and you'll be looking at literally the worlds first EFT for Mac.

Drake Draconis
Minmatar
Shadow Cadre
Shadow Confederation
Posted - 2009.08.26 21:42:00 - [96]
 

Edited by: Drake Draconis on 26/08/2009 22:48:23
Edited by: Drake Draconis on 26/08/2009 21:46:28
Edited by: Drake Draconis on 26/08/2009 21:46:07
Please note that in order to launch the program you have to do the "python launch.py" bit.

I'm sure that can be scripted... I just got it done and I wanted to get it posted as soon as I got here.

References -
Macports
MacPorts Homepage
Installing MacPorts

A rough idea on how I got it to work.

Apple -
http://developer.apple.com/TOOLS/Xcode/

Neferfiti Akhenaten
Posted - 2009.08.26 22:55:00 - [97]
 

Edited by: Neferfiti Akhenaten on 26/08/2009 22:56:46
Awesome... It works on a Mac!

Drake Draconis
Minmatar
Shadow Cadre
Shadow Confederation
Posted - 2009.08.26 22:58:00 - [98]
 

So far so good!

No problems... needs error messages to explain the sudden non-responsiveness of clicking OK when its obviously wanting you to give your fit a name and such.

Great job! This has potential to go very far for the Macintosh platform!

Grann Thefauto
Brutor Tribe
Posted - 2009.08.27 03:09:00 - [99]
 

Got this working on Gentoo.

The trick is to make sure you build python with the sqlite USE flag.

Sakari Orisi
BIG
Gentlemen's Agreement
Posted - 2009.08.27 06:52:00 - [100]
 

Edited by: Sakari Orisi on 27/08/2009 07:50:20
Originally by: Drake Draconis
So far so good!

No problems... needs error messages to explain the sudden non-responsiveness of clicking OK when its obviously wanting you to give your fit a name and such.

Great job! This has potential to go very far for the Macintosh platform!

Very nice job on getting it to work on mac ! Could I get some screenshots to add to the screenshot section ? (Also, if it looks ugly you can add a gtk theme btw)

EDIT: you should look at gtk-osx too, it has some bundling facilities you might be able to use. Linkage

Arec Bardwin
Posted - 2009.08.27 07:09:00 - [101]
 

Nice! Open source and cross-platform!

Good luck with the project Sakari!

alvazir
Posted - 2009.08.27 08:05:00 - [102]
 

Works great on Arch, however i get an error when try to add Small Energy Neutralizer to a Sentinel.
Quote:
Traceback (most recent call last): File "/home/xxx/Desktop/pyfa-0.3.6-src/gui/mainWindow.py", line 1507, in itemsClicked self.addItem(widget) File "/home/xxx/Desktop/pyfa-0.3.6-src/gui/mainWindow.py", line 1203, in addItem self.fittingChanged() File "/home/xxx/Desktop/pyfa-0.3.6-src/gui/mainWindow.py", line 552, in fittingChanged fit.calculateModifiedAttributes() File "/home/xxx/Desktop/pyfa-0.3.6-src/model/fitting.py", line 537, in calculateModifiedAttributes effect.func(effect, self) File "/home/xxx/Desktop/pyfa-0.3.6-src/model/effects/eliteBonusElectronicAttackShipEnergyNeutRange1.py", line 7, in eliteBonusElectronicAttackShipEnergyNeutRange1 self.item, extraMult = level) File "/home/xxx/Desktop/pyfa-0.3.6-src/model/effects/customEffects.py", line 94, in boostModListByReq helper(module, attrName, bonus, bonusAttrCont, **kwargs) File "/home/xxx/Desktop/pyfa-0.3.6-src/model/effects/customEffects.py", line 84, in boost currAttr = module.attributes[attrName] KeyError: 'maxRange'

Rouge Drone
Posted - 2009.08.27 08:09:00 - [103]
 

I don't know why I should use this particular fitting program but I'm fairly sure that being hosted on sourceforge makes it inherently superior to it's competitors.

Sakari Orisi
BIG
Gentlemen's Agreement
Posted - 2009.08.27 08:20:00 - [104]
 

Originally by: alvazir
Works great on Arch, however i get an error when try to add Small Energy Neutralizer to a Sentinel.
Quote:
Traceback (most recent call last): File "/home/xxx/Desktop/pyfa-0.3.6-src/gui/mainWindow.py", line 1507, in itemsClicked self.addItem(widget) File "/home/xxx/Desktop/pyfa-0.3.6-src/gui/mainWindow.py", line 1203, in addItem self.fittingChanged() File "/home/xxx/Desktop/pyfa-0.3.6-src/gui/mainWindow.py", line 552, in fittingChanged fit.calculateModifiedAttributes() File "/home/xxx/Desktop/pyfa-0.3.6-src/model/fitting.py", line 537, in calculateModifiedAttributes effect.func(effect, self) File "/home/xxx/Desktop/pyfa-0.3.6-src/model/effects/eliteBonusElectronicAttackShipEnergyNeutRange1.py", line 7, in eliteBonusElectronicAttackShipEnergyNeutRange1 self.item, extraMult = level) File "/home/xxx/Desktop/pyfa-0.3.6-src/model/effects/customEffects.py", line 94, in boostModListByReq helper(module, attrName, bonus, bonusAttrCont, **kwargs) File "/home/xxx/Desktop/pyfa-0.3.6-src/model/effects/customEffects.py", line 84, in boost currAttr = module.attributes[attrName] KeyError: 'maxRange'


I've just fixed this on the latest git

alvazir
Posted - 2009.08.27 09:26:00 - [105]
 

Originally by: Sakari Orisi
Originally by: alvazir
Works great on Arch, however i get an error when try to add Small Energy Neutralizer to a Sentinel.


I've just fixed this on the latest git


Wow, that was almost instant Shocked

Thank you for this program and good luck with it.

Attiladehun
Gallente
Fire Mandrill
Posted - 2009.08.27 13:44:00 - [106]
 

Edited by: Attiladehun on 27/08/2009 13:47:45
Very nice program, Looks very good.

I think there is a bug with Warfare links installed on command ships. For some reason it is giving me a yellow mark if i install 3 modules on the claymore. Not sure if this should be or not, but i don't see why it is giving that.

Are the bonuses from these modules also calculated into the ship?

Also if you have multiple setups and i want to look through them (top left), the list is arranged in a strange order.
The list also disappears when i move my mouse away, this is not really wrong but rather depends on the problem above cause it's difficult to read.

Sakari Orisi
BIG
Gentlemen's Agreement
Posted - 2009.08.27 14:05:00 - [107]
 

Originally by: Attiladehun
Edited by: Attiladehun on 27/08/2009 13:47:45
Very nice program, Looks very good.

I think there is a bug with Warfare links installed on command ships. For some reason it is giving me a yellow mark if i install 3 modules on the claymore. Not sure if this should be or not, but i don't see why it is giving that.

Are the bonuses from these modules also calculated into the ship?

Also if you have multiple setups and i want to look through them (top left), the list is arranged in a strange order.
The list also disappears when i move my mouse away, this is not really wrong but rather depends on the problem above cause it's difficult to read.

I've fixed the bug where you wouldn't be able to enable more then one module even on command ships.

What do you mean with "strange order" ?

Drake Draconis
Minmatar
Shadow Cadre
Shadow Confederation
Posted - 2009.08.27 14:24:00 - [108]
 

Originally by: Sakari Orisi
Edited by: Sakari Orisi on 27/08/2009 07:50:20
Originally by: Drake Draconis
So far so good!

No problems... needs error messages to explain the sudden non-responsiveness of clicking OK when its obviously wanting you to give your fit a name and such.

Great job! This has potential to go very far for the Macintosh platform!

Very nice job on getting it to work on mac ! Could I get some screenshots to add to the screenshot section ? (Also, if it looks ugly you can add a gtk theme btw)

EDIT: you should look at gtk-osx too, it has some bundling facilities you might be able to use. Linkage


I'll see about getting some screen shots.
And I'll look into the themes bit.

Is there an automatic Updating package or do we have to constantly download the source files?
PS: Check the Mac Forums as a thread has been started for your product.
Linkage

Attiladehun
Gallente
Fire Mandrill
Posted - 2009.08.27 15:13:00 - [109]
 

Edited by: Attiladehun on 27/08/2009 15:16:06
Originally by: Sakari Orisi
Originally by: Attiladehun
Edited by: Attiladehun on 27/08/2009 13:47:45
Very nice program, Looks very good.

I think there is a bug with Warfare links installed on command ships. For some reason it is giving me a yellow mark if i install 3 modules on the claymore. Not sure if this should be or not, but i don't see why it is giving that.

Are the bonuses from these modules also calculated into the ship?

Also if you have multiple setups and i want to look through them (top left), the list is arranged in a strange order.
The list also disappears when i move my mouse away, this is not really wrong but rather depends on the problem above cause it's difficult to read.

I've fixed the bug where you wouldn't be able to enable more then one module even on command ships.

What do you mean with "strange order" ?


Well a few things:
1) When i click on the setup box (a list of setups appears) and when i release my mouse button the list is gone (even when i'm moving into the box and release). While the list should stay there since i wanna see what is in the list.
2) The problem with the list i have is that i see a ship/race icon, then a lots of space (so have to scroll to the right) and then i see what kind of type/ship it is. I'm guessing that there is some info missing after the icon or just a lot of space that shouldn't be there.

Hope this helps.

Also when i import a setup, the system does not seem to addapt to my skills, everything stays on 0?

jet800
Caldari
Posted - 2009.08.27 15:45:00 - [110]
 

Edited by: jet800 on 27/08/2009 15:46:07
Originally by: Sakari Orisi
Did you try running downloadData.exe as admin as well?

Yes, this doesn't matter - downloadData.exe works(saying that the files are up) both under normal and admin accounts. And pyfa fails in both of above :)

Drake Draconis
Minmatar
Shadow Cadre
Shadow Confederation
Posted - 2009.08.27 17:00:00 - [111]
 

Wrote a shell script for Mac Users to aide in the launching of the program without the messiness of shell prompt.

Check here ---> Linkage

Sakari Orisi
BIG
Gentlemen's Agreement
Posted - 2009.08.27 20:18:00 - [112]
 

Edited by: Sakari Orisi on 28/08/2009 05:52:26

Originally by: Drake Draconis
Wrote a shell script for Mac Users to aide in the launching of the program without the messiness of shell prompt.


Check here ---> Linkage


Cheers for all the work on mac so far :)

Sakari Orisi
BIG
Gentlemen's Agreement
Posted - 2009.08.28 05:49:00 - [113]
 

Originally by: jet800
Edited by: jet800 on 27/08/2009 15:46:07
Originally by: Sakari Orisi
Did you try running downloadData.exe as admin as well?

Yes, this doesn't matter - downloadData.exe works(saying that the files are up) both under normal and admin accounts. And pyfa fails in both of above :)

Could you check C:/Documents and settings/<your username>/.pyfa/ and see what's in that folder ?

Attiladehun
Gallente
Fire Mandrill
Posted - 2009.08.28 07:16:00 - [114]
 

I've tested a bit more yesterday and i see that when you start up the program the top left setup list is correctly displayed. However when you select 1 setup and want to check another setup. The list is totally different then before like i mentioned (there is a large space after the icon so that the list gets longer in the width for some reason, also the clicking gets annoying on the button cause the setup list disappears when i short click on the button. I have to keep my mouse button pushed to keep the list open).

Something that i found out on my Vista pc, is that when i choose one of my other setups the program does not addapt to it. I can see the setup but all the data related to this ship is not updated.
I've not seen this on my XP laptop though.

So far i'm starting to like it, just some minors things :)

Sakari Orisi
BIG
Gentlemen's Agreement
Posted - 2009.08.28 13:24:00 - [115]
 

Originally by: Attiladehun
Something that i found out on my Vista pc, is that when i choose one of my other setups the program does not addapt to it. I can see the setup but all the data related to this ship is not updated.
I've not seen this on my XP laptop though.

So far i'm starting to like it, just some minors things :)

Did you get any error messages when closing pyfa when that happened ? (they should be in a file called pyfa.exe.log in the same directory as pyfa.exe)

jet800
Caldari
Posted - 2009.08.28 14:47:00 - [116]
 

Originally by: Sakari Orisi
Could you check C:/Documents and settings/<your username>/.pyfa/ and see what's in that folder ?


Here is it's contetnts:
folder icons with subfolder 16_16 and icons in it
eve.db file
files.ini file

Maybe trouble is in my username - it's cyrrilic. But idk how this may affect - downloader is working as it should as I can see.

Drake Draconis
Minmatar
Shadow Cadre
Shadow Confederation
Posted - 2009.08.28 14:51:00 - [117]
 

You didn't answer my question about updating your program.

does the download script do that or do I have to reinstall the program every time?

Mr Reason
Posted - 2009.08.28 14:56:00 - [118]
 

Edited by: Mr Reason on 28/08/2009 14:56:21
OP: "WHY CAN'T EVERYONE JUST USE THE SAME COMPUTER AND STOP CLICKING BUTTONS THEY'RE NOT SUPPOSED TO!!!"

Keep at it mate, making a program like this bug/idiot free takes lots of effort.

Sakari Orisi
BIG
Gentlemen's Agreement
Posted - 2009.08.28 15:15:00 - [119]
 

Edited by: Sakari Orisi on 28/08/2009 15:24:14
Originally by: Drake Draconis
You didn't answer my question about updating your program.

does the download script do that or do I have to reinstall the program every time?

The downloadData script currently only takes care of updating the extra files, so the program itself still has to be updated manualy unfortunatly :(

Originally by: jet800
Here is it's contetnts:
folder icons with subfolder 16_16 and icons in it
eve.db file
files.ini file

Maybe trouble is in my username - it's cyrrilic. But idk how this may affect - downloader is working as it should as I can see.


This is rather weird, as both use the same code to figure out where the files are.

Cerui Tarshiel
Minmatar
Stimulus
Rote Kapelle
Posted - 2009.08.28 15:58:00 - [120]
 

Nice to see an opensource fitting tool being developed. I'll probably continue to use eft for a while because I'm a lazy git but the user interface does look nice.

One thing, could you add a feature which was in quickfit to display the modules that would fit int the slot/slots left with the pg and the cpu you had.


Pages: first : previous : 1 2 3 [4] 5 6 7 8 9 ... : last (13)

This thread is older than 90 days and has been locked due to inactivity.


 


The new forums are live

Please adjust your bookmarks to https://forums.eveonline.com

These forums are archived and read-only