You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux
Arch Linux (rolling)
[home]$ uname -r
6.0.9-arch1-1
PySimpleGUI Port (tkinter, Qt, Wx, Web)
tkinter
Versions
Version information can be obtained by calling sg.main_get_debug_data()
Or you can print each version shown in ()
Python version: 3.10.8 (main, Nov 1 2022, 14:18:21) [GCC 12.2.0]
port: tkinter
tkinter version: 8.6.12
PySimpleGUI version: 4.59.0
PySimpleGUI filename: .local/lib/python3.10/site-packages/PySimpleGUI/PySimpleGUI.py
Python version (sg.sys.version)
Python 3.10.8 '3.10.8 (main, Nov 1 2022, 14:18:21) [GCC 12.2.0]'
PySimpleGUI Version (sg.__version__)
4.59.0
GUI Version (tkinter (sg.tclversion_detailed), PySide2, WxPython, Remi)
tkinter 8.6.12
Your Experience In Months or Years (optional)
Years Python programming experience
5+ - but solving problems not as a main job!
Years Programming experience overall
10+
Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)
No - [actually I gave up on tkinter on a project in 2009]
Anything else you think would be helpful?
Not urgent for me
On running:
[DemoPrograms]$ python Demo_All_Elements_Simple.py
it fails with trace reproduced in details below,
Please note that the slightly older Demo_All_Elements.py does work (does not include the sg.theme_use_custom_titlebar() call)
Troubleshooting
These items may solve your problem. Please check those you've done by changing - [ ] to - [X]
[ X] Looked for Demo Programs that are similar to your goal. It is recommend you use the Demo Browser! Demos.PySimpleGUI.org
If not tkinter - looked for Demo Programs for specific port
For non tkinter - Looked at readme for your specific port if not PySimpleGUI (Qt, WX, Remi)
[ X] Run your program outside of your debugger (from a command line)
[ X] Searched through Issues (open and closed) to see if already reported Issues.PySimpleGUI.org
[ X] Have upgraded to the latest release of PySimpleGUI on PyPI (lastest official version)
Tried using the PySimpleGUI.py file on GitHub. Your problem may have already been fixed but not released
Detailed Description
[DemoPrograms]$ python Demo_All_Elements_Simple.py
Traceback (most recent call last):
File "/home/kevin/Downloads/PySimpleGUI-master/DemoPrograms/Demo_All_Elements_Simple.py", line 83, in
window = make_window()
File "/home/kevin/Downloads/PySimpleGUI-master/DemoPrograms/Demo_All_Elements_Simple.py", line 71, in make_window
[sg.Checkbox('Use Custom Titlebar & Menubar', sg.theme_use_custom_titlebar(), enable_events=True, k='-USE CUSTOM TITLEBAR-')],
AttributeError: module 'PySimpleGUI' has no attribute 'theme_use_custom_titlebar'
Exception ignored in: <function Output.del at 0x7f58292eec20>
Traceback (most recent call last):
File "/home/kevin/.local/lib/python3.10/site-packages/PySimpleGUI/PySimpleGUI.py", line 4284, in del
self._TKOut.del()
AttributeError: 'NoneType' object has no attribute 'del
Running the Demo_All_Elements_Simple.py produces this traceback:
[DemoPrograms]$ python Demo_All_Elements_Simple.py
Traceback (most recent call last):
File "/home/kevin/Downloads/PySimpleGUI-master/DemoPrograms/Demo_All_Elements_Simple.py", line 83, in
window = make_window()
File "/home/kevin/Downloads/PySimpleGUI-master/DemoPrograms/Demo_All_Elements_Simple.py", line 71, in make_window
[sg.Checkbox('Use Custom Titlebar & Menubar', sg.theme_use_custom_titlebar(), enable_events=True, k='-USE CUSTOM TITLEBAR-')],
AttributeError: module 'PySimpleGUI' has no attribute 'theme_use_custom_titlebar'
Exception ignored in: <function Output.del at 0x7f58292eec20>
Traceback (most recent call last):
File "/home/kevin/.local/lib/python3.10/site-packages/PySimpleGUI/PySimpleGUI.py", line 4284, in del
self._TKOut.del()
AttributeError: 'NoneType' object has no attribute 'del'
Code To Duplicate
I attempted to run the Demo program as above - I made no amendments to it
A short program that isolates and demonstrates the problem (Do not paste your massive program, but instead 10-20 lines that clearly show the problem)
This pre-formatted code block is all set for you to paste in your bit of code:
# Paste your code here
Screenshot, Sketch, or Drawing
Watcha Makin?
If you care to share something about your project, it would be awesome to hear what you're building.
I'm trying to add a front end to help me filter elements in creating time series data on prescribing, from a massive database.
The text was updated successfully, but these errors were encountered:
jason990420
changed the title
[ Enhancement/Bug/Question] Possible BUG in underlying codebase or Demo programme Demo_All_Elements.py
[Bug] Possible BUG in underlying codebase or Demo programme Demo_All_Elements.py
Nov 24, 2022
Type of Issue (Enhancement, Error, Bug, Question)
BUG
Operating System
Linux
Arch Linux (rolling)
[home]$ uname -r
6.0.9-arch1-1
PySimpleGUI Port (tkinter, Qt, Wx, Web)
tkinter
Versions
Version information can be obtained by calling
sg.main_get_debug_data()
Or you can print each version shown in ()
Python version: 3.10.8 (main, Nov 1 2022, 14:18:21) [GCC 12.2.0]
port: tkinter
tkinter version: 8.6.12
PySimpleGUI version: 4.59.0
PySimpleGUI filename: .local/lib/python3.10/site-packages/PySimpleGUI/PySimpleGUI.py
Python version (
sg.sys.version
)Python 3.10.8 '3.10.8 (main, Nov 1 2022, 14:18:21) [GCC 12.2.0]'
PySimpleGUI Version (
sg.__version__
)4.59.0
GUI Version (tkinter (
sg.tclversion_detailed
), PySide2, WxPython, Remi)tkinter 8.6.12
Your Experience In Months or Years (optional)
Years Python programming experience
5+ - but solving problems not as a main job!
Years Programming experience overall
10+
Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)
No - [actually I gave up on tkinter on a project in 2009]
Anything else you think would be helpful?
Not urgent for me
On running:
[DemoPrograms]$ python Demo_All_Elements_Simple.py
Please note that the slightly older Demo_All_Elements.py does work (does not include the sg.theme_use_custom_titlebar() call)
Troubleshooting
These items may solve your problem. Please check those you've done by changing - [ ] to - [X]
Detailed Description
[DemoPrograms]$ python Demo_All_Elements_Simple.py
Traceback (most recent call last):
File "/home/kevin/Downloads/PySimpleGUI-master/DemoPrograms/Demo_All_Elements_Simple.py", line 83, in
window = make_window()
File "/home/kevin/Downloads/PySimpleGUI-master/DemoPrograms/Demo_All_Elements_Simple.py", line 71, in make_window
[sg.Checkbox('Use Custom Titlebar & Menubar', sg.theme_use_custom_titlebar(), enable_events=True, k='-USE CUSTOM TITLEBAR-')],
AttributeError: module 'PySimpleGUI' has no attribute 'theme_use_custom_titlebar'
Exception ignored in: <function Output.del at 0x7f58292eec20>
Traceback (most recent call last):
File "/home/kevin/.local/lib/python3.10/site-packages/PySimpleGUI/PySimpleGUI.py", line 4284, in del
self._TKOut.del()
AttributeError: 'NoneType' object has no attribute 'del
Running the Demo_All_Elements_Simple.py produces this traceback:
[DemoPrograms]$ python Demo_All_Elements_Simple.py
Traceback (most recent call last):
File "/home/kevin/Downloads/PySimpleGUI-master/DemoPrograms/Demo_All_Elements_Simple.py", line 83, in
window = make_window()
File "/home/kevin/Downloads/PySimpleGUI-master/DemoPrograms/Demo_All_Elements_Simple.py", line 71, in make_window
[sg.Checkbox('Use Custom Titlebar & Menubar', sg.theme_use_custom_titlebar(), enable_events=True, k='-USE CUSTOM TITLEBAR-')],
AttributeError: module 'PySimpleGUI' has no attribute 'theme_use_custom_titlebar'
Exception ignored in: <function Output.del at 0x7f58292eec20>
Traceback (most recent call last):
File "/home/kevin/.local/lib/python3.10/site-packages/PySimpleGUI/PySimpleGUI.py", line 4284, in del
self._TKOut.del()
AttributeError: 'NoneType' object has no attribute 'del'
Code To Duplicate
I attempted to run the Demo program as above - I made no amendments to it
A short program that isolates and demonstrates the problem (Do not paste your massive program, but instead 10-20 lines that clearly show the problem)
This pre-formatted code block is all set for you to paste in your bit of code:
# Paste your code here
Screenshot, Sketch, or Drawing
Watcha Makin?
If you care to share something about your project, it would be awesome to hear what you're building.
I'm trying to add a front end to help me filter elements in creating time series data on prescribing, from a massive database.
The text was updated successfully, but these errors were encountered: