This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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
-------------------------
History
Date User Action Args
2011-04-05 00:59:08vstinnersetrecipients: + vstinner, ronaldoussoren, gpolo, ned.deily, r.david.murray, BreamoreBoy
2011-04-05 00:59:08vstinnersetmessageid: <1301965148.51.0.6275163466.issue5120@psf.upfronthosting.co.za>
2011-04-05 00:59:05vstinnerlinkissue5120 messages
2011-04-05 00:59:05vstinnercreate