[Bugs] #3361 Physics UNSP: Physics: grab objects crashes the activity

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon May 7 21:51:46 EDT 2012


#3361: Physics: grab objects crashes the activity
------------------------------------------+---------------------------------
    Reporter:  manuq                      |          Owner:  garycmartin                
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Physics                    |        Version:  Git as of bugdate          
    Severity:  Unspecified                |       Keywords:  12.1.0                     
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
Changes (by humitos):

 * cc: humitos (added)


Comment:

 OK, I found a solution. I have no idea why it works :) , I didn't research
 too much about the Elements and Box2D libraries but this patch could be
 tested and understood by others.

 I just remove {{{.getAsType()}}} in the line that fails from the Elements
 library.

 These are the steps to apply this patch:
  1. unzip Elements-0.13-py2.5.egg
 {{{
 cd physics/lib
 unzip Elements-0.13-py2.5.egg
 }}}
  1. download the patch from this ticket
  1. apply the patch
 {{{
 patch -p0  < Elements-0.13-py2.5.egg.patch
 }}}

 That's all. Run the activity again and try this new patch.

 I tested this in XO 1.5 and 1.75 both with os9 and it works properly.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3361#comment:12>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list