#4422 BLOC First D: Record doesn't open in joyride

Zarro Boogs per Child bugtracker at laptop.org
Tue Oct 23 20:31:16 EDT 2007


#4422: Record doesn't open in joyride
------------------------------+---------------------------------------------
  Reporter:  kimquirk         |       Owner:  erikb                 
      Type:  defect           |      Status:  new                   
  Priority:  blocker          |   Milestone:  First Deployment, V1.0
 Component:  camera-activity  |     Version:                        
Resolution:                   |    Keywords:                        
  Verified:  0                |  
------------------------------+---------------------------------------------
Changes (by marco):

  * owner:  jg => erikb
  * component:  distro => camera-activity


Comment:

 Looks like a camera-activity bug, triggered by the fact that now sugar cwd
 into the bundle directory when starting an activity.

 {{{

 self.tempPath = os.path.join("tmp", "Record_"+str(self.instanceId))

 }}}

 I guess you didn't actually want to create a tmp dir inside the current
 directory. (just forgot the slash there?). If you actually want /tmp make
 sure to consider the implications of tmpfs. Also perhaps you should just
 use mkdtemp if that's the case.

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



More information about the Bugs mailing list