#4870 BLOC Update.: downloads doesn't finish

Zarro Boogs per Child bugtracker at laptop.org
Wed Nov 14 04:53:41 EST 2007


#4870: downloads doesn't finish
------------------------------+---------------------------------------------
  Reporter:  tomeu            |       Owner:  ApprovalForUpdate
      Type:  defect           |      Status:  new              
  Priority:  blocker          |   Milestone:  Update.1         
 Component:  browse-activity  |     Version:                   
Resolution:                   |    Keywords:                   
  Verified:  0                |  
------------------------------+---------------------------------------------
Changes (by tomeu):

 * cc: tomeu, erikos (added)
  * owner:  erikos => ApprovalForUpdate


Comment:

 This should fix it:

 {{{
 diff --git a/downloadmanager.py b/downloadmanager.py
 index 5e36280..063e66e 100644
 --- a/downloadmanager.py
 +++ b/downloadmanager.py
 @@ -124,6 +124,10 @@ class Download:

          return NS_OK

 +    def onStatusChange(self, web_progress, request, status, message):
 +        logging.info('Download.onStatusChange(%r, %r, %r, %r)' % \
 +            (web_progress, request, status, message))
 +
      def onStateChange(self, web_progress, request, state_flags, status):
          if state_flags == interfaces.nsIWebProgressListener.STATE_START:
              self._create_journal_object()
 }}}

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



More information about the Bugs mailing list