Message133001
| Author |
vstinner |
| Recipients |
BreamoreBoy, gpolo, ned.deily, r.david.murray, ronaldoussoren, vstinner |
| Date |
2011年04月05日.00:59:05 |
| SpamBayes Score |
3.7426826e-06 |
| Marked as misclassified |
No |
| Message-id |
<1301965148.51.0.6275163466.issue5120@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
ttk_guionly creates a button (ttk.Button()) which calls _load_tile(), which crashs on: master.tk.eval('package require tile')
Code of the function:
-------------------------
def _load_tile(master):
if _REQUIRE_TILE:
import os
tilelib = os.environ.get('TILE_LIBRARY')
if tilelib:
# append custom tile path to the the list of directories that
# Tcl uses when attempting to resolve packages with the package
# command
master.tk.eval(
'global auto_path; '
'lappend auto_path {%s}' % tilelib)
master.tk.eval('package require tile') # TclError may be raised here
master._tile_loaded = True
------------------------- |
|