I was finally able to launch gufw !!! :)

-------------------------------------------------------------------------------------------------------------
All I did was to simply switch the order of usr/local/bin and usr/bin paths 
within $PATH and reload:
-------------------------------------------------------------------------------------------------------------

actionmystique@ACER-Aspire:~$ echo $PATH
/usr/lib/lightdm/lightdm:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/games:/usr/local/games:/home/actionmystique/bin:/usr/local/java/jre1.7.0_25/bin

Again, your app should test somehow Python version and paths before
launching since it depends on them...

actionmystique@ACER-Aspire:~$ python
Python 2.7.4 (default, Jul  5 2013, 08:23:43) 
[GCC 4.7.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import dbus
>>> from netifaces import interfaces
>>> import sys
>>> sys.path
['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-i386-linux-gnu', 
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', 
'/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', 
'/usr/lib/python2.7/dist-packages', 
'/usr/lib/python2.7/dist-packages/PILcompat', 
'/usr/lib/python2.7/dist-packages/gst-0.10', 
'/usr/lib/python2.7/dist-packages/gtk-2.0', 
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client', 
'/usr/lib/python2.7/dist-packages/ubuntuone-client', 
'/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', 
'/usr/lib/python2.7/dist-packages/ubuntuone-couch', 
'/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol', 
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode']
>>>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1194791

Title:
  Python doesn't find modules in Ubuntu 13.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/gui-ufw/+bug/1194791/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to