[Bugs] #2501 UNSP: ta fail loading project
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Fri Nov 19 17:18:49 EST 2010
#2501: ta fail loading project
------------------------------------------+---------------------------------
Reporter: tonyforster | Owner: walter
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: Turtleart | Version: Unspecified
Severity: Unspecified | Keywords:
Status_field: Unconfirmed | Distribution: Unspecified
Seeta_dev: |
------------------------------------------+---------------------------------
[[0, ["start", 2.0], 195, 140, [null, 3]],
[1, ["userdefined", 0], 339, 268, [4, 2, 8]],
[2, ["number", "1000"], 397, 268, [1, null]],
[3, "forever", 195, 182, [0, 4, null]],
[4, "if", 278, 200, [3, 5, 1, null]],
[5, ["less2", 0], 325, 166, [4, 7, 6, null]],
[6, ["number", "3000"], 371, 208, [5, null]],
[7, "resistance", 371, 166, [5, null]],
[8, ["userdefined", 0], 339, 310, [1, 9, null]],
[9, ["number", "1100"], 397, 310, [8, null]],
[-1, ["turtle", "Tony"], 0, 0, 0, 0, 50, 5]]
File "/usr/bin/sugar-activity", line 21, in <module>
main.main()
File "/usr/lib/python2.6/site-packages/sugar/activity/main.py", line
152, in main
create_activity_instance(activity_constructor, activity_handle)
File "/usr/lib/python2.6/site-packages/sugar/activity/main.py", line 37,
in create_activity_instance
activity = constructor(handle)
File "/home/olpc/Activities/TurtleArt.activity/TurtleArtActivity.py",
line 125, in __init__
self._setup_canvas(canvas)
File "/home/olpc/Activities/TurtleArt.activity/TurtleArtActivity.py",
line 917, in _setup_canvas
self.read_file(self._jobject.file_path)
File "/home/olpc/Activities/TurtleArt.activity/TurtleArtActivity.py",
line 974, in read_file
self.tw.load_files(file_path, run_it)
File "/home/olpc/Activities/TurtleArt.activity/TurtleArt/tawindow.py",
line 2262, in load_files
self._check_collapsibles(self.process_data(data_from_file(ta_file)))
File "/home/olpc/Activities/TurtleArt.activity/TurtleArt/tawindow.py",
line 1138, in process_data
blocks.append(self.load_block(blk, offset))
File "/home/olpc/Activities/TurtleArt.activity/TurtleArt/tawindow.py",
line 2343, in load_block
self.load_python_code_from_journal(datastore.get(value), blk)
File "/usr/lib/python2.6/site-packages/sugar/datastore/datastore.py",
line 289, in get
if object_id.startswith('/'):
AttributeError: 'int' object has no attribute 'startswith'
Exited with status 1, pid 818 data (None, <open file '<fdopen>', mode 'w'
at 0x9489de0>, dbus.ByteArray('f0fcc734fea62c1312c5934bb771a5d5efcec1ff',
variant_level=1))
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/2501>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list