Closed reverdead closed 1 year ago
Fixed. I removed the get_wm_info() call and application now runs along with the control box.
Before:
if self.platform != 'osx': extra_params1 += ['--drawable-hwnd' if self.platform == 'windows' else '--drawable-xid'], hex(pygame.display.get_wm_info()['window'])]
After:
if self.platform != 'osx': extra_params1 += ['--drawable-hwnd' if self.platform == 'windows' else '--drawable-xid']
I haven't noticed any issues to functionality with the removal.
Problem:
Getting KeyError: 'window' trace error message and no playback occurs.
Snippet Trace:
Getting the following trace error when trying to add any songs. It appears error occurs when pikaraoke is trying to queue load and auto play the song (affecting both local songs and downloaded songs)
Full Console Logging:
Screenshots of Behaviour/ Reproduce:
Home Screen at first launch (this is before loading any songs for playback):
If I happen to have the Home page loaded in a browser tab already, then I add a song (local or downloaded), it will correctly identify the Next Song:
But if I reload an existing page and or load any subsequent URL calls to the Home page will have no controls/ text:
If I reload the Home screen (F5), there's a brief period when the html control box and notification bar at the bottom will appear, before it vanishes and returns to the same screen with no controls/ text: