Bug#576270: [Debian-olpc-devel] Bug#576270: python-sugar-toolkit-0.88: python module not installed correctly
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.si...@xo15-minimal:~$ ls -l /usr/lib/python2.5/site-packages/sugar total 186 drwxr-xr-x 1 root root536 2010-04-06 11:18 activity drwxr-xr-x 1 root root220 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 root312 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.si...@xo15-minimal:~$ __init__.py exists in /usr/share/pyshared/sugar: sascha.si...@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 root46 2010-04-06 11:17 datastore drwxr-xr-x 1 root root68 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.si...@xo15-minimal:~$ CU Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de/ signature.asc Description: Digital signature
Bug#576270: python-sugar-toolkit-0.88: python module not installed correctly
On Thu, Apr 08, 2010 at 12:25:39PM +0200, Sascha Silbe wrote: 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: So to ensure that I understood you correctly: The actual __init__.py is properly installed below /usr/share/pyshared/..., but is not properly symlinked below /usr/lib/python2.5/...? If so this seems a bug in python-shared. I await your response, and if affirmative, this bugreport should be reassigned to python-shared (feel free to do so yourself, or else I will do it). Kind regards, - Jonas -- * Jonas Smedegaard - idealist Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private signature.asc Description: Digital signature
Bug#576270: [Debian-olpc-devel] Bug#576270: python-sugar-toolkit-0.88: python module not installed correctly
On Thu, Apr 08, 2010 at 06:38:35PM +0200, Jonas Smedegaard wrote: So to ensure that I understood you correctly: The actual __init__.py is properly installed below /usr/share/pyshared/..., but is not properly symlinked below /usr/lib/python2.5/...? Exactly: r...@xo15-minimal:~# dpkg -S /usr/share/pyshared/sugar/__init__.py python-sugar-0.88: /usr/share/pyshared/sugar/__init__.py The problem probably is two packages (python-sugar-0.88 and python-sugar-toolkit-0.88) sharing the same namespace (package sugar). I await your response, and if affirmative, this bugreport should be reassigned to python-shared (feel free to do so yourself, or else I will do it). I guess you know the magic words off the top of your head (whereas I'd need to look it up again), so please do it. CU Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de/ signature.asc Description: Digital signature
Bug#576270: python-sugar-toolkit-0.88: python module not installed correctly
On Fri, Apr 02, 2010 at 02:54:09PM +0200, Jonas Smedegaard wrote: Hi Sascha, On Fri, Apr 02, 2010 at 11:54:46AM +, Sascha Silbe wrote: After upgrading python-sugar-toolkit-0.88 from 0.87.4-1 (squeeze) to 0.87.8-1 (sid), the contained Python module is not available anymore: thanks for reporting this. A newer release, 0.88.0-1, is pending inclusion into Debian. At the moment it is only unofficially available built for amd64 - I will try make a sideport available shortly for you to test. Could you please check the newer 0.88.0-1 now available officially in Sid for all supported architectures? Regards, - Jonas -- * Jonas Smedegaard - idealist Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private signature.asc Description: Digital signature
Bug#576270: python-sugar-toolkit-0.88: python module not installed correctly
Package: python-sugar-toolkit-0.88 Version: 0.87.8-1 Severity: grave Justification: renders package unusable After upgrading python-sugar-toolkit-0.88 from 0.87.4-1 (squeeze) to 0.87.8-1 (sid), the contained Python module is not available anymore: sascha.si...@xo15-minimal:~$ ls -l /usr/lib/python2.5/site-packages/sugar/ total 164 drwxr-xr-x 1 root root142 2010-03-30 10:51 dispatch lrwxrwxrwx 1 root root 37 2010-03-30 13:52 __init__.py - /usr/share/pyshared/sugar/__init__.py -rw-r--r-- 1 root root429 2010-03-30 10:51 __init__.pyo lrwxrwxrwx 1 root root 35 2010-03-30 13:52 logger.py - /usr/share/pyshared/sugar/logger.py -rw-r--r-- 1 root root 6292 2010-03-30 10:51 logger.pyo lrwxrwxrwx 1 root root 33 2010-03-30 13:52 mime.py - /usr/share/pyshared/sugar/mime.py -rw-r--r-- 1 root root 7232 2010-03-30 10:51 mime.pyo lrwxrwxrwx 1 root root 42 2010-03-30 13:52 _sugarbaseext.la - /usr/share/pyshared/sugar/_sugarbaseext.la -rw-r--r-- 1 root root 32064 2010-01-26 03:15 _sugarbaseext.so -rw-r--r-- 1 root root 118716 2010-03-23 23:51 _sugarext.so sascha.si...@xo15-minimal:~$ This causes the following backtrace when trying to start Sugar: Traceback (most recent call last): File /usr/bin/sugar-session, line 270, in module main() File /usr/bin/sugar-session, line 205, in main from sugar import env ImportError: cannot import name env There were no error messages during installation: Setting up python-sugar-toolkit-0.88 (0.87.8-1) ... Setting up python-xpcom (1.9.1.8-6) ... Processing triggers for python-support ... Log ended: 2010-04-02 10:59:49 -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.31.9-xo1.5-1-00636-ge8fbfa6 (PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-sugar-toolkit-0.88 depends on: ii libasound2 1.0.22-2 shared library for ALSA applicatio ii libatk1.0-0 1.28.0-1 The ATK accessibility toolkit ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib ii libcairo2 1.8.10-3 The Cairo 2D vector graphics libra ii libfontconfig1 2.8.0-2 generic font configuration library ii libfreetype62.3.11-1 FreeType 2 font engine, shared lib ii libglib2.0-02.22.4-1 The GLib library of C routines ii libgtk2.0-0 2.18.9-2 The GTK+ graphical user interface ii libice6 2:1.0.6-1X11 Inter-Client Exchange library ii libpango1.0-0 1.26.2-2 Layout and rendering of internatio ii librsvg2-common 2.26.0-1 SAX-based renderer library for SVG ii libsm6 2:1.1.1-1X11 Session Management library ii python 2.5.4-9 An interactive high-level object-o ii python-cairo1.8.8-1+b1 Python bindings for the Cairo vect ii python-central 0.6.14+nmu2 register and build utility for Pyt ii python-cjson1.0.5-2+b1 Very fast JSON encoder/decoder for ii python-dateutil 1.4.1-3 powerful extensions to the standar ii python-dbus 0.83.1-1 simple interprocess messaging syst ii python-gconf2.28.0-2 Python bindings for the GConf conf ii python-gobject 2.20.0-1+b1 Python bindings for the GObject li ii python-gtk2 2.16.0-2 Python bindings for the GTK+ widge ii python-hippocanvas 0.3.0-3+b1 Python bindings to hippo-canvas ii python-rsvg 2.28.0-6 Python bindings for the RSVG libra ii python-sugar-0.88 0.87.1-1+b1 Sugar graphical shell - core funct ii python-telepathy0.15.17-1Python language bindings for telep ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages python-sugar-toolkit-0.88 recommends: ii python-carquinyol-0.88 0.87.1-1+b1 Sugar graphical shell - datastore ii python-jarabe-0.88 0.88.0-1Sugar graphical shell - library pn sugar-0.88 none (no description available) ii sugar-presence-service-0.88 0.88.0-1Sugar graphical shell - presence s ii ttf-dejavu-core 2.30-2 Vera font family derivate with add ii unzip6.0-4 De-archiver for .zip files Versions of packages python-sugar-toolkit-0.88 suggests: ii git-core 1:1.7.0-1 fast, scalable, distributed revisi pn subversionnone (no description available) ii ttf-dejavu-extra 2.30-2 Vera font family derivate with add -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#576270: [Debian-olpc-devel] Bug#576270: python-sugar-toolkit-0.88: python module not installed correctly
Hi Sascha, On Fri, Apr 02, 2010 at 11:54:46AM +, Sascha Silbe wrote: After upgrading python-sugar-toolkit-0.88 from 0.87.4-1 (squeeze) to 0.87.8-1 (sid), the contained Python module is not available anymore: thanks for reporting this. A newer release, 0.88.0-1, is pending inclusion into Debian. At the moment it is only unofficially available built for amd64 - I will try make a sideport available shortly for you to test. Kind regards, - Jonas -- * Jonas Smedegaard - idealist Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private signature.asc Description: Digital signature