Skip to content
Tcl Source Code History Of Ticket 1929060fffffffff
Login

History Of Ticket 1929060fffffffff

Artifacts Associated With Ticket 1929060fffffffff

  1. Ticket change [fe64c2bfc4] (rid 108581) by andygoth on 2008-03-30 01:18:05:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Run the following two commands in a fresh tclsh:
      
      % clock format 0 -format "%D %H:%M:%S"
      % clock scan "01/01/1970 00:00:00"\
         -format "%m/%d/%Y %H:%M:%S"
      
      The following error is returned:
      
      input string does not match supplied format
          while executing
      "$scanner $string $base $timezone"
          (procedure "::tcl::clock::scan" line 82)
          invoked from within
      "clock scan "01/01/1970 00:00:00"\
         -format "??/??/210 H:M:0x00000000""
          ("uplevel" body line 1)
          invoked from within
      "uplevel #0 clock\ scan\ \"01/01/1970\ 00:00:00\"\\\n\ \ \ -format\ \"??/??/210\ H:M:0x00000000\""
      
      Now start another tclsh and run the following three commands:
      
      % clock scan "01/01/1970 00:00:00"\
         -format "%m/%d/%Y %H:%M:%S"
      % clock format 0 -format "%D %H:%M:%S"
      % clock scan "01/01/1970 00:00:00"\
         -format "%m/%d/%Y %H:%M:%S"
      
      No error is returned; instead, 21600 is returned, as expected.
      
      It looks like running [clock format] before the first [clock scan] can potentially screw up the internal state of the [clock] command.
      
      This problem was originally discovered by Peter Turner.  His email address is similar to Peter.Turner@com!forthc  .  He experienced it when using my timebox command, found at http://andy.junkdrome.org/devel/timebox/ .
      
    4. foundin initialized to: "obsolete: 8.5.2"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "andygoth"
    10. subsystem initialized to: "16. Commands A-H"
    11. title initialized to: "[clock scan] gets confused by [clock format]"
    12. type initialized to: "Bug"
  2. Ticket change [68503ce998] (rid 103045) by dkf on 2008-03-30 09:09:52:

    1. subsystem changed to: "06. Time Measurement"
  3. Ticket change [6fcc1786e3] (rid 100372) by dkf on 2008-03-30 09:09:53:

    1. assignee changed to: "kennykb"
  4. Ticket change [baca9d6338] (rid 129377) by kennykb on 2008-03-30 10:13:36:

    1. icomment:
      Logged In: YES 
      user_id=99768
      Originator: NO
      
      Can you verify that you're actually running one of 
      the 8.5.2 release candidates? Your symptoms appear to
      duplicate [Bug 1902423], for which a fix went it on
      2008-02-27.  I see the described behaviour in 8.5.0,
      but cannot reproduce it in either 8.5.2rc3 or the HEAD.
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  5. Ticket change [6cbb8b84bb] (rid 128569) by kennykb on 2008-03-30 10:13:37:

    1. closedate changed to: "2008-03-30T03:13:37"
    2. closer changed to: "kennykb"
    3. resolution changed to: "Duplicate"
    4. status changed to: "Pending"
  6. Ticket change [17419d8162] (rid 122456) by pgturner on 2008-03-30 20:39:15:

    1. icomment:
      Logged In: YES 
      user_id=1042572
      Originator: NO
      
      Apparently not.  I, for one, am using ActiveTcl8.5.1.0.284069-win32-ix86-threaded.exe.  Behavior and patchlevel are same in WinTclTk-8.5.1.exe.
      
      patchlevel returns 8.5.1
      
      I certainly can wait for distributions to catch up.
      
      
    2. login: "pgturner"
    3. mimetype: "text/plain"
    4. username: "pgturner"
  7. Ticket change [5ee4650cd9] (rid 115713) by andygoth on 2008-03-31 01:14:39:

    1. closedate changed to: "2008-03-30T18:14:39"
    2. closer changed to: "andygoth"
    3. icomment:
      Logged In: YES 
      user_id=8653
      Originator: YES
      
      I just upgraded to today's CVS, and the problem went away.
      
      My patchlevel before was 8.5.1b1 or similar.  I thought I was doing a better job of keeping up-to-date.  I guess not.
      
      
    4. login: "andygoth"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "andygoth"