[Bug 1194791] Re: Python doesn't find modules in Ubuntu 13.04

2013-10-03 Thread jean-christophe manciot
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:

[Bug 1194791] Re: Python doesn't find modules in Ubuntu 13.04

2013-10-03 Thread costales
@jean Great :) Just enjoy Gufw and your Ubuntu :D -- 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

[Bug 1194791] Re: Python doesn't find modules in Ubuntu 13.04

2013-09-30 Thread jean-christophe manciot
Here's the content of my PATH variable: /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/actionmystique/bin:/usr/local/java/jre1.7.0_25/bin I'm not an Ubuntu expert, so I cannot understand the meaning of your export

[Bug 1194791] Re: Python doesn't find modules in Ubuntu 13.04

2013-09-30 Thread costales
** No longer affects: python -- 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:

[Bug 1194791] Re: Python doesn't find modules in Ubuntu 13.04

2013-09-27 Thread jean-christophe manciot
Here are the results: import sys sys.path ['', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-linux2', '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload',

[Bug 1194791] Re: Python doesn't find modules in Ubuntu 13.04

2013-09-27 Thread costales
Sorry, remove the slash: No this: sys.path.append('/usr/lib/python2.7/dist-packages/') This: sys.path.append('/usr/lib/python2.7/dist-packages') -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report.

[Bug 1194791] Re: Python doesn't find modules in Ubuntu 13.04

2013-09-27 Thread costales
Well, could you try this? python import sys sys.path.append('/usr/lib/python2.7/dist-packages/') import dbus Did import dbus work? :) -- 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

[Bug 1194791] Re: Python doesn't find modules in Ubuntu 13.04

2013-09-27 Thread jean-christophe manciot
import sys sys.path.append('/usr/lib/python2.7/dist-packages') import dbus Traceback (most recent call last): File stdin, line 1, in module File /usr/lib/python2.7/dist-packages/dbus/__init__.py, line 82, in module import dbus.types as types File

[Bug 1194791] Re: Python doesn't find modules in Ubuntu 13.04

2013-09-27 Thread jean-christophe manciot
Your gufw is assuming particular python version and paths, and correct behavior from other apps. I don't know anything about python, but your app should not depend on these. Why don't you: - test python version installed on the system prior to launch - include the expected paths of the packages

[Bug 1194791] Re: Python doesn't find modules in Ubuntu 13.04

2013-09-27 Thread Emilio
It appears to me that your system has two python 2.7 installs; one from the package manager, and one you installed manually for some reason. You should install Gufw's dependencies on your manual python install, or get rid of it and use the system-provided python install which should already have

[Bug 1194791] Re: Python doesn't find modules in Ubuntu 13.04

2013-09-26 Thread costales
http://stackoverflow.com/questions/1847249/how-can-i-correct-corrupted-pythonpath I think this could fix it?? sudo update-python-modules -p -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report.