Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d520ed2b735dbeed1b400e50b2075ecdd908004b
Ticket: dcc03414f517b7a74998e606a2d2c3692ccbfef2
open serial port on windows 7 failed
User & Date: oehhar on 2014-10-30 08:23:59
Changes

  1. comment changed to:
    I have a usb-serial port cable [pl2302], enumerated as com3 in my windows 7 box. In interactive tclsh86, I can open com3 with: [open com3: r+] without any problem. But if I save the command to a file: anyname.tcl, for example. and run >tclsh anyname.tcl it will give: couldn't open "com3:": no such file or directory ...
    
        I tried tcl85, same problem. but There is no problem with tclsh84.
    
  2. icomment:
    Hi Ill,
    
    well, the initial issue was similar to yours and the now reverted patch is IMHO a good thing.
    We have to find out why it fails when run with a script and not when run interactively.
    
    So, no direct revert I suppose, sorry.
    The fix was delivered by another person. I will try to contact him and get direct communication.
    
    As serial com adapter drivers tend to be buggy and often do not supporte the full serial api (no control lines etc), it would be helpful to know the type of the adaptor and the driver version. Due to this fact, only you can test, sorry.
    
    Thank you,
    Harald
    
  3. login: "oehhar"
  4. mimetype: "text/plain"
  5. username: "oehhar"