[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Perlscript
. . -> [Subject]  Using Tk with mushclient and perl
Home  |  Users  |  Search  |  FAQ
Register forum user name
Forgotten password?

Using Tk with mushclient and perl

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

Posted by Levine   (1 post)  [Biography] bio
Date Sat 17 Feb 2007 06:42 PM (UTC)
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
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?

[Go to top] 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.


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

Go to topic:           Search the forum

[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]