#10165 NORM Not Tri: os125 Record in Video mode does not finish Saving

Zarro Boogs per Child bugtracker at laptop.org
Wed May 19 18:44:00 EDT 2010


#10165: os125 Record in Video mode does not finish Saving
--------------------------+-------------------------------------------------
 Reporter:  Quozl         |                 Owner:               
     Type:  defect        |                Status:  new          
 Priority:  normal        |             Milestone:  Not Triaged  
Component:  not assigned  |               Version:  not specified
 Keywords:                |           Next_action:  never set    
 Verified:  0             |   Deployment_affected:               
Blockedby:                |              Blocking:               
--------------------------+-------------------------------------------------
 After stopping a video recording, the Saving progress bar nearly reaches
 the end and stops, the mouse cursor remains spinning.

 The state can be terminated using Alt/Tab or virtual terminal switching.

 An strace shows an unusual event:
 {{{
 rename("/tmp/mux.ogg",
 "/home/olpc/.sugar/default/org.laptop.RecordActivity/instance/0a523b256b53dd2a85c53891214
 96905b25b747d_1274309534.ogg") = -1 EXDEV (Invalid cross-device link)
 }}}

 Which was logged as:
 {{{
 Traceback (most recent call last):
   File "/home/olpc/Activities/Record.activity/glive.py", line 537, in
 _onMuxedVideoMessageCb
     self.ca.m.saveVideo(self.thumbBuf, str(muxFilepath),
 self.VIDEO_WIDTH_SMALL, self.VIDEO_HEIGHT_SMALL)
   File "/home/olpc/Activities/Record.activity/model.py", line 262, in
 saveVideo
     os.rename( tmpPath,
 os.path.join(Instance.instancePath,recd.mediaFilename))
 OSError: [Errno 18] Invalid cross-device link
 }}}

 The evidence left in /tmp is unlike the behaviour of the ''jbn-testing''
 branch prototype.  There is a new mux.ogg file.

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


More information about the Bugs mailing list