Python generates RuntimeWarning on importing the module and dumps core on using it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
yapgvb (Ubuntu) |
Fix Released
|
Medium
|
Alessio Treglia |
Bug Description
When importing module yapgvb in the python shell , a RuntimeWarning is generated, complaining about a C API version mismatch for module _yapgvb.so
An attempt to use the module after this warning, results in python dumping core [code follows]
*******
Python 2.5.2 (r252:60911, Oct 5 2008, 19:24:49)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import yapgvb
/usr/lib/
ch for module _yapgvb: This Python has API version 1013, module _yapgvb has version 1012.
from _yapgvb import *
>>> g=yapgvb.Digraph()
>>> g.add_node('1')
Process Python segmentation fault
*******
System details:
XUbuntu 8.10 (intrepid)
python-yapgvb 1.1.1-0ubuntu7
Related branches
Changed in yapgvb (Ubuntu): | |
assignee: | nobody → Alessio Treglia (quadrispro) |
importance: | Undecided → Medium |
status: | New → In Progress |
status: | In Progress → Fix Committed |
This bug was fixed in the package yapgvb - 1.1.3-0ubuntu1
---------------
yapgvb (1.1.3-0ubuntu1) karmic; urgency=low
* New upstream release. python/ python. mk in order to be able to use install_ args macros to install all python
* debian/rules:
- Include /usr/share/
py_sitename and py_setup_
modules into the correct installation path.
* debian/control:
- Set XS-Python-Version to all.
- Bump Standards-Version.
* debian/copyright: Replace deprecated (C) with © symbol.
* Fix LP: #337317.
-- Alessio Treglia <email address hidden> Wed, 20 May 2009 23:32:19 +0200