[Bugs] #1351 HIGH: Fails while removing active Journal objects

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Mon Sep 14 16:14:18 EDT 2009


#1351: Fails while removing active Journal objects
----------------------------+-----------------------------------------------
    Reporter:  alsroot      |          Owner:  tomeu      
        Type:  defect       |         Status:  new        
    Priority:  High         |      Milestone:  0.86       
   Component:  sugar        |        Version:  0.85.x     
    Severity:  Unspecified  |       Keywords:             
Distribution:  Unspecified  |   Status_field:  Unconfirmed
----------------------------+-----------------------------------------------
 |TestCase|
 * resume any non-last Journal entry
 * Erase this entry from Journal
 * Erase next etnry
 * sugar fails with traceback:

 {{{
 Traceback (most recent call last):
   File "/usr/lib64/python2.6/site-packages/jarabe/journal/palettes.py",
 line 142, in __erase_activate_cb
     model.delete(self._metadata['uid'])
   File "/usr/lib64/python2.6/site-packages/jarabe/journal/model.py", line
 452, in delete
     _get_datastore().delete(object_id)
   File "/usr/lib64/python2.6/site-packages/dbus/proxies.py", line 140, in
 __call__
     **keywords)
   File "/usr/lib64/python2.6/site-packages/dbus/connection.py", line 622,
 in call_blocking
     message, timeout)
 dbus.exceptions.DBusException: org.freedesktop.DBus.Python.OSError:
 Traceback (most recent call last):
   File "/usr/lib64/python2.6/site-packages/dbus/service.py", line 702, in
 _message_cb
     retval = candidate_method(self, *args, **keywords)
   File "/usr/lib64/python2.6/site-packages/carquinyol/datastore.py", line
 299, in delete
     os.removedirs(entry_path)
   File "/usr/lib64/python2.6/os.py", line 170, in removedirs
     rmdir(name)
 OSError: [Errno 39] Directory not empty:
 '/home/me/.sugar/default/datastore/1e/1edf89d0-a73e-4694-9227-7b158bfc1627'
 }}}

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/1351>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list