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

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

Linux

 
  • Topic is locked indefinitely.
 

Pyfa / Ubuntu 12.04

Author
Peri Simone
Black Rebel Rifter Club
The Devil's Tattoo
#1 - 2013-07-07 16:10:17 UTC
Hi all. I'm having trouble getting the current version of pyfa to work with Ubuntu 12.04.

Full background details on this thread.

Can anyone here suggest where I might be going wrong?
Zor'katar
Matari Recreation
#2 - 2013-07-08 02:00:16 UTC
I don't recall ever having to do anything special outside the package repositories. Verify that you have "python-wxgtk2.8" and "python-sqlalchemy" installed?
Nebu Retski
Lead Farmers
#3 - 2013-07-08 11:21:54 UTC
Peri Simone wrote:
ImportError: libwx_gtk2u_adv-2.9.so.4: cannot open shared object file: No such file or directory


Can you find the libwx_gtk2u_adv-2.9.so.4 file somewhere on your computer? Better search for libwx_gtk2u_adv-2.9.so*, basically you should have a libwx_gtk2u_adv-2.9.so file somewhere and then you also need a libwx_gtk2u_adv-2.9.so.4 file which is nothing more than a symbolic link to libwx_gtk2u_adv-2.9.so

If the libwx_gtk2u_adv-2.9.so.4 symbolic link isn't present, just make one in the appropriate folder (for my Arch install for instance it's in /usr/lib/, but for your Ubuntu install it might need to be in /usr/local/lib/ ).

Here are some commands to quickly help you out:

$ find 'path to your library folder' -iname libwx_gtk2u*

$ ln -s 'path to your libwx_gtk2u_adv-2.9.so' 'path to your lib folder'/libwx_gtk2u_adv-2.9.so.4

ps: you might have to do this for every libwx_gtk2u*.so file, but the wxPython check install should tell you if it's still missing other libraries ;-).

ps II: don't use bash commands without knowing what they do, who knows I might be trying to spy on you :-P
Peri Simone
Black Rebel Rifter Club
The Devil's Tattoo
#4 - 2013-09-27 11:48:19 UTC
Hello. I'm coming back to this after some time away from EVE, so thanks to both of you who replied.

Nebu: I can confirm that I have the libwx_gtk2u_adv-2.9.so.4 filein the /usr/local/lib folder.

Zor'katar: I have installed both python-wxgtk2.8 and python-sqlalchemy. However, I can't confirm that I haven't buggered this up somewhere along the line.

If I run the commands:

sudo apt-get install python-wxgtk2.8
sudo apt-get install python-sqlalchemy


I am told:

Reading package lists... Done
Building dependency tree
Reading state information... Done
python-wxgtk2.8 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Reading package lists... Done
Building dependency tree
Reading state information... Done
python-sqlalchemy is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


If I try to run pyfa at this stage I see this message:

http://paste.ubuntu.com/6162432/

I should stress that I have been meddling in things man was not meant to wot of, and have probably broken something.
Tarunik Raqalth'Qui
Native Freshfood
Minmatar Republic
#5 - 2013-09-27 18:16:23 UTC
Peri Simone wrote:
Hello. I'm coming back to this after some time away from EVE, so thanks to both of you who replied.

Nebu: I can confirm that I have the libwx_gtk2u_adv-2.9.so.4 filein the /usr/local/lib folder.

Zor'katar: I have installed both python-wxgtk2.8 and python-sqlalchemy. However, I can't confirm that I haven't buggered this up somewhere along the line.

If I run the commands:

sudo apt-get install python-wxgtk2.8
sudo apt-get install python-sqlalchemy


I am told:

Reading package lists... Done
Building dependency tree
Reading state information... Done
python-wxgtk2.8 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Reading package lists... Done
Building dependency tree
Reading state information... Done
python-sqlalchemy is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


If I try to run pyfa at this stage I see this message:

http://paste.ubuntu.com/6162432/

I should stress that I have been meddling in things man was not meant to wot of, and have probably broken something.

This is a strange error to see. Normally SQLAlchemy should import the builtin sqlite3 module, and will only fall back to importing pysqlite2 if it gets an ImportError from importing sqlite3. Fire up a Python interpreter (just type 'python') in the terminal, feed it 'import sqlite3' (without quotes ofc), hit Enter :) and report back the results of all that.
Peri Simone
Black Rebel Rifter Club
The Devil's Tattoo
#6 - 2013-09-28 14:17:33 UTC
Hi Tarunik, result posted here.


