get_ui results in ERROR: could not get idle state. on my Debian 13 GNOME laptop Virtual Machine Manager LineageOS (trust) virtual machine:
![Screenshot_LineageOS_22.2_trust_2025-12-31_15:0…
exiftool *Warning* *Invalid EXIF text encoding for UserComment* if specify more than 8 characters
DuckDuckGo and Google search "LookupError: unknown encoding: unicode".
DuckDuckGo search Python unicode string.
exiftool *Warning* *Invalid EXIF text encoding for UserComment* if specify more than 8 characters
DuckDuckGo and Google search "Invalid EXIF text encoding for".
Note that whole UserComment is still retrievable with exiftool.
Hot plug Virtual Machine Manager Storage > Device type Disk device: and Bus type: VirtIO on my Debian 13 GNOME laptop Debian (trust) virtual machine works fine.
exec > >(trap "" INT TERM; :) seems to reset the behavior, source: the Stack Overflow question 12404661, source: DuckDuckGo search Bash no op function.
At least now APT and pip packages are up-to-date.
Let us uncomment while asyncWait: and see if it helps, otherwise will set up a shared boolean and proceed to webpage reload from the main thread.
In such case only see Checking output which is not satisfying.
await page.reload() blocks forever.
does not return anything and works as wanted.
async def verifyLastTime(): does not seem executed in thread.
DuckDuckGo search Python thread async.
Maybe can't in 2 threads proceed to Playwright async calls.
I confirm that await page.reload() solves the issue, now the point is keep listening.
An alternative is just to restart the Python script on exit, but it is unsatisfying and it may be…