Comment 13 for bug 1275353

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I have looked into whether there is an easy fix but I have found out that the functions PyString_FromStringAndSize() and Py_InitModule4() were both removed from the API in Python3. Probably the compiling step did not find these functions and did a so-called "implicit declaration" with integer return value leading to the warnings.

What we need is a Python3 replacement of these 2 functions. It seems that the pcard/pcardext/pcardext.c C extension was not correctly converted to Python3 but as it is only rarely ued (very old MF devices) it was not discovered.

Unfortunately I did not find a quick workaround by somehow deactivating the old memory card support.

Reopening for this missing part of the Python3 conversion.

To the HPLIP developers at HP. Can you please fix this quickly and attach a patch here so that we can quickly release this HPLIP package? Thanks.