#11890 NORM 12.1.0: Please update Portfolio to Version 24

Zarro Boogs per Child bugtracker at laptop.org
Thu May 24 17:47:40 EDT 2012


#11890: Please update Portfolio to Version 24
--------------------------------------+-------------------------------------
           Reporter:  walter          |       Owner:  mstone       
               Type:  task            |      Status:  new          
           Priority:  normal          |   Milestone:  12.1.0       
          Component:  other-activity  |     Version:  not specified
         Resolution:                  |    Keywords:               
        Next_action:  never set       |    Verified:  0            
Deployment_affected:                  |   Blockedby:               
           Blocking:                  |  
--------------------------------------+-------------------------------------

Comment(by dsd):

 I think we can do better than hardcoding a 5 second sleep during which the
 audio conversion process must finish.
 When testing this I found a bug. A keep error on exit. I think it might be
 due to one of the recent changes.

 {{{
 Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/sugar/activity/activity.py", line
 866, in _prepare_close
     self.save()
   File "/usr/lib/python2.7/site-packages/sugar/activity/activity.py", line
 700, in save
     self.write_file(file_path)
   File "/home/olpc/Activities/Portfolio.activity/PortfolioActivity.py",
 line 697, in write_file
     self._save_descriptions_cb()
   File "/home/olpc/Activities/Portfolio.activity/PortfolioActivity.py",
 line 914, in _save_descriptions_cb
     jobject.metadata['description'] = i.metadata['description']
   File "/usr/lib/python2.7/site-packages/sugar/datastore/datastore.py",
 line 100, in __getitem__
     return self._properties[key]
 KeyError: 'description'
 }}}

 I guess it might be stumbling over saving an entry in my portfolio which
 has no description in the journal.

-- 
Ticket URL: <http://dev.laptop.org/ticket/11890#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list