[mythtv-commits] Ticket #13562: Transition to python3 breaks MythArchive
MythTV
noreply at mythtv.org
Sat Jan 18 16:38:04 UTC 2020
#13562: Transition to python3 breaks MythArchive
--------------------------------------+--------------------------
Reporter: rcrdnalor | Owner: (none)
Type: Bug Report - General | Status: new
Priority: minor | Milestone: needs_triage
Component: MythTV - General | Version: Unspecified
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+--------------------------
I missed the dependency from mytharchive to the MythTV's python package:
- mytharchive calls on current master `mythburn.py` with hard-coded
executable `python`,
which is not available on a modern linux setup, because 'python' aka
'python2' it is deprecated.
- currently, the file `mythburn.py` is only capabable to work with
python2,
but needs the `MythTV` python package which may be installed only for
python3.
The solution is to make `mythburn.py` compatible to python3 as well and
resolve the hard-coded call to `python` by the configured version of
'python'.
- Fortunately, the changes are quite simple, but can't be verified by me,
soon.
The enclosed patch uses the configured python version and updates
`mythburn.py`
to python2 and python3 as well.
Please note: This patch is tested at compile time only, and 'python3' is
shown now in the compiled mythburn.o
I kindly ask the developer using a current setup with python3 only to test
this patch.
I really appreciate your help!
I would need a week to setup an environment to test this and Ubuntu 20.04
released with MythTV v31 is knocking on the door....
Please help me on testing this patch.
Enclosed a patch for compatibility to python3 and python2 of mytharchive,
using the configured python version.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13562>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list