Questions tagged [activetcl]

ActiveTcl, by ActiveState is a distribution of Tcl and Tk, coupled with a repository of packages/modules.

ActiveTcl, by ActiveState is a distribution of Tcl and Tk, coupled with a repository of packages/modules.

http://www.activestate.com/activetcl

35 questions
4
votes
1 answer

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…
MSey
  • 135
  • 7
3
votes
1 answer

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…
Emad Goahri
  • 51
  • 1
  • 6
3
votes
3 answers

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…
user3221720
  • 89
  • 3
  • 6
3
votes
0 answers

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 =…
Geo
  • 119
  • 1
  • 10
2
votes
2 answers

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 =…
2
votes
3 answers

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…
altskop
  • 311
  • 2
  • 12
2
votes
1 answer

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…
R Perrin
  • 471
  • 3
  • 8
2
votes
1 answer

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…
user3221720
  • 89
  • 3
  • 6
2
votes
1 answer

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,…
user1467267
1
vote
3 answers

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…
erichui
  • 2,761
  • 2
  • 20
  • 20
1
vote
1 answer

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…
Bogdan Gavril MSFT
  • 20,615
  • 10
  • 53
  • 74
1
vote
0 answers

Reading an xml file on localmachine(on which ActiveTCL and expect package is installed) and writing it to a spawned machine

I am trying to read an xml file which is on my local machine and writing it to a spawned process. When I execute the code using puts and gets, the xml file is getting printed on TCl open prompt, but not on the spawned process prompt. So, after…
1
vote
0 answers

Python IDLE Autocomplete and Call Tips No Longer Pop Up

I recently upgraded to Python 2.7.10 on MacOSX Yosemite. I also added a Python 3.4.3 installation. At the time I upgraded Tcl/Tk with ActiveTcl 8.5.18 as was suggested on the Python for MacOSX installation page. There is also an ActiveTcl 8.6…
AMR
  • 584
  • 1
  • 6
  • 16
1
vote
1 answer

Python3 and Tcl/Tk 8.5 on OS X 10.5

On a 10.5 Mac (i386) I’ve install ActivePython-3.1.2.3 and ActiveTcl8.5.17.0 I’ve got a trouble with my script.py and I guess it come from Tcl/Tk invocation. In a terminal : Python3 import tkinter tkinter._test() return me 8.4 version…
Berhu
  • 26
  • 1
1
vote
1 answer

ActiveTcl doesn't show thew the output when used with emacs and oz (Mozart 2)

I have applied for an online course which requires using Mozart with emacs and ActiveTcl. I have installed all of them based on the provided tutorial but when I feed a simple line of code like: {Browse 5+3} All I've got is: {Browse 5+3} %…
Hessam
  • 1,377
  • 1
  • 23
  • 45
1
2 3