python-zeroc-ice

Bug #213508 reported by Hector Miuler Malpica Gallegos
18
Affects Status Importance Assigned to Milestone
zeroc-ice-python (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: python-zeroc-ice

import Ice
/var/lib/python-support/python2.5/Ice.py:34: RuntimeWarning: Python C API version mismatch for module IcePy: This Python has API version 1013, module IcePy has version 1012.
  import IcePy
python: Types.cpp:2975: PyObject* IcePy_defineException(PyObject*, PyObject*): Assertion `((type)->ob_type == &PyClass_Type)' failed.
Cancelado (core dumped)

----

http://www.zeroc.com/forums/help-center/3451-problem-installing-icepy-3-2-1-a.html

Revision history for this message
Stefan Wehner (stefan-alea-soluciones) wrote :

I can confirm this bug in the hardy package. The gutsy package works just fine for any version of python

Revision history for this message
MAcks (xmacn-konto) wrote :

Same here. Also confirmed in ZeroC forums: http://www.zeroc.com/forums/help-center/3451-problem-installing-icepy-3-2-1-a.html#post16353
The provided python 2.5 binary is built using python2.4 headers.
Rebuilding the package from source after removing python2.4, python2.4-dev (and /usr/include/python2.4) solves the situation.

Revision history for this message
Luis J. Manso (luis-manso) wrote :

Using python2.4 doesn't solve the problem.

luisj@bellota:~$ sudo aptitude install python2.4-zeroc-ice
...
...
...
luisj@bellota:~$ python2.4
Python 2.4.5 (#2, Jul 31 2008, 18:51:48)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Ice
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/var/lib/python-support/python2.4/Ice.py", line 34, in ?
    import IcePy
ImportError: No module named IcePy
>>>

Daniel T Chen (crimsun)
Changed in zeroc-ice-python:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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