[SRU, 9.10] libboost-python1.38 issues with __doc__ property in Python >= 2.6.3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python |
Invalid
|
Unknown
|
|||
boost1.38 (Ubuntu) |
Won't Fix
|
High
|
Unassigned | ||
Karmic |
Fix Released
|
High
|
Unassigned | ||
python-visual (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Karmic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
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@mountpaku:
Traceback (most recent call last):
File "orbit.py", line 1, in <module>
from visual import *
File "/usr/lib/
import cvisual
AttributeError: 'Boost.
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:/
* Post on Python Ogre and the __doc__ property issue:
http://
* Discussion of a similar issue from PySide:
http://
ProblemType: Bug
Architecture: i386
Date: Thu Oct 22 10:59:00 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelMo
Package: libboost-
ProcEnviron:
PATH=(custom, user)
LANG=en_NZ.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: boost1.38
Uname: Linux 2.6.31-14-generic i686
XsessionErrors: (polkit-
Related branches
Changed in boost1.38 (Ubuntu): | |
status: | New → Confirmed |
Changed in python: | |
status: | Unknown → New |
Changed in python-visual (Ubuntu): | |
status: | New → Confirmed |
Changed in boost1.38 (Ubuntu): | |
status: | Triaged → Confirmed |
summary: |
- libboost-python1.38 issues with __doc__ property in Python >= 2.6.3 + [SRU, 9.10] libboost-python1.38 issues with __doc__ property in Python + >= 2.6.3 |
tags: | added: sru |
tags: |
added: verification-done removed: verification-needed |
Changed in python-visual (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in python-visual (Ubuntu Karmic): | |
status: | New → Invalid |
Changed in python: | |
status: | New → Invalid |
i can confirm that building the trunk boost libraries solves this issue.
boost 1.40.0rc1 was not sufficient