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",...
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", line 103, in del self.tk.call(_vectorCommand, 'destroy',...
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.
I've got a project that uses PMW for tooltips. PMW 2.0.1 just started throwing errors with Collections.callable. PMW 2.1 fixes this, but it's not on PyPi, so I imagine most people aren't aware the update exists. Could you push the new version to PyPi?
Updates for release of Pmw.2.1.
Changes for release of Pmw 2.1.
Minor changes.
Restored release procedure.
Various bug fixes and mods for changes in python3 (string commands,
Adding docsrc directory after removing doc directory.
Border colors conversion to int
I have same issue and wondering if there is a workaround or tip&trick ?
Border colors conversion to int
RadioSelect confuses multiple instances
Use of collections.Callable is a bug in python 3.9
fork with patch applied: https://github.com/schrodinger/pmw-patched
fork with patch applied: https://github.com/schrodinger/pmw-patched
Patch #7 fixes this: https://sourceforge.net/p/pmw/patches/7/
Python3 bug in Pmw.Color
scrollable multi column listbox with images
demo/ScrolledFrame.py: No mouse wheel
mailinglist link dead
demo/HistroyText.py on Python3: no __next__
Screenshots
this is fixed in fixed in pymol rev 4182 https://sourceforge.net/p/pymol/code/4182/
Error when using with Python 3
updated patch
support Python 2 with bundled Pmw-2.0.1
fix Pmw for Python 3.6
I see the same artifact for tcl/tk 8.5.18 and tcl/tk 8.6.4 on x86_64 darwin using...
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...
Dialog_test.py test produces a collapsed window.
One last issues with 'format' exists in the Counter demo... Counter.py: entryfield_validate...
- 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...
See BUG#45
- fixes BUG#45 (the parts which have been indic...
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...
The Tkinter_test.py tests under python 3.4.3 fail with the errors... ('====', 'function...
The Test.py tests under python 3.4.3 fails with the error... Traceback (most recent...
Pmw 2.0.0 EntryField demo crashes on python 3.4.3
The ManualTests.py tests under python 3.4.3 fail with the error... Traceback (most...
The Counter_test.py tests produce the following failures under python 3.4.3... ('====',...
Pmw 2.0.0 shows misc tests failures
Jack, Thanks for the report. There are two different issues there: - the 'format'...
Note that this issue seems to be similar to the one previously reported in https...
The same failures are seen with Pmw 2.0.0 run against python 3.3.6 on x86_64-apple-darwin12...
A similar crash is seen in the HistoryField widget from the All.py demos window under...
Pmw 2.0.0 EntryField demo crashes on python 3.4.3
Thank you for the patience to explain!! It helps me a lot!!
"Active" tabs trigger the raisecommand; inactive ones trigger lowercommand. The functions...
I'm sorry to disturb you once again. I attached a word file to show the rendering...
I'm sorry to disturb you once again. I attached a word file to show the rendering...
Actually I would prefer to leave the discussion here since it might be picked up...
Thank you very much!! In fact ,I need more helps... I want to change the color just...
I replied using the discussion e-mail address but SF seems to be experiencing some...
It seems that there is no options to change the color and the size when created a...
- fix a bug in the date validator ("format" par...
Thank you Greg!
Hi Emma, You can create and configure in one line: myDialog = Pmw.ComboBoxDialog(parent,...
I figured it out. As I suspected, once you know how it is so easy :) For the record,...
Hi all It seems this should be simple, but I've looked through the documentation,...
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....
Good afternoon, Here at ReportLab we have a very old GUI app we wrote using Pmw 12...
Thanks Adrian. I saw the lower case import tkinter in the demos and thought there...
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;...
I don't think Pmw2 will work with python 2.x. I get the following error when I try...