Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a88c2555fe4a9f838f625a25366a83df6e4a47df
Ticket: 1943546fffffffffffffffffffffffffffffffff
Strangely failing [puts]
User & Date: andreas_kupries on 2008-04-17 00:22:50
Changes

  1. icomment:
    Logged In: YES 
    user_id=75003
    Originator: NO
    
    Testing this on Linux (SuSe 9), confirmed.
    
    Notes:
    * Adding a \t to the puts seems to prevent the error, but also seems to cause an infinite loop.
    * Printing information in a separate puts has no influence on either, allowing us to monitor the various variables.
    * Adding \t does cause infinite loop, with $i reaching '2.0' and then staying there forever.
    * Without the \t the reported error occurs when $i is 1.63. This seems to coincide with the a-umlaut character (The char after 'pitki').
    
    ... It seems that the infinite loop is just a bad end condition
    ... xi = 1.0, 'xi display lineend' comes back as 1.0 as well, and that value is never reached by the loop (starts at 1.82, drops to 1.1, then increments to either 1.63 for error, or 2.0 without).
    
    * I managed to reduce the string, use 'M a-umlaut u', i.e. just 3 chars, and that is good enough. Having the a-umlaut as first char, or only two chars, i.e. without u makes the problem go away.
    
    I am suspecting that it is less in puts, and more something in the text widget creating a bad internal string.
    
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"