2.1.0 warning: some compiled extensions could not be loaded

Martin Pool mbp at canonical.com
Tue Mar 9 23:01:51 GMT 2010


On 9 March 2010 00:48, Jari Aalto <jari.aalto at cante.net> wrote:
>
> The new release displays following message after each command:
>
>    bzr: warning: some compiled extensions could not be loaded; see
>    <https://answers.launchpad.net/bzr/+faq/703>
>
> The FAQ points t look at ~/.bzr.log (the message could have mentioned
> this file too), which looks like this under Cygwin:
>
>    Mon 2010-03-08 15:35:26 +0200
>    2.571  bazaar version: 2.1.0
>    2.584  bzr arguments: [u'--version']
> *   5.180  failed to load compiled extension: No module named _static_tuple_c
> *   5.398  failed to load compiled extension: cannot import name _btree_serializer_pyx
>    6.005  encoding stdout as sys.stdout encoding 'UTF-8'
>    8.019  Transferred: 0KiB (0.0K/s r:0K w:0K)
>    8.019  return code 0
>    [ 4400] 2010-03-08 15:35:34.961 WARNING: bzr: warning: some compiled
>    extensions could not be loaded; see
>    <https://answers.launchpad.net/bzr/+faq/703>
>
> In the installer package that I'm making, the archive (after running
> setup.py) contains:
>
>    tar -jtvf bzr-2.1.0-1.tar.bz2 | grep -E 'static_tuple|btree_serializer'
>    -rwxr-xr-x mervi/users    1964 2010-02-16 19:00 usr/lib/python2.5/site-packages/bzrlib/static_tuple.py
>    -rw-r--r-- mervi/users    1579 2010-03-06 01:44 usr/lib/python2.5/site-packages/bzrlib/static_tuple.pyc
>    -rwxr-xr-x mervi/users   25378 2010-02-16 19:00 usr/lib/python2.5/site-packages/bzrlib/tests/test__static_tuple.py
>    -rw-r--r-- mervi/users   24471 2010-03-06 01:44 usr/lib/python2.5/site-packages/bzrlib/tests/test__static_tuple.pyc
>    -rwxr-xr-x mervi/users    2894 2010-02-16 19:00 usr/lib/python2.5/site-packages/bzrlib/_btree_serializer_py.py
>    -rw-r--r-- mervi/users    1906 2010-03-06 01:44 usr/lib/python2.5/site-packages/bzrlib/_btree_serializer_py.pyc
>    -rwxr-xr-x mervi/users   31744 2010-03-06 06:30 usr/lib/python2.5/site-packages/bzrlib/_btree_serializer_pyx.dll
>    -rwxr-xr-x mervi/users   18432 2010-03-06 06:31 usr/lib/python2.5/site-packages/bzrlib/_static_tuple_c.dll
>    -rwxr-xr-x mervi/users    2767 2010-02-16 19:00 usr/lib/python2.5/site-packages/bzrlib/_static_tuple_py.py
>    -rw-r--r-- mervi/users    2510 2010-03-06 01:44 usr/lib/python2.5/site-packages/bzrlib/_static_tuple_py.pyc
>
>    This archive would be installed under Cygwin with:
>
>    tar -C / -xf *.bz2
>
>    In case you need to study the full archive, it's here:
>    http://cante.net/~jaalto/tmp/tmp/bzr-2.1.0-1.tar.bz2
>
> What am I missing?

Well they seem to exist but not to be loaded.  Perhaps you're using a
different python?  My next step would be to run 'python -c "import
bzrlib._status_tuple_c"' and see what that says.

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list