[Bugs] #4307 sugar URGE: clipboard.set_with_data/set_with_owner is not introspectable

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Dec 17 16:01:54 EST 2012


#4307: clipboard.set_with_data/set_with_owner is not introspectable
----------------------------+-----------------------------------------------
    Reporter:  godiard      |          Owner:  erikos     
        Type:  defect       |         Status:  new        
    Priority:  Urgent       |      Milestone:  0.98       
   Component:  sugar        |        Version:  Unspecified
    Severity:  Unspecified  |       Keywords:  regression 
Distribution:  Unspecified  |   Status_field:  Unconfirmed
----------------------------+-----------------------------------------------

Comment(by erikos):

 Traceback when trying to 'keep' a clipboard entry.

 {{{
 #0  0x42ee84ac in setup_context (registry=<synthetic pointer>,
 module=<synthetic pointer>, lineno=<synthetic pointer>,
 filename=<synthetic pointer>, stack_level=1)
     at /usr/src/debug/Python-2.7.3/Python/_warnings.c:449
 #1  do_warn (message=message at entry="g_object_set_property: assertion
 `G_IS_VALUE (value)' failed", category=category at entry=<type at remote
 0xab194c4>, stack_level=stack_level at entry=1)
     at /usr/src/debug/Python-2.7.3/Python/_warnings.c:594
 #2  0x42ee89a5 in PyErr_WarnEx (category=category at entry=<type at remote
 0xab194c4>, text=text at entry=0xaa41498 "g_object_set_property: assertion
 `G_IS_VALUE (value)' failed",
     stack_level=stack_level at entry=1) at
 /usr/src/debug/Python-2.7.3/Python/_warnings.c:720
 #3  0xadfe3f13 in _log_func (log_domain=log_domain at entry=0xb70c5ee4 "GLib-
 GObject", log_level=log_level at entry=G_LOG_LEVEL_CRITICAL,
 message=message at entry=
     0xaa41498 "g_object_set_property: assertion `G_IS_VALUE (value)'
 failed", user_data=0xab194c4) at gobjectmodule.c:2353
 #4  0xb6fb1d78 in g_logv (log_domain=log_domain at entry=0xb70c5ee4 "GLib-
 GObject", log_level=log_level at entry=G_LOG_LEVEL_CRITICAL,
 format=format at entry=
     0xb70203b6 "%s: assertion `%s' failed", args=args at entry=0xbffd2c3c
 "\276\216\f\267\341~\f\267d\325\v\267") at gmessages.c:945
 #5  0xb6fb1f13 in g_log (log_domain=log_domain at entry=0xb70c5ee4 "GLib-
 GObject", log_level=log_level at entry=G_LOG_LEVEL_CRITICAL,
 format=format at entry=
     0xb70203b6 "%s: assertion `%s' failed") at gmessages.c:1003
 #6  0xb6fb1f5d in g_return_if_fail_warning
 (log_domain=log_domain at entry=0xb70c5ee4 "GLib-GObject",
 pretty_function=pretty_function at entry=0xb70c8ebe "g_object_set_property",
 expression=
     0xb70c7ee1 "G_IS_VALUE (value)") at gmessages.c:1012
 #7  0xb70a1baf in g_object_set_property (object=object at entry=0xa9f3228,
 property_name=0xa7d1713 "buddy", value=value at entry=0xbffd2d0c) at
 gobject.c:2132
 #8  0xb694c4bd in apply_cell_attributes (renderer=0xa9f3228,
 info=0xa9e6a20, data=data at entry=0xbffd2d8c) at gtkcellarea.c:1277
 #9  0xb6f9a222 in g_hash_table_foreach (hash_table=0xa9ee018,
 func=func at entry=0xb694c390 <apply_cell_attributes>,
 user_data=user_data at entry=0xbffd2d8c) at ghash.c:1524
 #10 0xb694c345 in gtk_cell_area_real_apply_attributes (area=0xaa05918,
 tree_model=0xac10460, iter=0xa9e7ea0, is_expander=0, is_expanded=0) at
 gtkcellarea.c:1313
 #11 0xb6951e5b in gtk_cell_area_box_apply_attributes (area=0xaa05918,
 tree_model=tree_model at entry=0xac10460, iter=iter at entry=0xa9e7ea0,
 is_expander=is_expander at entry=0, is_expanded=0)
     at gtkcellareabox.c:1317
 #12 0xb6a3262b in _gtk_marshal_VOID__OBJECT_BOXED_BOOLEAN_BOOLEANv
 (closure=0xa4cc390, return_value=0x0, instance=0xaa05918,
     args=0xbffd310c "`\004\301\n\340", <incomplete sequence \375\277>,
 marshal_data=0xb6951e10, n_params=4, param_types=0xa4cc420) at
 gtkmarshalers.c:4960
 #13 0xb7098857 in g_type_class_meta_marshalv
 (closure=closure at entry=0xa4cc390, return_value=return_value at entry=0x0,
 instance=instance at entry=0xaa05918,
     args=args at entry=0xbffd310c "`\004\301\n\340", <incomplete sequence
 \375\277>, marshal_data=marshal_data at entry=0x5c,
 n_params=n_params at entry=4, param_types=param_types at entry=
     0xa4cc420) at gclosure.c:997
 #14 0xb709a1d1 in _g_closure_invoke_va (closure=closure at entry=0xa4cc390,
 return_value=return_value at entry=0x0, instance=instance at entry=0xaa05918,
     args=args at entry=0xbffd310c "`\004\301\n\340", <incomplete sequence
 \375\277>, n_params=n_params at entry=4, param_types=0xa4cc420) at
 gclosure.c:840
 #15 0xb70b34f7 in g_signal_emit_valist (instance=instance at entry=0xaa05918,
 signal_id=signal_id at entry=358, detail=detail at entry=0,
     var_args=var_args at entry=0xbffd310c "`\004\301\n\340", <incomplete
 sequence \375\277>) at gsignal.c:3211
 #16 0xb70b3eb3 in g_signal_emit (instance=instance at entry=0xaa05918,
 signal_id=358, detail=detail at entry=0) at gsignal.c:3356
 #17 0xb694e06e in gtk_cell_area_apply_attributes (area=0xaa05918,
 tree_model=tree_model at entry=0xac10460, iter=iter at entry=0xbffd32e0,
 is_expander=is_expander at entry=0,
     is_expanded=is_expanded at entry=0) at gtkcellarea.c:2362
 #18 0xb6b6b2c6 in gtk_tree_view_column_cell_set_cell_data
 (tree_column=tree_column at entry=0xaa053e0, tree_model=0xac10460,
 iter=iter at entry=0xbffd32e0, is_expander=0, is_expanded=0)
     at gtktreeviewcolumn.c:2872
 #19 0xb6b4ffad in validate_row (tree_view=tree_view at entry=0xa4d22f8,
 tree=0xaa50820, node=0xac0ab00, iter=iter at entry=0xbffd32e0,
 path=path at entry=0xa9f4460) at gtktreeview.c:6104
 #20 0xb6b55b7d in validate_visible_area (tree_view=0xa4d22f8) at
 gtktreeview.c:6320
 #21 do_presize_handler (tree_view=0xa4d22f8) at gtktreeview.c:6783
 #22 0xb6b55ccc in presize_handler_callback (data=0xa4d22f8) at
 gtktreeview.c:6806
 #23 0xb682873e in gdk_threads_dispatch (data=data at entry=0xac11090) at
 gdk.c:788
 #24 0xb6fa75e0 in g_idle_dispatch (source=source at entry=0xac42000,
 callback=0xb6828700 <gdk_threads_dispatch>, user_data=0xac11090) at
 gmain.c:4806
 #25 0xb6faa393 in g_main_dispatch (context=0x9e49ab8,
 context at entry=0xa43a8e0) at gmain.c:2715
 #26 g_main_context_dispatch (context=context at entry=0x9e49ab8) at
 gmain.c:3219
 #27 0xb6faa730 in g_main_context_iterate (context=0x9e49ab8,
 block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
 gmain.c:3290
 #28 0xb6faab8b in g_main_loop_run (loop=loop at entry=0xa4446f8) at
 gmain.c:3484
 #29 0xb6a2ad65 in gtk_main () at gtkmain.c:1160
 #30 0x42fe061a in ffi_call_SYSV () at ../src/x86/sysv.S:64
 #31 0x42fe0381 in ffi_call (cif=cif at entry=0xbffd3568,
 fn=fn at entry=0xb6a2acc0 <gtk_main>, rvalue=rvalue at entry=0xbffd3560,
 avalue=avalue at entry=0xbffd3500) at ../src/x86/ffi.c:303
 #32 0xb727eed4 in g_callable_info_invoke (info=info at entry=0xa4f34c0,
 function=0xb6a2acc0, in_args=in_args at entry=0x0,
 n_in_args=n_in_args at entry=0, out_args=out_args at entry=0x0,
     n_out_args=n_out_args at entry=0,
 return_value=return_value at entry=0xbffd36ac, is_method=is_method at entry=0,
 throws=0, error=error at entry=0xbffd3684) at
 girepository/gicallableinfo.c:680
 #33 0xb72804a4 in g_function_info_invoke (info=info at entry=0xa4f34c0,
 in_args=0x0, n_in_args=0, out_args=0x0, n_out_args=0,
 return_value=return_value at entry=0xbffd36ac,
 ---Type <return> to continue, or q <return> to quit---
     error=error at entry=0xbffd3684) at girepository/gifunctioninfo.c:274
 #34 0xb72bdeda in _invoke_callable (function_ptr=0,
 callable_info=0xa4f34c0, cache=0xa4ffe30, state=0xbffd3688) at pygi-
 invoke.c:64
 #35 pygi_callable_info_invoke (info=0xa4f34c0, py_args=py_args at entry=(),
 kwargs=kwargs at entry={}, cache=0xa4ffe30,
 function_ptr=function_ptr at entry=0, user_data=user_data at entry=0x0)
     at pygi-invoke.c:656
 #36 0xb72bec00 in _wrap_g_callable_info_invoke (self=0xa3ffaec,
 py_args=(), kwargs={}) at pygi-invoke.c:679
 #37 0x42eaa079 in PyCFunction_Call (func=func at entry=<built-in method
 invoke of gi.FunctionInfo object at remote 0xa3ffaec>, arg=arg at entry=(),
 kw=kw at entry={})
     at /usr/src/debug/Python-2.7.3/Objects/methodobject.c:85
 #38 0x42f08497 in ext_do_call (nk=-1217093588, na=0, flags=<optimized
 out>, pp_stack=0xbffd3884, func=<built-in method invoke of gi.FunctionInfo
 object at remote 0xa3ffaec>)
     at /usr/src/debug/Python-2.7.3/Python/ceval.c:4408
 #39 PyEval_EvalFrameEx (f=f at entry=Frame 0xa504e54, for file /home/erikos
 /sugar-build/install/lib/python2.7/site-packages/gi/types.py, line 47, in
 function (args=(), kwargs={}),
     throwflag=throwflag at entry=0) at
 /usr/src/debug/Python-2.7.3/Python/ceval.c:2779
 #40 0x42f0a049 in PyEval_EvalCodeEx (co=co at entry=0xb72f4da0,
 globals=globals at entry=
     {'StructMeta': <type at remote 0x9dc8e44>, 'absolute_import':
 <_Feature(mandatory=(2, 7, 0, 'alpha', 0), optional=(2, 5, 0, 'alpha', 1),
 compiler_flag=16384) at remote 0xb73c6c0c>, 'register_interface_info':
 <built-in function register_interface_info>, 'ObjectInfo': <type at remote
 0xb72cd560>, 'Function': <function at remote 0xb72fdca4>, '__package__':
 'gi', 'MetaClassHelper': <type at remote 0x9dc83c4>, '_gobject': <module
 at remote 0xb739bee4>, '__doc__': None, 'hook_up_vfunc_implementation':
 <built-in function hook_up_vfunc_implementation>, '__warningregistry__':
 {("g_object_set_property: assertion `G_IS_VALUE (value)' failed", <type at
 remote 0x9db14e4>, 47): True, ("g_value_unset: assertion `G_IS_VALUE
 (value)' failed", <type at remote 0x9db14e4>, 47): True}, '__builtins__':
 {'bytearray': <type at remote 0x42fa37a0>, 'IndexError': <type at remote
 0x42fa75a0>, 'all': <built-in function all>, 'help': <_Helper at remote
 0xb76cee4c>, 'vars': <built-in function vars>, 'SyntaxError': <type at
 remote 0x42fa722...(truncated), locals=locals at entry=0x0, args=0x9f922d0,
     argcount=argcount at entry=0, kws=0x9f922d0, kwcount=0, defs=0x0,
 defcount=defcount at entry=0, closure=(<cell at remote 0xa3f78e4>,)) at
 /usr/src/debug/Python-2.7.3/Python/ceval.c:3330
 #41 0x42f0830d in fast_function (nk=<optimized out>, na=0, n=0,
 pp_stack=0xbffd3a64, func=<function at remote 0xa400224>) at
 /usr/src/debug/Python-2.7.3/Python/ceval.c:4194
 #42 call_function (oparg=<optimized out>, pp_stack=0xbffd3a64) at
 /usr/src/debug/Python-2.7.3/Python/ceval.c:4119
 #43 PyEval_EvalFrameEx (f=
     Frame 0x9f92164, for file /home/erikos/sugar-build/install/bin/sugar-
 session, line 336, in main (env=<module at remote 0xb64f11f4>,
 data_dir='/home/erikos/.sugar/default/data', logger=<module at remote
 0xb64f126c>, config=<module at remote 0xb64f165c>, sound=<module at remote
 0xb64f1ac4>, intro=<module at remote 0xb64f1b24>,
 IntroWindow=<GObjectMeta(__module__='jarabe.intro.window',
 _create_profile_cb=<function at remote 0xb62a087c>, __init__=<function at
 remote 0xb62a080c>, __gtype_name__='SugarIntroWindow', _done_cb=<function
 at remote 0xb62a0844>, __gtype__=<gobject.GType at remote 0xb777bb90>,
 _IntroWindow__key_press_cb=<function at remote 0xb62a08b4>, __doc__=None)
 at remote 0x9ff353c>, client=<Client at remote 0xb634cf54>,
 timezone='Europe/Berlin', icons_path='/home/erikos/sugar-
 build/install/share/sugar/data/icons'), throwflag=throwflag at entry=0) at
 /usr/src/debug/Python-2.7.3/Python/ceval.c:2740
 #44 0x42f087ec in fast_function (nk=163999824, na=0, n=0,
 pp_stack=0xbffd3bd4, func=<function at remote 0xb64ef844>) at
 /usr/src/debug/Python-2.7.3/Python/ceval.c:4184
 #45 call_function (oparg=<optimized out>, pp_stack=0xbffd3bd4) at
 /usr/src/debug/Python-2.7.3/Python/ceval.c:4119
 #46 PyEval_EvalFrameEx (f=f at entry=Frame 0x9c83b1c, for file /home/erikos
 /sugar-build/install/bin/sugar-session, line 352, in <module> (),
 throwflag=throwflag at entry=0)
     at /usr/src/debug/Python-2.7.3/Python/ceval.c:2740
 #47 0x42f0a049 in PyEval_EvalCodeEx (co=co at entry=0xb7675578,
 globals=globals at entry=
     {'GLib': <DynamicGLibModule(_overrides_module=<module at remote
 0xb72dcee4>, _namespace='GLib',
 _introspection_module=<IntrospectionModule(__name__='gi.repository.GLib',
 _namespace='GLib', Variant=<StructMeta(new_fixed_array=<classmethod at
 remote 0xb730d5e4>, new_array=<classmethod at remote 0xb730d494>,
 __module__='gi.repository.GLib', new_int64=<classmethod at remote
 0xb730d6d4>, hash=<function at remote 0xb7307d4c>, get_uint32=<function at
 remote 0xb7307ca4>, new_objv=<classmethod at remote 0xb730d764>,
 get_uint16=<function at remote 0xb7307c6c>, get_byte=<function at remote
 0xb7307844>, compare=<function at remote 0xb7307684>, get_int16=<function
 at remote 0xb7307a04>, new_handle=<classmethod at remote 0xb730d644>,
 get_int32=<function at remote 0xb7307a3c>, is_normal_form=<function at
 remote 0xb7307df4>, get_type=<function at remote 0xb7307bfc>,
 check_format_string=<function at remote 0xb7307614>, get_handle=<function
 at remote 0xb73079cc>, __dict__=<getset_descriptor at remote 0xb730c02c>,
 dup_objv=<fun...(truncated), locals=locals at entry=
     {'GLib': <DynamicGLibModule(_overrides_module=<module at remote
 0xb72dcee4>, _namespace='GLib',
 _introspection_module=<IntrospectionModule(__name__='gi.repository.GLib',
 _namespace='GLib', Variant=<StructMeta(new_fixed_array=<classmethod at
 remote 0xb730d5e4>, new_array=<classmethod at remote 0xb730d494>,
 __module__='gi.repository.GLib', new_int64=<classmethod at remote
 0xb730d6d4>, hash=<function at remote 0xb7307d4c>, get_uint32=<function at
 remote 0xb7307ca4>, new_objv=<classmethod at remote 0xb730d764>,
 get_uint16=<function at remote 0xb7307c6c>, get_byte=<function at remote
 0xb7307844>, compare=<function at remote 0xb7307684>, get_int16=<function
 at remote 0xb7307a04>, new_handle=<classmethod at remote 0xb730d644>,
 get_int32=<function at remote 0xb7307a3c>, is_normal_form=<function at
 remote 0xb7307df4>, get_type=<function at remote 0xb7307bfc>,
 check_format_string=<function at remote 0xb7307614>, get_handle=<function
 at remote 0xb73079cc>, __dict__=<getset_descriptor at remote 0xb730c02c>,
 dup_objv=<fun...(truncated), args=args at entry=0x0,
 argcount=argcount at entry=0, kws=kws at entry=
     0x0, kwcount=kwcount at entry=0, defs=defs at entry=0x0,
 defcount=defcount at entry=0, closure=closure at entry=0x0) at
 /usr/src/debug/Python-2.7.3/Python/ceval.c:3330
 #48 0x42f0a1c4 in PyEval_EvalCode (co=co at entry=0xb7675578,
 globals=globals at entry=
     {'GLib': <DynamicGLibModule(_overrides_module=<module at remote
 0xb72dcee4>, _namespace='GLib',
 _introspection_module=<IntrospectionModule(__name__='gi.repository.GLib',
 _namespace='GLib', Variant=<StructMeta(new_fixed_array=<classmethod at
 remote 0xb730d5e4>, new_array=<classmethod at remote 0xb730d494>,
 __module__='gi.repository.GLib', new_int64=<classmethod at remote
 0xb730d6d4>, hash=<function at remote 0xb7307d4c>, get_uint32=<function at
 remote 0xb7307ca4>, new_objv=<classmethod at remote 0xb730d764>,
 get_uint16=<function at remote 0xb7307c6c>, get_byte=<function at remote
 0xb7307844>, compare=<function at remote 0xb7307684>, get_int16=<function
 at remote 0xb7307a04>, new_handle=<classmethod at remote 0xb730d644>,
 get_in---Type <return> to continue, or q <return> to quit---
 }}}

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/4307#comment:6>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list