Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Perlscript ➜ Using Tk with mushclient and perl

Using Tk with mushclient and perl

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Levine   (1 post)  Bio
Date Sat 17 Feb 2007 06:42 PM (UTC)
Message
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
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


11,011 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.