#4872 HIGH Never A: Memorize doesn't start under Rainbow 0.7.4

Zarro Boogs per Child bugtracker at laptop.org
Tue Nov 13 12:25:02 EST 2007


#4872: Memorize doesn't start under Rainbow 0.7.4
-------------------------------+--------------------------------------------
 Reporter:  murielgodoi        |       Owner:  murielgodoi   
     Type:  defect             |      Status:  new           
 Priority:  high               |   Milestone:  Never Assigned
Component:  memorize           |     Version:                
 Keywords:  memorize, rainbow  |    Verified:  0             
-------------------------------+--------------------------------------------
 In my b4 running Q2D03/joyride 262, tempfile returns 'No such file or
 directory 'usr/share/activities/Memorize,activity/instance/tmp03h95p'
 inactive allocs returned to freespace.


 -------- complete log -------------
 Traceback (most recent call last):
   File "/usr/bin/sugar-activity", line 147, in <module>
     create_activity_instance(constructor, handle)
   File "/usr/bin/sugar-activity", line 44, in create_activity_instance
     activity = constructor(handle)
   File "/usr/share/activities/Memorize.activity/activity.py", line 175, in
 __init__
     self.game.load_game(game_file, 4, 'demo')
   File "/usr/share/activities/Memorize.activity/game.py", line 95, in
 load_game
     if self.model.read(game_name) == 0:
   File "/usr/share/activities/Memorize.activity/model.py", line 126, in
 read
     temp_folder = tempfile.mkdtemp(dir=tmp_root)
   File "/usr/lib/python2.5/tempfile.py", line 328, in mkdtemp
     _os.mkdir(file, 0700)
 OSError: [Errno 2] No such file or directory:
 '/usr/share/activities/Memorize.activity/instance/tmp03h95P'
 inactive allocs returned to freespace


 --------- complete log end ---------

 Maybe I got wrong the right instance folder location and use. Memorize is
 using instance folder to decompress the game file. For that is needed
 create subfolders.

 Is there some restriction about subfolders or size allocated in instance
 folder? Which is the right location?

 mstone, could you give me some directions?

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



More information about the Bugs mailing list