python libexo bindings broken?

Adam B cruxic at gmail.com
Wed Jul 22 06:55:29 CEST 2009


On Tue, Jul 21, 2009 at 8:52 PM, Robby Workman<rw at rlworkman.net> wrote:
> On Tue, 21 Jul 2009 20:31:35 -0700
> Adam B <cruxic at gmail.com> wrote:
>
>> When I install "libexo-0.3-0" on Ubuntu 9.04 I don't get any python
>> related stuff:
>>   /usr/lib
>>   /usr/lib/libexo-0.3-0
>>   /usr/lib/libexo-0.3-0/exo-compose-mail-0.3
>>   /usr/lib/libexo-0.3-0/exo-helper-0.3
>>   /usr/lib/libexo-0.3-0/exo-mount-notify-0.3
>>   /usr/lib/libexo-0.3.so.0.5.0
>>   /usr/lib/libexo-hal-0.3.so.0.5.0
>
>
> Those appear to be 32bit libraries (at least the last two files
> anyway), but the ones you mention below are 64bit.  Are you on
> a multilib system, or looking at two different systems, or did
> I just confuse you by pasting stuff from a 64bit system? :-)

I'm running 64bit with some 32bit compatibility libs.  Perhaps that's
causing some trouble.  I'll investigate.

>
>
>> What package name and version are you using, Robby?
>
>
> Well, I'm on Slackware, so it's part of our Xfce package - we don't
> split exo out into a separate package.
>
>
>> Oddly enough, when I install it from apt-get source (as described
>> previously) I get almost exactly what you have Robby:
>>       $ ls -1R /usr/lib64/python2.6/site-packages/
>>       /usr/lib64/python2.6/site-packages/:
>>       exo-0.3
>>       pyexo.py
>>       pyexo.pyc
>>       pyexo.pyo
>> ...
>>
>> Even so, the "python -c..." command still complains "ImportError: No
>> module named pyexo".
>
>
> Hrm...  Make sure the relevant directories are listed here:
>  python -c "import sys; print ':'.join(sys.path[1:])"

I think you've struck upon my problem.  I don't see lib64 or
site-packages in my list:

  /usr/local/lib/python2.6/dist-packages/Rat-0.2.dev_r18-py2.6.egg
  /usr/lib/python2.6
  /usr/lib/python2.6/plat-linux2
  /usr/lib/python2.6/lib-tk
  /usr/lib/python2.6/lib-old
  /usr/lib/python2.6/lib-dynload
  /usr/lib/python2.6/dist-packages
  /usr/lib/python2.6/dist-packages/PIL
  /usr/lib/python2.6/dist-packages/gst-0.10
  /var/lib/python-support/python2.6
  /usr/lib/python2.6/dist-packages/gtk-2.0
  /var/lib/python-support/python2.6/gtk-2.0
  /usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode
  /usr/local/lib/python2.6/dist-packages

Much thanks, Robby!  You've been very helpful.  Knowing the nature of
the problem I'm sure I'll be able to fix it.

>
> If they're not, I really don't know what to tell you -- I actually
> don't know too much about python...  :-)
>
> -RW
>
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-dev
>



More information about the Xfce4-dev mailing list