[Bug 457688] [NEW] libboost-python1.38 issues with __doc__ property in Python >= 2.6.3

Launchpad Bug Tracker 457688 at bugs.launchpad.net
Fri Mar 26 20:30:05 GMT 2010


You have been subscribed to a public bug by Scott Howard (showard314):

Python >= 2.6.3 has changed the way the __doc__ property is implemented.
Boost.Python 1.38 does not account for this, yet, leading to many errors
executing Python code using the Boost implemented bindings.

An example trying to use a sample from python-visual:

guy at mountpaku:/usr/share/doc/python-visual/examples$ python orbit.py
Traceback (most recent call last):
  File "orbit.py", line 1, in <module>
    from visual import *
  File "/usr/lib/python2.6/dist-packages/visual/__init__.py", line 59, in <module>
    import cvisual
AttributeError: 'Boost.Python.StaticProperty' object attribute '__doc__' is read-only

The current SVN version of Boost seems to have resolved that issue
already. But the version of Boost in "universe" (1.40) still does not
seem compatible with this, as python-visual does not compile with that
one. I do not know whether the issue with __doc__ itself has already
been resolved in 1.40.

Tests have been undertaken to compile python-visual 5.11 from Karmic
with Boost 1.38 as well as 1.40, as well as python-visual 5.12 (from
Debian Sid) with Boost 1.38. No attempt has been made, yet, to try this
with the current stable release 5.13, which has not been "debianified"
as of now.

Many packages rely on a working libboost-python. Especially python-
visual as contained in "main" of Karmic is completely unusable this way.
Other projects, like Python Ogre, also do not work with the present
version of Boost.

Anyway, some/many/most/all Python packages relying on libboost-python
will definitely be *broken* in the upcoming Karmic if this bug is not
resolved in some way.

See also here:

 * python-visual bug with quite some info in the last comments:
   https://bugs.launchpad.net/ubuntu/+source/python-visual/+bug/408663

 * Post on Python Ogre and the __doc__ property issue:
   http://groups.google.com/group/python-ogre-developers/browse_thread/thread/130617f8c69f1bcb

 * Discussion of a similar issue from PySide:
   http://ur1.ca/du0m

ProblemType: Bug
Architecture: i386
Date: Thu Oct 22 10:59:00 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: libboost-python1.38.0 1.38.0-6ubuntu6
ProcEnviron:
 PATH=(custom, user)
 LANG=en_NZ.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: boost1.38
Uname: Linux 2.6.31-14-generic i686
XsessionErrors: (polkit-gnome-authentication-agent-1:7182): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

** Affects: python
     Importance: Unknown
         Status: New

** Affects: boost1.38 (Ubuntu)
     Importance: High
         Status: Confirmed

** Affects: python-visual (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: apport-bug i386
-- 
libboost-python1.38 issues with __doc__ property in Python >= 2.6.3
https://bugs.launchpad.net/bugs/457688
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.



More information about the Ubuntu-sponsors mailing list