2012/5/4 Gustavo Lima Chaves <gl...@profusion.mobi>

> (O)h(a)i, people.
>
> So, another time uploding the work on Elementary, which comprises of
> internal
> rewriting WRT the form widgets are created. There's an extensive thread
> explaining
> the reasons and means of this task, so please refer to it for technical
> questions.
>
> I have now removed the theme changing bits of the commits, so no "breaks"
> here.
> Please report any eventual bug directly to me and I'll fix it.
>

Hi, I found a new issue with your elementary changes, this time the problem
is in elm/edje external parts used from the python binding. I suspect all
the "external" usage are broken in python.

The source of problem is in the python function
Edje.part_external_get('part_name')
it is defined in python-edje/edje/edje.c_edje_object.pxi as:

def part_external_object_get(self, char *part):
        "@rtype: L{evas.c_evas.Object}"
        cdef evas.c_evas.Evas_Object *o
        o = edje_object_part_external_object_get(self.obj, part)
        return evas.c_evas._Object_from_instance(<long>o)

the real problem is in _Object_from_instance(), that call the c func:
evas_object_type_get(obj)

the returned object_type was (prior to you changes) the name of the widgets
(eg: 'List', 'Button', etc),
but now the evas_object_type_get() func return "elm_widget_compat", and so
python is not able to map the correct widget type.


This is the error I get everytime I try to use an "external" object from
edje:

UserWarning: Evas_Object 0x7f366db366f0 of type elm_widget_compat has no
direct or extended mapping! Using generic wrapper.

Do you have an idea of the problem? did you changed the name of the smart
classes?

please, help!

davemds






>
> Enjoy.
>
> --
> Gustavo Lima Chaves
> Computer Engineer @ ProFUSION Embedded Systems
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to