#230 Error inserting a string

Bug_-_Unknown
closed
James Gardner
tpruledev (3)
5
2007-08-14
2007-08-14
No

Trying to insert block...
Trying to use OnInsert function of block
Traceback (most recent call last):
File "/home/tim/oss/tp/tpruledev/src/gui/TpclEditorDialog.py", line 214, in f
tpcl_editor.OnInsert(event, block)
File "/home/tim/oss/tp/tpruledev/src/gui/TpclEditorDialog.py", line 138, in OnInsert
insert_ok = OnInsert(expression)
File "<string>", line 6, in OnInsert
File "/home/tim/oss/tp/tpruledev/src/tpcl/Representation.py", line 596, in SetText
self.template.SetText(index, new_val)
File "/home/tim/oss/tp/tpruledev/src/tpcl/Representation.py", line 159, in SetText
if self.IsPlaintext(index):
AttributeError: 'TpclTemplate' object has no attribute 'IsPlaintext'

Discussion

  • James Gardner
    James Gardner
    2007-08-14

    Logged In: YES
    user_id=1829312
    Originator: NO

    D'oh. Used two names for the same method...can't call it by a different name, eh?

     
  • James Gardner
    James Gardner
    2007-08-14

    • status: open --> closed