ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> py2exe-users
py2exe-users
[Py2exe-users] py2exe error blt
by as other posts by this author
Sep 15 2006 2:11AM messages near this date
[Py2exe-users] import error with libxml2 | [Py2exe-users] matplotlib issue
Hello!

I have problem of using a exe file (it did well to make the exe file with py2exe) with the b
lt to make gui programs with graphics with windows. It seems to work well on my computer, bu
t when running the .exe file on another computer I got the message:

Exception in Tkinter callback

Traceback (most recent call last):

File "Tkinter.pyc", line 1345, in __call__

File "SIT_graphics_testing.py", line 910, in next2

File "P:\Forsk\_diverse administrasjon FORSK\SIT New Version by AS\dist2\PmwBlt.py", line 99
, in __init__

TclError: invalid command name "::blt::vector"

Exception _tkinter.TclError: 'invalid command name "::blt::vector"' in 

 

The folder is dist2/tcl/tcl8.4 and tk8.4 and where blt2.4 is under tcl8.4. I use version pyt
hon 2.4 and py2exe 0.6.5 

So is the problem that the path for tcl/tk is not included in the path variable on other com
puters that mine? Do I need to install the python, pmw, blt, tcl/tk on the other computer as
 well?

I have copied pmw.py (made by using bundlepmw.py) and pmwblt.py and pmwcolor.py into the dis
t2 folder in the process of making an exe-file. 

I really hope that someone can help me! 

Agathe Sorflaten

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved