Opened 13 years ago
Closed 10 years ago
#2447 closed defect (fixed)
Turtleart fail gracefully on bad file
Reported by: | tonyforster | Owned by: | walter |
---|---|---|---|
Priority: | Unspecified by Maintainer | Milestone: | Unspecified |
Component: | Turtleart | Version: | Unspecified |
Severity: | Unspecified | Keywords: | |
Cc: | Distribution/OS: | Unspecified | |
Bug Status: | Unconfirmed |
Description
With a bad ta file, skip the bad block and load the rest of the ta file or skip the ta file but still start?
File "/home/olpc/Activities/TurtleArt.activity/TurtleArt/tablock.py", line 366, in _set_label_attributes
n = len(BLOCK_NAMES[self.name])
KeyError: u'cleanr'
TA100 373pyg XO1
Attachments (1)
Change History (3)
comment:1 Changed 13 years ago by walter
comment:2 Changed 10 years ago by mzepf
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
http://git.sugarlabs.org/projects/turtleart/repos/mainline/commits/e074e2e28f6193730757830561ddd551c4b52a19
and
http://git.sugarlabs.org/projects/turtleart/repos/mainline/commits/ddd48d34a05fb540f40fd81c61a25f99f0d7f741
should catch many more of the Value and Key errors that may be associated with bad block descriptions in TA files.
Needs testing.