Nebu Retski
Lead Farmers
#7 - 2013-09-28 18:46:50 UTC  |  Edited by: Nebu Retski
Peri Simone wrote:
Hi Tarunik, result posted here.


Some pointers after googling the last line of your pastebin

linky1
linky2

The bottom line is that it seems you might be missing libsqlite3-dev and maybe some other things. Just check out the 2 links I provided and I hope you'll manage to get it corrected Big smile
Peri Simone
Black Rebel Rifter Club
The Devil's Tattoo
#8 - 2013-09-28 23:22:45 UTC
Hey Nebu, thanks for the links. Unfortunately all I'm really understanding from this is that Python isn't doing what it ought to do. Can anyone clarify what I'd need to do to fix it?
Peri Simone
Black Rebel Rifter Club
The Devil's Tattoo
#9 - 2013-10-12 19:04:30 UTC
Update, on the offchance it means anything to anyone:

When I try to run the newest version of pyfa I get this error message.
Nebu Retski
Lead Farmers
#10 - 2013-10-13 14:59:16 UTC
Peri Simone wrote:
Update, on the offchance it means anything to anyone:

When I try to run the newest version of pyfa I get this error message.

Oh boy, you're troubles are still not over Sad

If you don't need python and wxPython for anything important (work or daily used software), then maybe you can try to completely uninstall anything related to python and start again from a "clean slate".

Did you start a post on the Ubuntu forums regarding your python problems? If not, please do so considering that there are far more Ubuntu users there that could actually help you out. Here you only have a handful of Linux users that can help you out and only a small number of them actually are experienced in solving weird problems in Ubuntu (solving weird problems in Ubuntu is truly a pain compared to other distro's).
Tarunik Raqalth'Qui
Native Freshfood
Minmatar Republic
#11 - 2013-10-13 18:05:29 UTC
Catching up on this thread...and WHAT? Your system Python is hosed, man.
Peri Simone
Black Rebel Rifter Club
The Devil's Tattoo
#12 - 2013-10-13 23:04:19 UTC
Tarunik Raqalth'Qui wrote:
Catching up on this thread...and WHAT? Your system Python is hosed, man.

It's certainly looking that way What?

Cheers Nebu. I've never knowingly used python for anything other than pyfa, but it doesn't seem to be something I can easily reinstall without reinstalling Ubuntu from scratch.

I hadn't tried the Ubuntu forums yet, but I guess that's my next step. Thanks anyway o/
Nebu Retski
Lead Farmers
#13 - 2013-10-14 11:14:43 UTC
Peri Simone wrote:
Cheers Nebu. I've never knowingly used python for anything other than pyfa, but it doesn't seem to be something I can easily reinstall without reinstalling Ubuntu from scratch.


It should be relatively easy. Search for python in synaptic (or whatever is being used these day's by Ubuntu) and deselect it, then just force it to remove it. Then select everything again and install it.
Peri Simone
Black Rebel Rifter Club
The Devil's Tattoo
#14 - 2013-10-14 14:50:10 UTC  |  Edited by: Peri Simone
Nothing's ever easy, is it? If I try to remove python, I am told:

"If you uninstall python, future updates will no include new items in Minimal core of Ubuntu set. Are you sure you want to continue?" and I'm shown a long list of items that presumably will be affected by my rash decision.

If I go maverick and Remove Anyway I get this error message:

"Failed to remove essential system package
You requested to remove a package which is an essential part of your system.
Package aptdaemon cannot be removed"
Tarunik Raqalth'Qui
Native Freshfood
Minmatar Republic
#15 - 2013-10-14 16:09:44 UTC
Peri Simone wrote:
Nothing's ever easy, is it? If I try to remove python, I am told:

"If you uninstall python, future updates will no include new items in Minimal core of Ubuntu set. Are you sure you want to continue?" and I'm shown a long list of items that presumably will be affected by my rash decision.

If I go maverick and Remove Anyway I get this error message:

"Failed to remove essential system package
You requested to remove a package which is an essential part of your system.
Package aptdaemon cannot be removed"

Poke #ubuntu on Freenode, m8, and tell them your system Python is hosed and needs reinstalling.