<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
  <meta name="Generator" content="Kopano WebApp v3.4.6+dfsg1-1">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>RE: [mythtv-users] Blasting to STB,using a MCEUSB</title>
</head>
<body>
<!-- begin sanitized html -->
<div class="bodyclass">
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: tahoma, arial, helvetica, sans-serif;"><br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: tahoma, arial, helvetica, sans-serif;"><br /></span></p>
<blockquote style="border-left: 2px solid #325fba; padding-left: 5px; margin: 0px 5px 1em;"><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 10pt;">-----Original message-----<br /><span><strong>From:</strong> Dave Pearson (Lists) <lists@the-pearsons.co.uk></span><br /><span><strong>Sent:</strong> Saturday 6th October 2018 14:17</span><br /><span><strong>To:</strong> stephen@jsw.gen.nz</span><br /><span><strong>Cc:</strong> Discussion about MythTV <mythtv-users@mythtv.org></span><br /><span><strong>Subject:</strong> Re: [mythtv-users] Blasting to STB,using a MCEUSB</span><br /><br /></span>
<div>
<pre style="white-space: pre-wrap; word-wrap: break-word;"><br />> On 6 Oct 2018, at 13:44, Stephen Worthington <stephen_agent@jsw.gen.nz> wrote:<br />> <br />>> On Sat, 6 Oct 2018 11:10:31 +0100, you wrote:<br />>> <br />>> Hi Stephen,<br />>> <br />>> <br />>> <br />>> Thank you so much for all of your help with this, here is the output from those commands:<br />>> <br />>> dave@nuc1:˜$ cat /etc/lirc/lircd.conf <br />>> # Populated config files can be found at http://sf.net/p/lirc-remotes. <http://sf.net/p/lirc-remotes.> The <br />>> # irdb-get(1) and lirc-setup(1) tools can be used to search and download <br />>> # config files. <br />>> # <br />>> # From 0.9.2 config files could just be dropped as-is in the lircd.conf.d <br />>> # directory and be included by this file. <br />>> <br />>> include "lircd.conf.d/*.conf" <br />>> dave@nuc1:˜$ cat /etc/lirc/lirc_options.conf <br />>> # These are the default options to lircd, if installed as <br />>> # /etc/lirc/lirc_options.conf. See the lircd(8) and lircmd(8) <br />>> # manpages for info on the different options. <br />>> # <br />>> # Some tools including mode2 and irw uses values such as <br />>> # driver, device, plugindir and loglevel as fallback values <br />>> # in not defined elsewhere. <br />>> <br />>> [lircd] <br />>> nodaemon        = False <br />>> driver          = devinput <br />>> device          = auto <br />>> output          = /var/run/lirc/lircd <br />>> pidfile         = /var/run/lirc/lircd.pid <br />>> plugindir       = /usr/lib/x86_64-linux-gnu/lirc/plugins <br />>> permission      = 666 <br />>> allow-simulate  = No <br />>> #repeat-max      = 600 <br />>> repeat-max      = 1200 <br />>> effective-user = dave <br />> <br />> This one is possibly the problem.  You are running lirc as user<br />> "dave".  In theory, that should work as long as mythfrontend (or<br />> "ircat mythtv") is also running as user "dave", but there may be<br />> permissions problems resulting from this.  I would suggest commenting<br />> this out and trying it running as root.  As far as I know, this is a<br />> new option and older versions of lircd (as in 16.04) were always run<br />> as root.<br />> <br />>> #listen         = [address:]port <br />>> #connect        = host[:port] <br />>> #loglevel       = 6 <br />>> #release        = true <br />>> #release_suffix = _EVUP <br />>> #logfile        = ... <br />>> #driver-options = ... <br />>> <br />>> [lircmd] <br />>> uinput          = False <br />>> nodaemon        = False <br />>> <br />>> # [modinit] <br />>> # code = /usr/sbin/modprobe lirc_serial <br />>> # code1 = /usr/bin/setfacl -m g:lirc:rw /dev/uinput <br />>> # code2 = ... <br />>> <br />>> <br />>> # [lircd-uinput] <br />>> # add-release-events = False <br />>> # release-timeout    = 200 <br />>> # release-suffix     = _EVUP <br />>> dave@nuc1:˜$ grep name /etc/lirc/lircd.conf.d/*.conf <br />>> # Rename to devinput.lircd.dist if not using devinput driver <br />>>        name            devinput-64 <br />>>        name            devinput-32 <br />>> dave@nuc1:˜$ cat $HOME/.lircrc <br />>> include ˜/.lirc/mythtv <br />>> dave@nuc1:˜$ grep remote $HOME/.lirc/* | uniq <br />>>    remote = devinput-32 <br />>> dave@nuc1:˜$ <br />>> <br />>> <br />>> <br />>> I just hope the key to it all is to be found in there somewhere.<br />>> <br />>> <br />>> <br />>> Regards,<br />>> <br />>> Dave.<br />> _______________________________________________<br />> mythtv-users mailing list<br />> mythtv-users@mythtv.org<br />> http://lists.mythtv.org/mailman/listinfo/mythtv-users<br />> http://wiki.mythtv.org/Mailing_List_etiquette<br />> MythTV Forums: https://forum.mythtv.org<br /><br />Yes, I spotted that after I sent the last email, I commented out the line and it still had no effect.<br /><br />I’m now in the process of putting Ubuntu 18.04 on a laptop to see if I can get this working on a fresh install, if I can I shall reinstall on the frontend.<br /><br />Regards,<br />Dave<br />_______________________________________________<br />mythtv-users mailing list<br />mythtv-users@mythtv.org<br />http://lists.mythtv.org/mailman/listinfo/mythtv-users<br />http://wiki.mythtv.org/Mailing_List_etiquette<br />MythTV Forums: https://forum.mythtv.org</pre>
</div>
</blockquote>
<p style="padding: 0; margin: 0;">Hi Stephen,</p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: tahoma, arial, helvetica, sans-serif;"><br /></span></p>
<p style="padding: 0; margin: 0;"></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: tahoma, arial, helvetica, sans-serif;">This is becoming a nightmare - on a completely fresh install of 18.04, with only apt-get update, apt-get upgrade & synaptic & mythfrontend installed, I get the following error after running your lirc installation script:<br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: tahoma, arial, helvetica, sans-serif;"><br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: tahoma, arial, helvetica, sans-serif;">dave@D630:~/Downloads$ lirc-setup <br />/usr/lib/x86_64-linux-gnu/python3.6/site-packages/lirc-setup/mvc_control.py:13: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.<br />  from gi.repository import Gtk         # pylint: disable=no-name-in-module<br />Traceback (most recent call last):<br />  File "<frozen importlib._bootstrap>", line 888, in _find_spec<br />AttributeError: 'DynamicImporter' object has no attribute 'find_spec'<br /><br />During handling of the above exception, another exception <a href="occurred:Traceback" target="_blank" title="occurred:Traceback Click the link to open the URL in a new window." rel="noopener">occurred:Traceback</a><br /><br /> (most recent call last):<br />  File "/usr/bin/lirc-setup", line 16, in <module><br />    import mvc_control<br />  File "/usr/lib/x86_64-linux-gnu/python3.6/site-packages/lirc-setup/mvc_control.py", line 18, in <module><br />    import mvc_view<br />  File "/usr/lib/x86_64-linux-gnu/python3.6/site-packages/lirc-setup/mvc_view.py", line 14, in <module><br />    from gi.repository import Vte         # pylint: disable=no-name-in-module<br />  File "/usr/lib/python3/dist-packages/gi/importer.py", line 127, in find_module<br />    'introspection typelib not found' % namespace)<br />ImportError: cannot import name Vte, introspection typelib not found</span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: tahoma, arial, helvetica, sans-serif;"><br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: tahoma, arial, helvetica, sans-serif;">I suspect I'm missing a package, but I have no idea which one.<br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: tahoma, arial, helvetica, sans-serif;"><br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: tahoma, arial, helvetica, sans-serif;">Regards,<br /></span></p>
<p style="padding: 0; margin: 0;"><span style="font-size: 10pt; font-family: tahoma, arial, helvetica, sans-serif;">Dave.<br /></span></p>
</div>
<!-- end sanitized html -->
</body>
</html>