SigMF icon indicating copy to clipboard operation
SigMF copied to clipboard

SimpleGUI: You cannot Update element with key = Update until the window.read() is called or finalized=True when creating window

Open vogelfreiheit opened this issue 1 year ago • 1 comments

image

/home/user/.local/lib/python3.10/site-packages/PySimpleGUI/PySimpleGUI.py:1699: UserWarning: You cannot Update element with key = Update until the window.read() is called or finalized=True when creating window
  warnings.warn('You cannot Update element with key = {} until the window.read() is called or finalized=True when creating window'.format(self.Key), UserWarning)
No editor has been configured in the global settings
No editor has been configured in the global settings
No editor has been configured in the global settings
No editor has been configured in the global settings
/home/user/.local/lib/python3.10/site-packages/PySimpleGUI/PySimpleGUI.py:1699: UserWarning: You cannot Update element with key = Load Archive until the window.read() is called or finalized=True when creating window
  warnings.warn('You cannot Update element with key = {} until the window.read() is called or finalized=True when creating window'.format(self.Key), UserWarning)
/home/user/.local/lib/python3.10/site-packages/PySimpleGUI/PySimpleGUI.py:1699: UserWarning: You cannot Update element with key = Save Archive until the window.read() is called or finalized=True when creating window
  warnings.warn('You cannot Update element with key = {} until the window.read() is called or finalized=True when creating window'.format(self.Key), UserWarning)

This is happening with latest git sources and current PySimpleGUI.

vogelfreiheit avatar Jul 15 '22 15:07 vogelfreiheit

Can confirm this happening as well. Requires a window.read() before the update call as in the error. One this is added to gui.py it opens fine.

joshbwilliams avatar Jul 26 '22 20:07 joshbwilliams

Had to apply #243 to get sigmf_gui to start. Fedora 37, cloned current repo.

willcode avatar Nov 30 '22 12:11 willcode

Hm... wonder why that was closed. The gui is a bit of a mess right now.

jacobagilbert avatar Nov 30 '22 14:11 jacobagilbert

Yes, it kind of leaves you wondering when it's doing something in the background. I just tried it for the heck of it .

willcode avatar Nov 30 '22 16:11 willcode