Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-17-2006, 10:38 AM   #1
LQ Newbie
Registered: Aug 2006
Posts: 7

Rep: Reputation: 0
problems running textSTAT with python and tcl

I've downloaded a graphic linguistics concordancer program I used on Windows called TextSTAT from the following address. http://www.niederlandistik.fu-berlin...ftware-en.html
after unpacking etc.
To get the program to run, I put myself in the right directory and type python TextSTAT.pyw
From there you first have to create a new corpus, give it a name, and save it. Then you can add files (generally txt files) from web addresses or locally. Now when I click on the "add local files" icon, the following message pops up in the terminal window:

Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.4/lib-tk/", line 1345, in __call__
    return self.func(*args)
  File "TextSTAT.pyw", line 670, in datei_hinzu
    dateinamen = tkFileDialog.askopenfilename(initialdir=cfg['FileDir'], filetypes= (('All', '*.*'),('Text', '*.txt'),('HTML', '*.htm*'),('MS Word', '*.doc'),('OpenOffice 1', '*.sxw'),('OpenOffice 2', '*.odt')), multiple=1)
  File "/usr/lib/python2.4/lib-tk/", line 125, in askopenfilename    return Open(**options).show()
  File "/usr/lib/python2.4/lib-tk/", line 52, in show
    s =, *w._options(self.options))
TclError: expected floating-point number but got "0.0"
...and of course I can't do what I wanted.
I know the question is a little involved and exotic, but TextSTAT is a very useful program for a linguistics researcher, and if I can get it up and running on Linux for me that would be great.
Any help much appreciated.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problems installing Tk (of Tcl/Tk) Arild2 Linux - Software 2 12-15-2007 12:58 AM
Cannot find Tcl dll ( Perl's Tcl bridge ) Xyem Linux - Software 2 08-08-2006 10:45 AM
Problems running eric3 python IDE j4m2k Linux - Software 1 02-07-2006 11:24 AM
Running eric3 Python IDE adam-red Linux - Software 1 12-18-2004 02:02 PM
Running from Python a browser fiomba Linux - Software 0 11-19-2004 02:24 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration