Tk Library Source Code

View Ticket
Login
Ticket UUID: 1285549
Title: comm 4.2.1 doesn't work on Tk8.3.4
Type: Bug Version: None
Submitter: kgsf05 Created on: 2005-09-09 03:10:00
Subsystem: comm Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2005-10-22 09:20:23
Resolution: Out of Date Closed By: sf-robot
    Closed on: 2005-10-22 02:20:23
Description:
Upgrading from tcllib1.3 to tcllib1.7 includes an upgrade 
from comm-4.0 to comm-4.2.1. 

Under tcl/tk 8.3.4 comm-4.0 works fine but comm-4.2.1 
does not.

The doco for comm says it requires 8.2.

To test this try the following under 8.3.4

Pre-conditions:
  Both versions of comm are somewhere in
  your auto-path. What I have done is install
  tcllib-1.3, copy tcllib/comm to a temp location
  as comm-1.3. Then uninstall tcllib-1.3 and install
  tcllib-1.7. Copy comm-1.3 back to tcllib/

Test:
 1) Open two wish shells
 2) In both: package require -exact comm 4.0 -> 4.0
 3) In one: comm::comm self -> <id>
 4) In the other: comm::comm send <id> puts fred
    --> "fred" appears in console of first shell.

 Now repeat this but use this alternate step 2:
 2) In both: package require comm -> 4.2.1

 The outcome in the second case is that nothing
 happens.
User Comments: sf-robot added on 2005-10-22 09:20:23:
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

kgsf05 added on 2005-10-04 15:28:32:
Logged In: YES 
user_id=1341876

OK, thanks for investigating and explaining. I will try to 
schedule time to attempt an upgrade to 8.3.5. In the 
meantime I will have to install comm4.0 in parallel with
comm4.2 and load that version explicitly when running under 
8.3.4.

andreas_kupries added on 2005-10-04 03:15:38:
Logged In: YES 
user_id=75003

I understand, however from my perspective it is a quite
likely a bug in the tcl core tripping comm, seeing that
8.3.4 does not work, yet 8.3.5 does, with comm unchanged
between the two. And that is something which is difficult to
impossible to work around.

kgsf05 added on 2005-10-03 05:46:55:
Logged In: YES 
user_id=1341876

I understand it doesn't happen under tclsh in 8.3.5
but that's not the environment I have to support, which is
wish 8.3.4.

When I get a chance I can try upgrading to 8.3.5 but it won't
be soon.

andreas_kupries added on 2005-09-27 07:13:47:
Logged In: YES 
user_id=75003

Using the CVS Head of Tcllib I am unable to reproduce this.
I used Tcl 8.3.5.
I also used tclsh together with vwait, instead of wish.