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

Bill Meek keemllib at gmail.com
Thu Apr 16 13:36:54 UTC 2020


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


More information about the mythtv-users mailing list