[mythtvnz] mhegepgsnoop.py broken by Python 3.12
Robert Fisher
robert at fisher.net.nz
Tue Oct 15 00:12:33 BST 2024
Thankyou again Stephen.
I also had the same problem after upgrading to Ubuntu Server 24.04.1
Replacing mhegepgsnoop.py with the new version fixed it.
And here is a link to the archives page with Stephen's instructions.
http://lists.ourshack.com/pipermail/mythtvnz/2022-July/016872.html
On 5/10/24 20:41, Stephen Worthington wrote:
> Last night I upgraded my main MythTV box from Xubuntu 22.04.5 to
> Xubuntu 24.04.1. Python 3 was upgraded from 3.10.12 to 3.12.3 and
> this broke mhegepgsnoop.py. The call in mhegepgsnoop.py to
> sqlite3.OptimizedUnicode was apparently deprecated a long time ago,
> and it was returning str instead of its old function, which I think
> was previously needed in Python 2 due to Python 2 not doing Unicode
> very well. Python 3 is fully Unicode and did not need
> sqlite3.OptimizedUnicode any more, and in Python 3.12 it was finally
> removed (or it might have been in Python 3.11). So, before you
> upgrade to anything that is running Python > 3.10, please replace your
> copy of mhegepgsnoop.py with the new version:
>
> http://www.jsw.gen.nz/mythtv/mhegepgsnoop-0.7.4.py
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz at lists.ourshack.com
> https://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
More information about the mythtvnz
mailing list