[Debian-olpc-devel] Bug#576270: Bug#576270: python-sugar-toolkit-0.88: python module not installed correctly
Sascha Silbe
sascha-ml-ui-sugar-debian-olpc-devel at silbe.org
Thu Apr 8 10:25:39 UTC 2010
On Wed, Apr 07, 2010 at 01:05:40PM +0200, Jonas Smedegaard wrote:
> Could you please check the newer 0.88.0-1 now available officially in
> Sid for all supported architectures?
Almost wrote same problem because the symptom matches, but the reason is
different. The Python files from sugar-toolkit are there, but
__init__.py is missing so the "sugar" package isn't recognized:
>>> import sugar.env
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named sugar.env
>>>
sascha.silbe at xo15-minimal:~$ ls -l
/usr/lib/python2.5/site-packages/sugar
total 186
drwxr-xr-x 1 root root 536 2010-04-06 11:18 activity
drwxr-xr-x 1 root root 220 2010-04-06 11:18 bundle
drwxr-xr-x 1 root root 96 2010-04-06 11:18 datastore
lrwxrwxrwx 1 root root 32 2010-04-06 11:18 env.py ->
/usr/share/pyshared/sugar/env.py
-rw-r--r-- 1 root root 1781 2010-04-06 11:18 env.pyc
drwxr-xr-x 1 root root 1392 2010-04-06 11:18 graphics
lrwxrwxrwx 1 root root 36 2010-04-06 11:18 network.py ->
/usr/share/pyshared/sugar/network.py
-rw-r--r-- 1 root root 10193 2010-04-06 11:18 network.pyc
drwxr-xr-x 1 root root 312 2010-04-06 11:18 presence
lrwxrwxrwx 1 root root 36 2010-04-06 11:18 profile.py ->
/usr/share/pyshared/sugar/profile.py
-rw-r--r-- 1 root root 7301 2010-04-06 11:18 profile.pyc
lrwxrwxrwx 1 root root 36 2010-04-06 11:18 session.py ->
/usr/share/pyshared/sugar/session.py
-rw-r--r-- 1 root root 2011 2010-04-06 11:18 session.pyc
-rw-r--r-- 1 root root 32096 2010-04-04 05:14 _sugarbaseext.so
lrwxrwxrwx 1 root root 38 2010-04-06 11:18 _sugarext.la ->
/usr/share/pyshared/sugar/_sugarext.la
-rw-r--r-- 1 root root 118748 2010-04-04 05:25 _sugarext.so
lrwxrwxrwx 1 root root 33 2010-04-06 11:18 util.py ->
/usr/share/pyshared/sugar/util.py
-rw-r--r-- 1 root root 10217 2010-04-06 11:18 util.pyc
lrwxrwxrwx 1 root root 31 2010-04-06 11:18 wm.py ->
/usr/share/pyshared/sugar/wm.py
-rw-r--r-- 1 root root 2605 2010-04-06 11:18 wm.pyc
sascha.silbe at xo15-minimal:~$
__init__.py exists in /usr/share/pyshared/sugar:
sascha.silbe at xo15-minimal:~$ ls -l /usr/share/pyshared/sugar/
total 56
drwxr-xr-x 1 root root 258 2010-04-06 11:17 activity
drwxr-xr-x 1 root root 106 2010-04-06 11:17 bundle
drwxr-xr-x 1 root root 46 2010-04-06 11:17 datastore
drwxr-xr-x 1 root root 68 2010-04-06 11:16 dispatch
-rw-r--r-- 1 root root 1848 2010-04-04 05:25 env.py
drwxr-xr-x 1 root root 668 2010-04-06 11:17 graphics
-rw-r--r-- 1 root root 1048 2010-04-04 05:14 __init__.py
-rw-r--r-- 1 root root 6049 2010-04-04 05:14 logger.py
-rw-r--r-- 1 root root 7511 2010-04-04 05:14 mime.py
-rw-r--r-- 1 root root 10321 2010-04-04 05:25 network.py
drwxr-xr-x 1 root root 150 2010-04-06 11:17 presence
-rw-r--r-- 1 root root 7593 2010-04-04 05:25 profile.py
-rw-r--r-- 1 root root 1588 2010-04-04 05:25 session.py
-rw-r--r-- 1 root root 1013 2010-04-04 05:14 _sugarbaseext.la
-rw-r--r-- 1 root root 1348 2010-04-04 05:25 _sugarext.la
-rw-r--r-- 1 root root 9233 2010-04-04 05:25 util.py
-rw-r--r-- 1 root root 2828 2010-04-04 05:25 wm.py
sascha.silbe at xo15-minimal:~$
CU Sascha
--
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-olpc-devel/attachments/20100408/410dbdcb/attachment-0001.pgp>
More information about the Debian-olpc-devel
mailing list