Opened 13 years ago

Closed 11 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)

TurtleArt-104.xo (997.8 KB) - added by walter 13 years ago.
I think this version is pretty robust. Please test.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by walter

I think this version is pretty robust. Please test.

comment:2 Changed 11 years ago by mzepf

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.