Hi Nicolas,

I would like to improve the error message. The problem is that I have 
seen this message so much that I am used. How do you think we could 
improve that message?

For example, I thought to replace 'find' and swap the hexa op id and its 
real sense (op 0x20e <-> edje:EDJE_OBJ_SUB_ID_PART_SWALLOW):

  ERR<8608>:eo lib/eo/eo.c:402 _eo_dov_internal() in
lib/edje/edje_util.c:3358: Can't execute edje:EDJE_OBJ_SUB_ID_PART_SWALLOW
(op 0x20e) for class 'elm_layout'. Aborting.

Do you think we need to add more explanations?

Thank you
JackDanielZ, alias Daniel

On 06/01/2013 10:55 AM, Nicolas Aguirre wrote:
> Ok You're both right :P, I don't see how it has not seen before, as
> this module should not display anything since a while.
>
> But I must to say that the error message is not really explicit.
>
> Thanks !
>
> 2013/6/1 Carsten Haitzler <ras...@rasterman.com>:
>> On Fri, 31 May 2013 17:38:07 +0200 Nicolas Aguirre 
>> <aguirre.nico...@gmail.com>
>> said:
>>
>>> Hi,
>>>
>>> Im' trying to *port* Enna to use EFL 1.8, but i get a huge number of
>>> errors in stdout since i use the git version.
>>> So i decide to fix them one by one. Some commes to the fact that now
>>> EFL doesn't like that i set a layout wich doens't exist in a edj file,
>>> i fix them by adding the missing part or removing the elm layout. But
>>> now i get stranger errors, and I really don't know what to do :
>>>
>>>   ERR<8608>:eo lib/eo/eo.c:402 _eo_dov_internal() in
>>> lib/edje/edje_util.c:3358: Can't find func for op 0x20e
>>> (edje:EDJE_OBJ_SUB_ID_PART_SWALLOW) for class 'elm_layout'. Aborting.
>> well this is pretty obvious. you are using an edje api (edje swallow) on an 
>> elm
>> layout obj... efl is just being pickier now about your code and in a very
>> generic way telling you that the method you are using is not valid for that
>> object type, and it's right. :)
>>
>>> And the backtrace :
>>> EINA_LOG_ABORT_LEVEL=4 EINA_LOG_ABORT=1 gdb enna
>>> GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
>>> Copyright (C) 2013 Free Software Foundation, Inc.
>>> License GPLv3+: GNU GPL version 3 or later 
>>> <http://gnu.org/licenses/gpl.html>
>>> This is free software: you are free to change and redistribute it.
>>> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
>>> and "show warranty" for details.
>>> This GDB was configured as "x86_64-linux-gnu".
>>> For bug reporting instructions, please see:
>>> <http://www.gnu.org/software/gdb/bugs/>...
>>> Reading symbols from /home/nico/usr/bin/enna...done.
>>> (gdb) r
>>> Starting program: /home/nico/usr/bin/enna
>>> warning: no loadable sections found in added symbol-file
>>> system-supplied DSO at 0x7ffff7ffa000
>>> [Thread debugging using libthread_db enabled]
>>> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
>>> [New Thread 0x7fffe6d54700 (LWP 18821)]
>>> [Enna/] [utils.c:88] Info: Set data directory to 
>>> /home/nico/.local/share/enna
>>> [Enna/] [utils.c:89] Info: Set config directory to : /home/nico/.config/enna
>>> [Enna/] [utils.c:90] Info: Set cache directory to : /home/nico/.cache/enna
>>> [Enna] [enna_config.c:253] Info: using config file:
>>> /home/nico/.config/enna/enna.cfg
>>> [Enna] [module.c:145] Info: Available Plugins (static):
>>> [Enna] [module.c:147] Info:      * activity_configuration
>>> [Enna] [module.c:147] Info:      * activity_music
>>> [Enna] [module.c:147] Info:      * activity_photo
>>> [Enna] [module.c:147] Info:      * activity_video
>>> [Enna] [module.c:147] Info:      * browser_localfiles
>>> [Enna] [module.c:147] Info:      * gadget_date
>>> [Enna] [module.c:147] Info:      * input_kbd
>>> [Enna] [module.c:147] Info:      * volume_mtab
>>> [Enna] [mediaplayer_emotion.c:57] Info: parameters:
>>> [Enna] [mediaplayer_emotion.c:62] Info:  * type: generic
>>> [Enna] [videoplayer_obj.c:140] Info: parameters:
>>> [Enna] [videoplayer_obj.c:145] Info:  * type: generic
>>> [Enna] [enna.c:212] Info: enna log file : (null)
>>>
>>> [New Thread 0x7fffe5a1a700 (LWP 18822)]
>>> [Thread 0x7fffe5a1a700 (LWP 18822) exited]
>>> [New Thread 0x7fffe5219700 (LWP 18823)]
>>> [Thread 0x7fffe5219700 (LWP 18823) exited]
>>> [New Thread 0x7fffe4a18700 (LWP 18824)]
>>> [Thread 0x7fffe4a18700 (LWP 18824) exited]
>>> resize 1280 720
>>> [New Thread 0x7fffdfdd3700 (LWP 18826)]
>>> [New Thread 0x7fffdf5d2700 (LWP 18827)]
>>> [New Thread 0x7fffdedd1700 (LWP 18828)]
>>> [New Thread 0x7fffde5d0700 (LWP 18829)]
>>> [New Thread 0x7fffdddcf700 (LWP 18830)]
>>> [New Thread 0x7fffdd5ce700 (LWP 18831)]
>>> [New Thread 0x7fffdcdcd700 (LWP 18832)]
>>> [New Thread 0x7fffdc5cc700 (LWP 18833)]
>>> [New Thread 0x7fffdbdcb700 (LWP 18834)]
>>> [New Thread 0x7fffdb5ca700 (LWP 18835)]
>>> [New Thread 0x7fffdadc9700 (LWP 18836)]
>>> ERR<18817>:eo lib/eo/eo.c:402 _eo_dov_internal() in
>>> lib/edje/edje_util.c:3358: Can't find func for op 0x20e
>>> (edje:EDJE_OBJ_SUB_ID_PART_SWALLOW) for class 'elm_layout'. Aborting.
>>>
>>> Program received signal SIGABRT, Aborted.
>>> 0x00007ffff542f037 in raise () from /lib/x86_64-linux-gnu/libc.so.6
>>> (gdb) bt full
>>> #0  0x00007ffff542f037 in raise () from /lib/x86_64-linux-gnu/libc.so.6
>>> No symbol table info available.
>>> #1  0x00007ffff5432698 in abort () from /lib/x86_64-linux-gnu/libc.so.6
>>> No symbol table info available.
>>> #2  0x00007ffff7255c33 in eina_log_print_unlocked
>>> (args=0x7fffffffdd38, fmt=<optimized out>, line=<optimized out>,
>>> fnc=<optimized out>, file=<optimized out>, level=EINA_LOG_LEVEL_ERR,
>>> domain=24)
>>>      at lib/eina/eina_log.c:1267
>>>          d = <optimized out>
>>> #3  eina_log_print (domain=24, level=level@entry=EINA_LOG_LEVEL_ERR,
>>> file=file@entry=0x7ffff47a46b9 "lib/eo/eo.c",
>>> fnc=fnc@entry=0x7ffff47a4770 <__FUNCTION__.9746> "_eo_dov_internal",
>>>      line=line@entry=402, fmt=fmt@entry=0x7ffff47a3f08 "in %s:%d: Can't
>>> find func for op 0x%x (%s:%s) for class '%s'. Aborting.") at
>>> lib/eina/eina_log.c:2074
>>>          args = {{gp_offset = 48, fp_offset = 48, overflow_arg_area =
>>> 0x7fffffffde50, reg_save_area = 0x7fffffffdd50}}
>>> #4  0x00007ffff47a0433 in _eo_dov_internal (p_list=0x7fffffffde68,
>>> op_type=EO_OP_TYPE_REGULAR, obj=0x9f9ae0, line=3358,
>>> file=0x7ffff61ce186 "lib/edje/edje_util.c") at lib/eo/eo.c:402
>>>          op_klass = <optimized out>
>>>          _dom_name = 0x7ffff61ce108 "edje"
>>>          prev_error = 0 '\000'
>>>          ret = 1 '\001'
>>>          op = 526
>>> #5  eo_do_internal (file=file@entry=0x7ffff61ce186
>>> "lib/edje/edje_util.c", line=line@entry=3358, obj_id=<optimized out>,
>>> op_type=op_type@entry=EO_OP_TYPE_REGULAR) at lib/eo/eo.c:429
>>>          ret = 1 '\001'
>>>          p_list = {{gp_offset = 40, fp_offset = 48, overflow_arg_area =
>>> 0x7fffffffdf70, reg_save_area = 0x7fffffffde80}}
>>>          obj = 0x9f9ae0
>>> #6  0x00007ffff61b727e in edje_object_part_swallow (obj=<optimized
>>> out>, part=part@entry=0x422631 "infos.panel.swallow",
>>> obj_swallow=<optimized out>) at lib/edje/edje_util.c:3358
>>>          ret = 0 '\000'
>>> #7  0x000000000041ae1e in _create_infos () at
>>> ../../src/modules/activity/photo/photo.c:66
>>>          o_edje = <optimized out>
>>> #8  _create_gui () at ../../src/modules/activity/photo/photo.c:219
>>> No locals.
>>> #9  _class_init () at ../../src/modules/activity/photo/photo.c:280
>>> No locals.
>>> #10 0x000000000040cbd8 in enna_activity_init (name=<optimized out>) at
>>> activity.c:108
>>>          act = <optimized out>
>>> #11 0x000000000040839b in _enna_init (argv=0x7fffffffe0e8, argc=1) at
>>> #enna.c:263
>>>          l = 0x85e150
>>>          a = <optimized out>
>>> #12 elm_main (argc=1, argv=0x7fffffffe0e8) at enna.c:603
>>> No locals.
>>> #13 0x00007ffff5419ea5 in __libc_start_main () from
>>> /lib/x86_64-linux-gnu/libc.so.6
>>> No symbol table info available.
>>> #14 0x000000000040754d in _start ()
>>> No symbol table info available.
>>>
>>> Any idea ?
>>> --
>>> Nicolas Aguirre
>>> Mail: aguirre.nico...@gmail.com
>>> Web: http://enna.geexbox.org
>>> Blog: http://dev.enlightenment.fr/~captainigloo/
>>>
>>> ------------------------------------------------------------------------------
>>> Get 100% visibility into Java/.NET code with AppDynamics Lite
>>> It's a free troubleshooting tool designed for production
>>> Get down to code-level detail for bottlenecks, with <2% overhead.
>>> Download for free and get started troubleshooting in minutes.
>>> http://p.sf.net/sfu/appdyn_d2d_ap2
>>> _______________________________________________
>>> enlightenment-devel mailing list
>>> enlightenment-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>>
>>
>> --
>> ------------- Codito, ergo sum - "I code, therefore I am" --------------
>> The Rasterman (Carsten Haitzler)    ras...@rasterman.com
>>
>
>


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to