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

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri Dec 21 04:56: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):

 Replying to [comment:21 godiard]:
 > A little piece failing:
 >
 > TestCase:
 >
 > Go to the journal
 >
 > Select a image
 >
 > Open the palette
 >
 > Select: Copy to -> Clipboard
 >
 > The following error appear in shell.log
 >
 > {{{
 > 1356031402.064596 DEBUG root: get_file asked for entry with id
 dbus.String(u'4f8be51a-4ebd-495e-9937-c49a0d805b3b', variant_level=1)
 > 1356031402.077829 DEBUG root: TempFilePath created
 dbus.String(u'/home/olpc/.sugar/default/data/4f8be51a-4ebd-
 495e-9937-c49a0d805b3b_eO34Rj.png')
 > Traceback (most recent call last):
 >   File "/usr/lib/python2.7/site-packages/jarabe/journal/palettes.py",
 line 316, in __copy_to_clipboard_cb
 >     self.__clipboard_clear_func_cb)
 >   File "/usr/lib/python2.7/site-packages/gi/types.py", line 47, in
 function
 >     return info.invoke(*args, **kwargs)
 > TypeError: set_with_data() takes exactly 5 arguments (4 given)
 > }}}

 Thanks Gonzalo, fixed with:
 http://git.sugarlabs.org/sugar/mainline/commit/c62c8dab72eee975593765d8cabb799da92eb5c7

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


More information about the Bugs mailing list