Re: Tcl script fails on some platforms



Ah, okay, I think I'm beginning to understand. So if I include the
line

puts "\$\:\:session is set to $::session"

here -

puts "Okay, the image filename wasn't blank"
# add the image to the current session
* puts "\$\:\:session is set to $::session"
$::session addImage $l_image_file
puts "but the code doesn't seem to have reached here"

On my box (and all others that I have access to!) I get -

Okay, the image filename wasn't blank
$::session is set to ::Controller::session0
check that this is actually being called
but the code doesn't seem to have reached here

So it should be straightforward to send this to my users and let them
see what the result is.

What confuses me (and worries me slightly) is that I have around 750
users and fewer than
0.5% report this problem. If it's a problem in the code I'd expect to
see a higher error-rate, but if it's a problem with their installation
of either my code or their copy of TclTk I'd also expect a higher
error-rate. By the way, the only user who has reported this and has
tried on a second machine has the code working fine on the other
machine.

Debugging by remote control is *hard*!

Many thanks...

.



Relevant Pages