Questions tagged [activetcl]

1

votes
1

answer
1.5k

Views

ActiveTCL - Unable to run a batch file from an Expect Script

I was originally trying to run an executable (tftpd32.exe) from Expect with the following command, but for some unknown reason it would hanged the entire script: exec c:/tftpd32.351/tftpd32.exe So, decided to call a batch file that will start the executable. I tried to call the batch file with the f...
atomicluis
1

votes
1

answer
2.2k

Views

TCL / Expect Scripting - Using a conditional statement to attempt a secondary login password

I am very close to finish a TCL/TK app that logs into a Cisco Access Point via a serial connection (RS232} and gives it an IP address (very basic) However, I would like my script to attempt a secondary password if the first one fails This is how the Cisco CLI behaves with a serial connection when th...
atomicluis
1

votes
2

answer
471

Views

Tkinter keeps crashing on Tk() on Mac

I've encountered a problem while attempting to create a Tkinter window using root = tk.Tk() . Every time I get to that point, the program crashes, and 'Python quit unexpectedly' message is displayed. I get no tracebacks at all, so I assume that is the ActiveTcl bug. However, I have the new distribut...
altskop
1

votes
1

answer
0

Views

Getting Python to use the ActiveTcl libraries

Is there any way to get Python to use my ActiveTcl installation instead of having to copy the ActiveTcl libraries into the Python/tcl directory?
Matt Gregory
1

votes
2

answer
216

Views

Free TCL IDE for Solaris [closed]

I have been using ActiveTCL on my windows desktop, but now I have a Solaris workstation, and I need a new IDE. I am a student, so the business edition of ActiveTCL is not an option. Are there any free TCL solutions for Solaris?
relisher
0

votes
0

answer
3

Views

Compiled Perl (with ActiveTCL) won't run on some Windows 10

I am at a complete loss and am hoping someone could provide at least a hint... I wrote a (Strawberry) Perl program that uses ActiveTCL to create a GUI interface. I then 'compiled' it using pp on my Windows 10 Pro system and sent it to a friend. When he tried to run it, his Win 10 Pro system put up a...
Colin Wu
1

votes
3

answer
1k

Views

Interfacing zlib with ActiveTcl 8.5?

I'm trying to use the zlib extension in ActiveTcl 8.5 in order to save out a compressed blob to a file. Both ActiveTcl 8.5.5 and 8.5.6 on win32 have a zlibtcl 1.2.3 extension. I've tried both: package require zlibtcl and load zlibtcl123.dll Which both seem to indicate that the extension is proper...
erichui
1

votes
1

answer
3.5k

Views

How well can IDLE be used without agreeing to ActiveState's ActiveTcl 8.6 license?

I am using IDLE for Python 3.2.5 on MAC OS 10.9, and when I open IDLE, it says WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable. Visit http://www.python.org/download/mac/tcltk/ for current information. When I go to that site, the OS X 10.9 instructions direct me to install ActiveTcl fro...
3

votes
0

answer
747

Views

TclError/Install error from Tcl

I just got Tkinter work on my OSX 10.8.4 with Python 2.7.5 installed with Anaconda. I can now import Tkinter with import Tkinter or from Tkinter import * and it seems to work (no error message). Now I try to create a display. I do : window = Tk() and at this point I get : TclError...
Geo
2

votes
1

answer
170

Views

Tkinter instantiation fails in Python 3.3.1 on OS X 10.8

I was trying to start my new project with Tkinter in Python 3.3.1. So I installed ActiveTcl 8.5.13, as that seems to be required. Now I run this simple test script; import sys from tkinter import * mGui = Tk() # Instantiate the Tkinter object Yet, the Tk() instance can't be found; iMac2011:Desktop a...
2

votes
2

answer
83

Views

Additional “2000” String ([32 30 30 30] bytes) at the beginning of a file

I have a really strange issue and I cannot find the solution. I have a simple test servlet that stream a small pdf file in the response: public class TestPdf extends HttpServlet implements Servlet { private static final long serialVersionUID = 1L; public void doGet(HttpServletRequest request, HttpSe...
Luca Dominici
3

votes
3

answer
5.8k

Views

Uninstall Active TCL Mac

I am trying to uninstall Active TCL on my Mac and the provided code from the website does not work. I am receiving errors saying not a directory. When I look into the file path that the code gives me I can manually find but it does not work. Is there any other way to get rid of this? Below is the pr...
user3221720
2

votes
1

answer
668

Views

The version of Tcl/Tk in use may be unstable

When I opened up my python IDLE 2.7 on my mac I received a warning. WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable. Visit http://www.python.org/download/mac/tcltk/ for current information. I installed activetcl as I saw on the python website but I am still getting the warning. Is ther...
user3221720
2

votes
1

answer
2k

Views

Getting error using Tkinter in python on mac OS X

I tried to run a nltk code for drawing parse trees. I got the error that tkinter module is not installed. These are the error messages I got: 1. UserWarning: nltk.draw package not loaded (please install Tkinter library). warnings.warn('nltk.draw package not loaded') 2. import _tkinter # If this fail...
Emad Goahri
1

votes
1

answer
310

Views

How to add data to an element with ActiveState's dom package

In TCL, if you use the DOM package (available in the ActiveState distribution) you can create an xml. set xmlDoc [::dom::create] set root [::dom::document createElement $xmlDoc 'trafficStatistics'] set statElement [::dom::document createElement $root 'Tx_Frames'] ::dom::element setAttribute $statEl...
2

votes
1

answer
129

Views

For Tcl, is there an equivalent to perl's CPAN?

Given that the Tcl Wiki had a page titled 'Why isn't there a Comprehensive Tcl Archive Network like Perl's CPAN?', it seems the short answer to this is 'no'. Is there however someplace with an approximation - web sites, or FTP sites, with tarballs of multiple packages, ideally with older versions? I...
R Perrin
3

votes
1

answer
1.4k

Views

Python 3.2 crashing when I try to save file

Running Mac OSX 10.6.6. I installed python 3.2 last night on my computer. I played with some code in IDLE, but never ended up saving any of my work. This morning, I tried to set up my Interactive Start Up File, as recommended here, but when I save the file as startup.py (or anything really) the ent...
MSey