[mythtv-users] Problem installing libmyth-python on Ubuntu 20.04 beta

Roland Ernst rcrernst at gmail.com
Fri Apr 17 16:32:55 UTC 2020


On Thu, Apr 16, 2020 at 3:38 PM Bill Meek <keemllib at gmail.com> wrote:
>
> On 4/16/20 5:37 AM, Stephen Worthington wrote:
> > I have just installed Ubuntu 20.04 beta in a VirtualBox virtual
> > machine, so that I can try converting my Python 2 programs for MythTV
> > to Python 3.  When I did:
> >
> > apt install mythtv
> >
> > I got these warnings when installing libmyth-python:
> >
> > Setting up libmyth-python (2:31.0+fixes.20200323.9579662cdc-0ubuntu1)
> > ...
> > /usr/lib/python3/dist-packages/MythTV/database.py:1170: SyntaxWarning:
> > "is" with a literal. Did you mean "=="?
> >    if host is 'NULL':
> > /usr/lib/python3/dist-packages/MythTV/system.py:134: SyntaxWarning:
> > "is" with a literal. Did you mean "=="?
> >    if self.path is '':
> > /usr/lib/python3/dist-packages/MythTV/system.py:168: SyntaxWarning:
> > "is" with a literal. Did you mean "=="?
> >    if self.path is '':
> > /usr/lib/python3/dist-packages/MythTV/system.py:444: SyntaxWarning:
> > "is" with a literal. Did you mean "=="?
> >    if self.path is '':
> >
> > Is there any real problem here?  Will it have installed correctly?
>
>
> It's truly just a warning, and it will install correctly. There's a pull request in
> the pipeline, but it just hasn't been implemented yet.
>
> --
> Bill




It is already implemented on master, see commit 12f44c7.

Bill, could you please cherry-pick this commit to fixes/31 ?
Currently, I do not have the correct setup to do this.

Thx
Roland


More information about the mythtv-users mailing list