Python generates RuntimeWarning on importing the module and dumps core on using it

Bug #337317 reported by kentz
2
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/python2.5/site-packages/yapgvb/__init__.py:20: RuntimeWarning: Python C API version mismat\
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
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package yapgvb - 1.1.3-0ubuntu1

---------------
yapgvb (1.1.3-0ubuntu1) karmic; urgency=low

  * New upstream release.
  * debian/rules:
    - Include /usr/share/python/python.mk in order to be able to use
      py_sitename and py_setup_install_args macros to install all python
      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

Changed in yapgvb (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.