Solved the issue - you're missing the BLT extension for Tcl (https://wiki.tcl-lang.org/page/BLT) to be able to use BLT. Since Python3 comes pre-packaged with Tcl 8.6 you'll need TkBLT (or some other fork that's compatible - http://sourceforge.net/projects/tkblt/ ) - unfortunately, they only provide source code which will require manually compiling and adding that package so it can be found. Other than this basic info there's not much I can help you with.
Having trouble reproducing this - I grabbed the mentioned example, changed Tkinter to tkinter for Python 3 compatibility but the example flows correctly under Python 3.10.4 - I did see such errors thrown when combined with other functions (i.e. input() ) but some example code and the Tcl/Tk version (using 8.6, maybe changed with Python 3.11?) would definitely help.
Hello! Sorry about the late response, I've been away from the Internet for some time. I'll try to investigate this - in the meantime, I moved the discussion over to https://sourceforge.net/p/pmw/discussion/131281/thread/c64f0c46a5/#877d - if you could provide me with the exact sample code over there (if it's something small and simple), that would be great.
Moving discussion from https://sourceforge.net/p/pmw/discussion/131281/thread/cf03cc28/#3604 here. I am using python 3.11.3. I am building a stock market package in python. I need menus in that package. For creating menus I want to use PMW package with tinker. To try my first steps, I used the code snippet at https://www.slac.stanford.edu/grp/cd/soft/pmw/blt/python/html/HelloBLT.html When I ran this script, I am getting this error: "Traceback (most recent call last): File "D:\PYTHON_3.11.3\Lib\site-packages\Pmw\Pmw_2_1_1\lib\PmwBlt.py",...
Hello, Just pushed a new version to https://pypi.org/project/Pmw/2.1.1/. Please check if it solves the problem - the version string bump is just a bad on my part since I failed to correctly upload the first time :)
Version bumps and classifier cleaning for pypi upload.
Fix for Python 3.9 when running tests.
Hello, Sorry about the late reply. I'm currently looking into fixing this issue - hopefully today, if not, in the next couple of days. I'll let you know as soon as I've uploaded the updated file.
Jack, I can't seem to be able to reproduce this one. I'll try to install a couple...
These issues should have been solved by the package I uploaded yesterday but that...
- fixes maketar.py to use the new PyPi-compatib...
Pmw 2.0.0 EntryField demo crashes on python 3.4.3
Fixed in 2.0.1-alpha
Pmw 2.0.0 shows misc tests failures
Fixed in 2.0.1-alpha
- updates details for package publish
Tkinter_test is very old and is skipped by default in all.py; the comments inside...
- fixes BUG#45 (the parts which have been indic...
See BUG#45
These seem to be side-effects of the switch to Tkinter 8.6 made in Python 3.4; I'll...
The format option was fixed in https://sourceforge.net/p/pmw/hg/ci/d533281b5eb93351b6cffb79f43cd9eed784dfbb;...
- fixes a bug in the HistoryText demo (used inc...
Pmw 2.0.0 EntryField demo crashes on python 3.4.3
Jack, Thanks for the report. There are two different issues there: - the 'format'...
"Active" tabs trigger the raisecommand; inactive ones trigger lowercommand. The functions...
Actually I would prefer to leave the discussion here since it might be picked up...
I replied using the discussion e-mail address but SF seems to be experiencing some...
- fix a bug in the date validator ("format" par...
pypi support
PyPi package created from the ReportLab version. Added to PyPi.
- adds first Mercurial version
I've adapted the new package style today. It's been released as the new default download....
Ron, Pmw2 is the Python 3 version of Pmw - other than that, there's no great difference...
In order to use Python Megawidgets with Python 2.x, you'll have to download Pmw 1;...