You are not logged in.

#1 2011-09-25 12:42:47

gour
Member
From: Croatia
Registered: 2007-07-28
Posts: 67

PIDA requires LD_PRELOAD=/usr/lib/libpython2.7.so to run

Hiya,

attempt to launch PIDA gives the following:

[2011-09-24 19:49] WARNING: pida.svc.window: Can't open window state file /home/gour/.pida2/settings/workspaces/default/window.state.json
Error detected while processing /usr/lib/python2.7/site-packages/pida/resources/data/pida.vim:
line 35:
Traceback (most recent call last):
File "<string>", line 10, in <module>
File "/usr/lib/python2.7/site-packages/pida/editors/vim/server.py", line 8, in <module>
import gtk, gobject
File "/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 30, in <module>
import gobject as _gobject
File "/usr/lib/python2.7/site-packages/gobject/__init__.py", line 26, in <module>
from glib import spawn_async, idle_add, timeout_add, timeout_add_seconds, \
File "/usr/lib/python2.7/site-packages/glib/__init__.py", line 22, in <module>
from glib._glib import *
ImportError: /usr/lib/libpyglib-2.0-python2.so.0: undefined symbol: PyExc_ImportError

PIDA devs accuse Arch for doing strange things ("f***ed up python or pygtk build "), but I do not see anything strange in py(gtk) builds.

In the meantime, I've discovered that this helps:

LD_PRELOAD=/usr/lib/libpython2.7.so pida

but I wonder why it should be required?

Any idea?

Last edited by gour (2011-09-25 12:45:52)

Offline

#2 2011-11-02 15:07:06

csingley
Member
Registered: 2011-05-19
Posts: 8

Re: PIDA requires LD_PRELOAD=/usr/lib/libpython2.7.so to run

I'm running into the same issue.  Thanks for the workaround!

Last edited by csingley (2011-11-02 15:07:31)

Offline

Board footer

Powered by FluxBB