473,405 Members | 2,334 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Tktable, WinXP and ActiveState Python 2.4.3,x

Hi,
I have a python app that runs fine on MacOS X and Fedora Core 5.

This evening I dragged the folder over to my windows partition and
tried to run the rascal.

The program starts up fine but at the first call to create a Table
object
I get

Traceback (most recent call last):
File
"C:\Python24\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py" ,
line 310, in RunScript
exec codeObject in __main__.__dict__
File "C:\Documents and
Settings\Jerry\Desktop\PyPgBrowseUni\PyPgExplorer. py", line 7, in ?
obj.main()
File "C:\Documents and
Settings\Jerry\Desktop\PyPgBrowseUni\Resources\PyP gBrowse.py", line 72,
in main
self.build_ui( info)
File "C:\Documents and
Settings\Jerry\Desktop\PyPgBrowseUni\Resources\PyP gBrowse.py", line
187, in build_ui
rowtagcommand=self.rowproc
File "C:\Documents and
Settings\Jerry\Desktop\PyPgBrowseUni\Resources\Tkt able.py", line 64, in
__init__
master.tk.call('load', '', 'Tktable' )
TclError: package "Tktable" isn't loaded statically
:

I get the same error if I try to create a Table object from the command
line
in a console.

I tried waving a dead chicken at my laptop but it did no good.

Is there some special magic to get Tktable.py to play nice?
I do have the latest Tcl from Active State loaded on my box and
the Tktable in my Tk programs work well...

Thanks for any insight....

Jerry

May 31 '06 #1
1 2943

je*********@gmail.com wrote:
Hi,
I have a python app that runs fine on MacOS X and Fedora Core 5.

This evening I dragged the folder over to my windows partition and
tried to run the rascal.

The program starts up fine but at the first call to create a Table
object
I get

Traceback (most recent call last):
File
"C:\Python24\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py" ,
line 310, in RunScript
exec codeObject in __main__.__dict__
File "C:\Documents and
Settings\Jerry\Desktop\PyPgBrowseUni\PyPgExplorer. py", line 7, in ?
obj.main()
File "C:\Documents and
Settings\Jerry\Desktop\PyPgBrowseUni\Resources\PyP gBrowse.py", line 72,
in main
self.build_ui( info)
File "C:\Documents and
Settings\Jerry\Desktop\PyPgBrowseUni\Resources\PyP gBrowse.py", line
187, in build_ui
rowtagcommand=self.rowproc
File "C:\Documents and
Settings\Jerry\Desktop\PyPgBrowseUni\Resources\Tkt able.py", line 64, in
__init__
master.tk.call('load', '', 'Tktable' )
TclError: package "Tktable" isn't loaded statically
:

I get the same error if I try to create a Table object from the command
line
in a console.

I tried waving a dead chicken at my laptop but it did no good.

Is there some special magic to get Tktable.py to play nice?
I do have the latest Tcl from Active State loaded on my box and
the Tktable in my Tk programs work well...

Thanks for any insight....

Jerry


Thanks to the good folks at Active State here is a way to use tktable
from Python.

1) Put the wrapper file Tktable.py into C:\Python24\Lib\lib-tk
2) Copy the whole folder C:\Tcl\lib\Tktable* to C:\Python\tcl

Letter Rip....

Thanks Jeff...

Jerry

Jun 1 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: magoldfish | last post by:
Hi, I've installed Python 2.4 on Windows XP and walked through the Alex Martelli ASPN cookbook example at: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66509 This is a recipe for...
5
by: Michele Simionato | last post by:
I have installed Gary Bishop's readline library and Thomas Heller's cypes; I have Python 2.4 ActiveState distribution. When I try to import readline I get the following error: ...
2
by: Ivan Van Laningham | last post by:
Hi All-- I've been using PySol-4.40 for years, because that was the last Windows installer version I could find. My wife's been using it for almost the same length of time. That version's worked...
0
by: Gary Wessle | last post by:
Hi I just finished with 1.5 tutorials about Tkinter, my thought is to use a table "maybe TkTable" to gather info from the user as to what file to chart data from, as well as info provided by the...
0
by: jerry.levan | last post by:
Hi, I am using a Tktable in my python database browser program to hold the results of a query. I have declared an ArrayVar like (IntVar) to hold the table contents. In Tcl/Tk programs I have...
3
by: jerry.levan | last post by:
Hi, I have a Tktable object (self.table) and when I click on a row the whole row is selected. If I click of a button to get the row contents then self.table.curselection() fails with a...
3
by: Jack | last post by:
I'm trying to use urllib to retrieve an https page but I am getting an "unknown url type: https" It seems that ActiveState Python doesn't have SSL support. Any advice?
2
by: Dudeja, Rajat | last post by:
Hi, So, now I've finally started using Eclipse and PyDev as an IDE for my GUI Application. I just wrote some sample programs as an hands on. Now I would like to take up Tkinter. I'm using...
0
by: info | last post by:
Has anyone used Tktable on python 3.0 ?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.