LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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


Hello,
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:

Code:
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.4/lib-tk/Tkinter.py", 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/tkFileDialog.py", line 125, in askopenfilename    return Open(**options).show()
  File "/usr/lib/python2.4/lib-tk/tkCommonDialog.py", line 52, in show
    s = w.tk.call(self.command, *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.
 
  


Reply


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-14-2007 11:58 PM
Cannot find Tcl dll ( Perl's Tcl bridge ) Xyem Linux - Software 2 08-08-2006 09:45 AM
Problems running eric3 python IDE j4m2k Linux - Software 1 02-07-2006 10:24 AM
Running eric3 Python IDE adam-red Linux - Software 1 12-18-2004 01:02 PM
Running from Python a browser fiomba Linux - Software 0 11-19-2004 01:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:42 PM.

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