Package: python2.3-codespeak-lib Version: 0.7-svn20050721-2 Severity: normal
I went to go play with "greenlets" today, using one of the examples from the codespeak.com web page. It looks like the greenlet C extension is installed in the wrong place and thus unloadable: 2416:[EMAIL PROTECTED] python Python 2.3.5 (#2, Nov 20 2005, 16:40:39) [GCC 4.0.3 20051111 (prerelease) (Debian 4.0.2-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from py.magic import greenlet Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.3/site-packages/py/initpkg.py", line 181, in __getattr__ result = self.__package__._resolve(extpy) File "/usr/lib/python2.3/site-packages/py/initpkg.py", line 69, in _resolve implmodule = self._loadimpl(fspath[:-3]) File "/usr/lib/python2.3/site-packages/py/initpkg.py", line 99, in _loadimpl return __import__(modpath, None, None, ['__doc__']) File "/usr/lib/python2.3/site-packages/py/magic/greenlet.py", line 5, in ? greenlet = path.pyimport().greenlet File "/usr/lib/python2.3/site-packages/py/path/local/local.py", line 365, in pyimport raise py.error.ENOENT(self) py.error.ENOENT: [No such file or directory]: /usr/lib/python2.3/site-packages/py/c-extension/greenlet/greenlet.so >>> Indeed, dpkg -L tells me: 1291:[EMAIL PROTECTED] dpkg -L python2.3-codespeak-lib |grep greenlet /usr/share/doc/python2.3-codespeak-lib/greenlet.txt.gz /usr/lib/python2.3/site-packages/py/magic/greenlet.py /usr/lib/python2.3/site-packages/greenlet.so So I'm guessing that something in the package build process installs greenlet.so into the wrong place, or at least not into the location where greenlet.py is expecting to find it. Hopefully there's a simple fix.. I haven't looked closely enough at process to suggest a patch. Sorry. thanks! -Brian -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages python2.3-codespeak-lib depends on: ii libc6 2.3.5-9 GNU C Library: Shared libraries an ii python2.3 2.3.5-9 An interactive high-level object-o ii python2.4 2.4.2-2 An interactive high-level object-o python2.3-codespeak-lib recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]