All of lore.kernel.org
 help / color / mirror / Atom feed
* target python problems
@ 2011-07-13 11:07 Koen Kooi
  2011-07-14 14:56 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Koen Kooi @ 2011-07-13 11:07 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

Hi,

After a recent update to python (the past week by the looks of it) python modules only install the .so files and not the .py and .pyo files anymore. This leads to breakge like this:

root@usrp-e1xx:~# opkg install python-dbus --force-reinstall
Removing package python-dbus from root...
Installing python-dbus (0.83.2-r0) to root...
Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/python/python-dbus_0.83.2-r0_armv7a.ipk.
Configuring python-dbus.

root@usrp-e1xx:~# systemd-analyze blame
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/bin/systemd-analyze", line 3, in <module>
    import dbus, sys
ImportError: No module named dbus

Prior to the 'opkg upgrade' yesterday systemd-analyze blame was working properly

regards,

Koen


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: target python problems
  2011-07-13 11:07 target python problems Koen Kooi
@ 2011-07-14 14:56 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2011-07-14 14:56 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, 2011-07-13 at 13:07 +0200, Koen Kooi wrote:
> After a recent update to python (the past week by the looks of it)
> python modules only install the .so files and not the .py and .pyo
> files anymore. This leads to breakge like this:
> 
> root@usrp-e1xx:~# opkg install python-dbus --force-reinstall
> Removing package python-dbus from root...
> Installing python-dbus (0.83.2-r0) to root...
> Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/python/python-dbus_0.83.2-r0_armv7a.ipk.
> Configuring python-dbus.
> 
> root@usrp-e1xx:~# systemd-analyze blame
> Could not find platform independent libraries <prefix>
> Could not find platform dependent libraries <exec_prefix>
> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> 'import site' failed; use -v for traceback
> Traceback (most recent call last):
>   File "/usr/bin/systemd-analyze", line 3, in <module>
>     import dbus, sys
> ImportError: No module named dbus
> 
> Prior to the 'opkg upgrade' yesterday systemd-analyze blame was working properly

I merged a fix to a python patch which should have addressed this...

Cheers,

Richard




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-14 15:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-13 11:07 target python problems Koen Kooi
2011-07-14 14:56 ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.