On 09/08/2010 09:45 AM, Iván Briano (Sachiel) wrote:
> On Wed, Sep 8, 2010 at 11:46 AM, Texstar<[email protected]>  wrote:
>> I am trying to update our RPM PCLinuxOS packages to E17 revision 51480.
>> I am getting the following error when trying to compile python-evas
>> bindings needed for editje.
>>
>> Error converting Pyrex file to C:
>> ------------------------------------------------------------
>> ...
>>              f = flags
>>          else:
>>              f = NULL
>>          evas_object_image_save(self.obj, filename, k, f)
>>
>>      def __getsegcount__(self, int *p_len):
>>                               ^
>> ------------------------------------------------------------
>>
>> /usr/src/rpm/BUILD/python-evas-20100830/evas/evas.c_evas_object_image.pxi:517:30:
>> Cannot convert 1 argument from 'Py_ssize_t *' to 'int *' building
>> 'evas.c_evas' extension
>>
>> This is with python 2.6.6. This error did not occur with python 2.5.2. I
>> guess python 2.6.6 really isn't fully backward compatible with previous
>> versions?
>>
>> python 2.6.6
>> pyrex 0.9.9
>> cython 0.13
>>
>>
>
> Stick to Cython 0.12.1. Newer versions won't work yet as they changed things
> that required updating the bindings, and that hasn't been done yet.
>

Alrighty! That did the trick. I guess I forgot that I had also updated 
cython when I updated python.

Thanks for your help.

Tex

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to