[Bugs] #2796 UNSP: paste error

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sat Apr 23 05:14:20 EDT 2011


#2796: paste error
------------------------------------------+---------------------------------
    Reporter:  tonyforster                |          Owner:  walter                     
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Turtleart                  |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 Traceback (most recent call last):
   File "/home/olpc/Activities/TurtleArt.activity/TurtleArtActivity.py",
 line 776, in _paste_cb
     self.tw.paste_offset)
   File "/home/olpc/Activities/TurtleArt.activity/TurtleArt/tawindow.py",
 line 1254, in process_data
     blocks.append(self.load_block(blk, offset))
   File "/home/olpc/Activities/TurtleArt.activity/TurtleArt/tawindow.py",
 line 2554, in load_block
     b[2] + self.canvas.cx + offset,
 TypeError: cannot concatenate 'str' and 'int' objects

 paste data:
 [[0, ["start", 1.5], 79, 158, [null, 63]],
 [1, ["userdefined", "168b9948-90a1-462c-8ff8-0163b060902a"], 817, 645,
 [86, 2, null]],
 [2, ["string", "start"], 861, 645, [1, null]],
 [3, ["userdefined", "168b9948-90a1-462c-8ff8-0163b060902a"], 938, 578,
 [87, 4, null]],
 [4, ["string", "stop"], 982, 578, [3, null]],
 [5, ["userdefined", "168b9948-90a1-462c-8ff8-0163b060902a"], 977, 516,
 [85, 6, null]],
 [6, ["string", "play"], 1021, 516, [5, null]],
 [7, ["userdefined", "ba4277e1-fba9-464e-adf3-ee7c6cb67f89"], 686, 139, [9,
 8, 10]],
 [8, ["number", 100], 730, 139, [7, null]],
 [9, "forever", 620, 125, [21, 7, 22]],
 [10, ["vspace", 0], 686, 171, [7, 11]],
 [11, "if", 686, 203, [10, 12, 71, null]],
 [12, "not", 725, 203, [11, 13]],
 [13, ["equal2", 0], 771, 171, [12, 14, 15, null]],
 [14, "pop", 806, 171, [13, null]],
 [15, ["number", 0], 806, 203, [13, null]],
 [16, "pop", 862, 254, [71, null]],
 [17, "forward", 904, 291, [23, 18, 26]],
 [18, ["number", 50], 980, 291, [17, null]],
 [19, "hat", 620, 61, [null, 20, 21]],
 [20, ["string", "mouse"], 681, 67, [19, null]],
 [21, "sandwichtop_no_arm_no_label", 606, 99, [19, 9]],
 [22, ["sandwichcollapsed", 1], 620, 125, [9, null]],
 [23, "repeat", 838, 246, [28, 24, 17, 25]],
 [24, ["number", 4], 894, 246, [23, null]],
 [25, ["vspace", 0], 838, 305, [23, 29]],
 [26, "right", 904, 323, [17, 27, null]],
 [27, ["number", 90], 954, 323, [26, null]],
 [28, "startfill", 838, 214, [94, 23]],
 [29, "stopfill", 838, 337, [25, 31]],
 [30, "pendown", 838, 150, [32, 94]],
 [31, "penup", 838, 369, [29, 35]],
 [32, ["setxy2", 0], 838, 87, [68, 33, 34, 30]],
 [33, ["number", -100], 897, 87, [32, null]],
 [34, ["number", 0], 897, 119, [32, null]],
 [35, ["setxy2", 0], 838, 401, [31, 36, 37, 38]],
 [36, ["number", 0], 897, 401, [35, null]],
 [37, ["number", 0], 897, 433, [35, null]],
 [38, "pendown", 838, 464, [35, 39]],
 [39, "startfill", 838, 496, [38, 40]],
 [40, "repeat", 838, 528, [39, 41, 42, 46]],
 [41, ["number", 3], 894, 528, [40, null]],
 [42, "forward", 904, 573, [40, 43, 44]],
 [43, ["number", 50], 980, 573, [42, null]],
 [44, "right", 904, 605, [42, 45, null]],
 [45, ["number", 120], 954, 605, [44, null]],
 [46, ["vspace", 0], 838, 587, [40, 47]],
 [47, "stopfill", 838, 619, [46, 48]],
 [48, "penup", 838, 651, [47, 96]],
 [49, ["setxy2", 0], 79, 312, [70, 50, 51, 52]],
 [50, ["number", 100], 138, 312, [49, null]],
 [51, ["number", 20], 138, 344, [49, null]],
 [52, "pendown", 79, 375, [49, 53]],
 [53, "startfill", 79, 407, [52, 54]],
 [54, "repeat", 79, 439, [53, 55, 56, 60]],
 [55, ["number", 20], 135, 439, [54, null]],
 [56, "forward", 145, 484, [54, 57, 58]],
 [57, ["number", 8], 221, 484, [56, null]],
 [58, "right", 145, 516, [56, 59, null]],
 [59, ["number", 18], 195, 516, [58, null]],
 [60, ["vspace", 0], 79, 498, [54, 61]],
 [61, "stopfill", 79, 530, [60, 62]],
 [62, "penup", 79, 562, [61, 64]],
 [63, "sandwichtop_no_arm_no_label", 65, 190, [0, 65]],
 [64, "stack2", 79, 594, [62, 91]],
 [65, "clean", 79, 216, [63, 93]],
 [66, ["sandwichcollapsed", 1], 79, 216, [91, null]],
 [67, "hat2", 838, 29, [null, 68]],
 [68, "sandwichtop_no_arm_no_label", 824, 61, [67, 32]],
 [69, ["sandwichcollapsed", 1], 838, 87, [96, null]],
 [70, "penup", 79, 280, [93, 49]],
 [71, "storeinbox1", 735, 254, [11, 16, 72]],
 [72, "clearheap", 735, 286, [71, 75]],
 [73, "ifelse", 735, 350, [75, 79, 78, 74, null]],
 [74, ["vspace", 0], 856, 401, [73, 76]],
 [75, ["vspace", 0], 735, 318, [72, 73]],
 [76, "ifelse", 856, 433, [74, 83, 77, 85, null]],
 [77, ["vspace", 20], 938, 484, [76, 87]],
 [78, ["vspace", 120], 817, 401, [73, 86]],
 [79, ["greater2", 0], 807, 324, [73, 81, 80, null]],
 [80, ["number", 70], 860, 356, [79, null]],
 [81, "box1", 842, 324, [79, null]],
 [82, "box1", 963, 407, [83, null]],
 [83, ["less2", 0], 928, 407, [76, 82, 84, null]],
 [84, ["number", -30], 981, 439, [83, null]],
 [85, "print", 977, 484, [76, 88, 5]],
 [86, "print", 817, 613, [78, 90, 1]],
 [87, "print", 938, 546, [77, 89, 3]],
 [88, ["string", "playing"], 1027, 484, [85, null]],
 [89, ["string", "stopped"], 988, 546, [87, null]],
 [90, ["string", "recording"], 867, 613, [86, null]],
 [91, "stack", 79, 626, [64, 92, 66]],
 [92, ["string", "mouse"], 140, 626, [91, null]],
 [93, "hideblocks", 79, 248, [65, 70]],
 [94, "setcolor", 838, 182, [30, 95, 28]],
 [95, "black", 921, 182, [94, null]],
 [96, "forward", 838, 683, [48, 97, 69]],
 [97, ["number", 1000.0], 914, 683, [96, null]]

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2796>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list