← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 1891079] [NEW] Issues Encountered installing lirc on new 20.04 device

 

Public bug reported:

** The first issue: Missing module and Deprecated syntax

While installing lirc:

If I run at the command line: sudo apt install lirc, it installs
lirc version 0.10.1-6.1ubuntu1.1 successfully.

However, when I run "sudo lirc-setup", I get the following dump;

-------------------------------------------------------------------------
/usr/lib/x86_64-linux-gnu/python3.8/site-packages/lirc-setup/mvc_control.py:13: PyGIWarning: Gtk was imported without specifying a v
ersion first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk         # pylint: disable=no-name-in-module
/usr/lib/x86_64-linux-gnu/python3.8/site-packages/lirc-setup/mvc_view.py:14: PyGIWarning: Vte was imported without specifying a vers
ion first. Use gi.require_version('Vte', '2.91') before import to ensure that the right version gets loaded.
  from gi.repository import Vte         # pylint: disable=no-name-in-module
/usr/lib/python3/dist-packages/lirc/database.py:135: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the d
efault Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  cf = yaml.load(f.read())
/usr/lib/python3/dist-packages/lirc/database.py:69: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the de
fault Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  cf = yaml.load(f.read())
/usr/lib/python3/dist-packages/lirc/database.py:142: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the d
efault Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  cf = yaml.load(f.read())
/usr/lib/python3/dist-packages/lirc/database.py:161: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the d
efault Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  cf = yaml.load(f.read())
jwb@richese:~$ sudo lirc-setup
[sudo] password for jwb:
/usr/lib/x86_64-linux-gnu/python3.8/site-packages/lirc-setup/mvc_control.py:13: PyGIWarning: Gtk was imported without specifying a v
ersion first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk         # pylint: disable=no-name-in-module
Traceback (most recent call last):
  File "/usr/bin/lirc-setup", line 16, in <module>
    import mvc_control
  File "/usr/lib/x86_64-linux-gnu/python3.8/site-packages/lirc-setup/mvc_control.py", line 16, in <module>
    import choosers
  File "/usr/lib/x86_64-linux-gnu/python3.8/site-packages/lirc-setup/choosers.py", line 11, in <module>
    import mvc_model
  File "/usr/lib/x86_64-linux-gnu/python3.8/site-packages/lirc-setup/mvc_model.py", line 14, in <module>
    from lirc.database import Database
  File "/usr/lib/python3/dist-packages/lirc/__init__.py", line 7, in <module>
    from .client import get_default_lircrc_path
  File "/usr/lib/python3/dist-packages/lirc/client.py", line 38, in <module>
    import _client
ModuleNotFoundError: No module named '_client'
-------------------------------------------------------------------------

The last line "ModuleNotFoundError: No module named '_client'" is
apparently the same as was found in 18.04 and previously reported.

Note: I only installed from the binary package and did not install any
related source package.

The "deprecated calls" also will need addressing, but this is not
required immediately.

** Mis-located Document
   :PROPERTIES:
   :ID:       a39c9ba0-7bfe-4ea9-8354-a67519473250
   :END:

See the attached screenshot of the message from lirc-setup when trying
to verify some of the online documentation. The installed document is
not in the location the source code expects, so only the warning message is displayed.

I have completed the install and configuration of lirc manually, but I
feel these issues should be resolved to simplify use of lirc by others.

John

** Affects: lirc (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Help Document Not Found"
   https://bugs.launchpad.net/bugs/1891079/+attachment/5400505/+files/Screenshot%20from%202020-06-29%2012-39-31.png

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in Ubuntu.
https://bugs.launchpad.net/bugs/1891079

Title:
  Issues Encountered installing lirc on new 20.04 device

Status in lirc package in Ubuntu:
  New

Bug description:
  ** The first issue: Missing module and Deprecated syntax

  While installing lirc:

  If I run at the command line: sudo apt install lirc, it installs
  lirc version 0.10.1-6.1ubuntu1.1 successfully.

  However, when I run "sudo lirc-setup", I get the following dump;

  -------------------------------------------------------------------------
  /usr/lib/x86_64-linux-gnu/python3.8/site-packages/lirc-setup/mvc_control.py:13: PyGIWarning: Gtk was imported without specifying a v
  ersion first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
    from gi.repository import Gtk         # pylint: disable=no-name-in-module
  /usr/lib/x86_64-linux-gnu/python3.8/site-packages/lirc-setup/mvc_view.py:14: PyGIWarning: Vte was imported without specifying a vers
  ion first. Use gi.require_version('Vte', '2.91') before import to ensure that the right version gets loaded.
    from gi.repository import Vte         # pylint: disable=no-name-in-module
  /usr/lib/python3/dist-packages/lirc/database.py:135: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the d
  efault Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
    cf = yaml.load(f.read())
  /usr/lib/python3/dist-packages/lirc/database.py:69: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the de
  fault Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
    cf = yaml.load(f.read())
  /usr/lib/python3/dist-packages/lirc/database.py:142: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the d
  efault Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
    cf = yaml.load(f.read())
  /usr/lib/python3/dist-packages/lirc/database.py:161: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the d
  efault Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
    cf = yaml.load(f.read())
  jwb@richese:~$ sudo lirc-setup
  [sudo] password for jwb:
  /usr/lib/x86_64-linux-gnu/python3.8/site-packages/lirc-setup/mvc_control.py:13: PyGIWarning: Gtk was imported without specifying a v
  ersion first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
    from gi.repository import Gtk         # pylint: disable=no-name-in-module
  Traceback (most recent call last):
    File "/usr/bin/lirc-setup", line 16, in <module>
      import mvc_control
    File "/usr/lib/x86_64-linux-gnu/python3.8/site-packages/lirc-setup/mvc_control.py", line 16, in <module>
      import choosers
    File "/usr/lib/x86_64-linux-gnu/python3.8/site-packages/lirc-setup/choosers.py", line 11, in <module>
      import mvc_model
    File "/usr/lib/x86_64-linux-gnu/python3.8/site-packages/lirc-setup/mvc_model.py", line 14, in <module>
      from lirc.database import Database
    File "/usr/lib/python3/dist-packages/lirc/__init__.py", line 7, in <module>
      from .client import get_default_lircrc_path
    File "/usr/lib/python3/dist-packages/lirc/client.py", line 38, in <module>
      import _client
  ModuleNotFoundError: No module named '_client'
  -------------------------------------------------------------------------

  The last line "ModuleNotFoundError: No module named '_client'" is
  apparently the same as was found in 18.04 and previously reported.

  Note: I only installed from the binary package and did not install any
  related source package.

  The "deprecated calls" also will need addressing, but this is not
  required immediately.

  ** Mis-located Document
     :PROPERTIES:
     :ID:       a39c9ba0-7bfe-4ea9-8354-a67519473250
     :END:

  See the attached screenshot of the message from lirc-setup when trying
  to verify some of the online documentation. The installed document is
  not in the location the source code expects, so only the warning message is displayed.

  I have completed the install and configuration of lirc manually, but I
  feel these issues should be resolved to simplify use of lirc by
  others.

  John

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/1891079/+subscriptions


Follow ups