Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5df7738e72ca23d621597c612672c96c0cfb38ca
Ticket: 1913876fffffffffffffffffffffffffffffffff
Get weird error during [chan seek], using [chan create]
User & Date: andreas_kupries on 2008-03-14 05:26:57
Changes

  1. icomment:
    Logged In: YES 
    user_id=75003
    Originator: NO
    
    The reflection layer got an empty string from the Tcl handler you wrote where it expected an integer, so it returned that as an error, and our hackery with the core channel driver code (tip 219 error handling) ensures that you see this error as an err or of 'seek' itself.
    
    So, what does the implementation of 'seek' look like?
    
    Hm ... The last command in the implementation of seek, "return [return $idx($chan)]", looks very very wrong to me. I believe you meant "return $idx($chan)" instead, yes?
    
    
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"