Message 7195 - Python tracker

Message7195

Author mjpieters
Recipients
Date 2004-04-16.09:08:02
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=116747

If the tix8184 DLL cannot be found, this is most likely
because you are running a Python binary with a different
relative path than the bog-standard c:\Python23\python.exe.
For example, the Pythonwin package lives in a site-packages
subdir!

To have Tix work in Pythonwin therefor, you'll have to add
another search path to the tix8.1/pkgIndex.tcl file, one
which uses the correct relative path for the DLLs dir. I added:

  lappend dirs [file join [file dirname [info nameofexe]] ..
.. .. DLLs]

(That's one line, with three ..'s). This'll look for a DLLs
dir 3 directories above the dir of the running binary.
Voila, it now works in Pythonwin as well as in IDLE and in
standalone scripts.

Martijn
History
Date User Action Args
2007-08-23 13:57:00adminlinkissue474836 messages
2007-08-23 13:57:00admincreate