I am fairly new to using Tk, but I have been unable to get it to work with mushclient. I have been using perl with mushclient for a while now, and have successfully had other modules to work with it (DBI for example).
When I try to use the Tk module I get this error when I reload my script in mushclient, even with 'use strict' and 'use warnings', this is best error message I can come up with:
[Scripting error]
Error number: -2147467259
Event: Execution of line 1 column 0
Description:
Internal Error
Line in error:
Called by: Immediate execution
This happens even if I have no actual calls to Tk in my script (only a use Tk statement at the top).
I have tested the same code using activestate directly (running perl manually without mushclient's involvement), this works fine, and I have confirmed that it shows a window when requested.
Has anyone been able to get Tk working with mushclient, and if so, can you please provide some kind of sample code so I can see what i'm doing wrong?
There is of course the possibility this is a mushclient bug of some kind, but I can't imagine how that could be. Can anyone confirm this is a bug, or provide me with a way to get more informative error messages?
Thanks
When I try to use the Tk module I get this error when I reload my script in mushclient, even with 'use strict' and 'use warnings', this is best error message I can come up with:
[Scripting error]
Error number: -2147467259
Event: Execution of line 1 column 0
Description:
Internal Error
Line in error:
Called by: Immediate execution
This happens even if I have no actual calls to Tk in my script (only a use Tk statement at the top).
I have tested the same code using activestate directly (running perl manually without mushclient's involvement), this works fine, and I have confirmed that it shows a window when requested.
Has anyone been able to get Tk working with mushclient, and if so, can you please provide some kind of sample code so I can see what i'm doing wrong?
There is of course the possibility this is a mushclient bug of some kind, but I can't imagine how that could be. Can anyone confirm this is a bug, or provide me with a way to get more informative error messages?
Thanks