MythWeb Confusing Error Message

Post Syndicated from Bradley M. Kuhn original http://ebb.org/bkuhn/blog/2016/03/13/mythweb-database.html

I’m finally configuring Kodi properly to watch over-the-air channels using
this this
USB ATSC / DVB-T tuner card from Thinkpenguin
. I hate taking time
away, even on the weekends, from the urgent Conservancy matters but I’ve
been doing by-hand recordings using VLC for my wife when she’s at work,
and I just need to present a good solution to my home to showcase software
freedom here.

So, I installed Debian testing to get a newr Kodi, I did
discover this
bug after it had already been closed
but had to
pull util-linux out of unstable for the moment since it hadn’t
moved to testing.

Kodi works fine after installing it via apt, and since VDR is packaged for
Debian, I tried getting VDR working instead of MythTV at first. I almost
had it working but then I got this error:

VNSI-Error: cxSocket::read: read() error at 0/4

when trying to use kodi-pvr-vdr-vnsi (1.11.15-1) with vdr-plugin-vnsiserver
(1:1.3.1) combined with vdr (2.2.0-5) and kodi (16.0+dfsg1-1). I tried
briefly using the upstream plugins for both VDR and Kodi just to be sure
I’d produce the same error, and got the same so I started by reporting this
on the Kodi
VDR backend forum
. If I don’t get a response there in a few weeks,
I’ll file it as a bug against kodi-pvr-vdr-vnsi instead.

For now, I gave up on VDR (which I rather liked, very old-school
Unix-server module was to build a PVR), and tried MythTV instead since it’s
also GPL’d. Since there weren’t Debian packages,
I followed
this building from source tutorial on MythTV’s website
.

I didn’t think I’d actually
need to
install MythWeb
at first, because I am using Kodi primarily and am only
using MythTV backend to handle the tuner card. It was pretty odd that you
can only configure MythTV via a QT program
called mythtv-setup, but ok, I did that, and it was
relatiavely straight forward. Once I did, playback was working reasonable
using Kodi’s MythTV plugin. (BTW, if you end up doing this, it’s fine to
test Kodi as its own in a window with a desktop environment running, but I
had playback speed issues in that usage, but they went away fully when I
switched to a simple .xinitrc that just
called kodi-standalone.

The only problem left was that I noticed that I was not
getting Event Information Table
(EIT)
data from the card to add to
the Electronic
Program Guide (EPG)
. Then I discovered that
one must
install MythWeb for the EIT data to make it through via the plugin for EPG
in Kodi
. Seems weird to me, but ok, I went to install MythWeb.

Oddly, this is where I had the most trouble, constantly receiving this
error message:

PHP Fatal error: Call to a member function query_col() on null in /path/to/mythweb/modules/backend_log/init.php on line 15

The top net.search hit is likely to
be this bug ticket
which
out points out
that this is a horrible form of an error message to tell you the equivalent
of “something is strange about the database configuration, but I’m
not sure what”
.

Indeed, I tried a litany of items which i found through lots of
net.searching. Unfortunately I got a bit frantic, so I’m not sure which
one solved my problem (I think it was actually quite obviously multiple
ones :). I’m going to list them all here, in one place, so that future
searchers for this problem will find all of them together:

  • Make sure the PHP load_path is coming through properly and
    includes the MythTV backend directory, ala:

    setenv include_path “/path/to/mythtv/share/mythtv/bindings/php/”

  • Make sure the mythtv user has a password set properly and is
    authorized in the database users table to have access from localhost,
    ::1, and 127.*, as it’s sometimes unclear which way Apache might
    connect.
  • In Debian testing, make sure PHP 7 is definitely not in use by MythWeb
    (I am guessing it is incompatible), and make sure the right PHP5 MySql
    modules are installed.
    The MythWeb
    installation instructions do say
    :

    apache2-mpm-prefork php5 php5-mysql libhttp-date-perl

    And at one point, I somehow got php5-mysql installed and
    libapache2-mod-php5 without having php5 installed, which I think may have
    caused a problem.

  • Also, read

    this
    thread from the MythTV mailing list
    as it is the most comprehensive
    in discussing this error.

I did have
to update the
channel lineup
with mythfilldatabase --dd-grab-all

MythWeb Confusing Error Message

Post Syndicated from Bradley M. Kuhn original http://ebb.org/bkuhn/blog/2016/03/13/mythweb-database.html

I’m finally configuring Kodi properly to watch over-the-air channels using
this this
USB ATSC / DVB-T tuner card from Thinkpenguin
. I hate taking time
away, even on the weekends, from the urgent Conservancy matters but I’ve
been doing by-hand recordings using VLC for my wife when she’s at work,
and I just need to present a good solution to my home to showcase software
freedom here.

So, I installed Debian testing to get a newr Kodi, I did
discover this
bug after it had already been closed
but had to
pull util-linux out of unstable for the moment since it hadn’t
moved to testing.

Kodi works fine after installing it via apt, and since VDR is packaged for
Debian, I tried getting VDR working instead of MythTV at first. I almost
had it working but then I got this error:

VNSI-Error: cxSocket::read: read() error at 0/4

when trying to use kodi-pvr-vdr-vnsi (1.11.15-1) with vdr-plugin-vnsiserver
(1:1.3.1) combined with vdr (2.2.0-5) and kodi (16.0+dfsg1-1). I tried
briefly using the upstream plugins for both VDR and Kodi just to be sure
I’d produce the same error, and got the same so I started by reporting this
on the Kodi
VDR backend forum
. If I don’t get a response there in a few weeks,
I’ll file it as a bug against kodi-pvr-vdr-vnsi instead.

For now, I gave up on VDR (which I rather liked, very old-school
Unix-server module was to build a PVR), and tried MythTV instead since it’s
also GPL’d. Since there weren’t Debian packages,
I followed
this building from source tutorial on MythTV’s website
.

I didn’t think I’d actually
need to
install MythWeb
at first, because I am using Kodi primarily and am only
using MythTV backend to handle the tuner card. It was pretty odd that you
can only configure MythTV via a QT program
called mythtv-setup, but ok, I did that, and it was
relatiavely straight forward. Once I did, playback was working reasonable
using Kodi’s MythTV plugin. (BTW, if you end up doing this, it’s fine to
test Kodi as its own in a window with a desktop environment running, but I
had playback speed issues in that usage, but they went away fully when I
switched to a simple .xinitrc that just
called kodi-standalone.

The only problem left was that I noticed that I was not
getting Event Information Table
(EIT)
data from the card to add to
the Electronic
Program Guide (EPG)
. Then I discovered that
one must
install MythWeb for the EIT data to make it through via the plugin for EPG
in Kodi
. Seems weird to me, but ok, I went to install MythWeb.

Oddly, this is where I had the most trouble, constantly receiving this
error message:

PHP Fatal error: Call to a member function query_col() on null in /path/to/mythweb/modules/backend_log/init.php on line 15

The top net.search hit is likely to
be this bug ticket
which
out points out
that this is a horrible form of an error message to tell you the equivalent
of “something is strange about the database configuration, but I’m
not sure what”
.

Indeed, I tried a litany of items which i found through lots of
net.searching. Unfortunately I got a bit frantic, so I’m not sure which
one solved my problem (I think it was actually quite obviously multiple
ones :). I’m going to list them all here, in one place, so that future
searchers for this problem will find all of them together:

  • Make sure the PHP load_path is coming through properly and
    includes the MythTV backend directory, ala:

    setenv include_path “/path/to/mythtv/share/mythtv/bindings/php/”

  • Make sure the mythtv user has a password set properly and is
    authorized in the database users table to have access from localhost,
    ::1, and 127.*, as it’s sometimes unclear which way Apache might
    connect.
  • In Debian testing, make sure PHP 7 is definitely not in use by MythWeb
    (I am guessing it is incompatible), and make sure the right PHP5 MySql
    modules are installed.
    The MythWeb
    installation instructions do say
    :

    apache2-mpm-prefork php5 php5-mysql libhttp-date-perl

    And at one point, I somehow got php5-mysql installed and
    libapache2-mod-php5 without having php5 installed, which I think may have
    caused a problem.

  • Also, read

    this
    thread from the MythTV mailing list
    as it is the most comprehensive
    in discussing this error.

I did have
to update the
channel lineup
with mythfilldatabase --dd-grab-all

MythWeb Confusing Error Message

Post Syndicated from Bradley M. Kuhn original http://ebb.org/bkuhn/blog/2016/03/13/mythweb-database.html

I’m finally configuring Kodi properly to watch over-the-air channels using
this this
USB ATSC / DVB-T tuner card from Thinkpenguin
. I hate taking time
away, even on the weekends, from the urgent Conservancy matters but I’ve
been doing by-hand recordings using VLC for my wife when she’s at work,
and I just need to present a good solution to my home to showcase software
freedom here.

So, I installed Debian testing to get a newr Kodi, I did
discover this
bug after it had already been closed
but had to
pull util-linux out of unstable for the moment since it hadn’t
moved to testing.

Kodi works fine after installing it via apt, and since VDR is packaged for
Debian, I tried getting VDR working instead of MythTV at first. I almost
had it working but then I got this error:

VNSI-Error: cxSocket::read: read() error at 0/4

when trying to use kodi-pvr-vdr-vnsi (1.11.15-1) with vdr-plugin-vnsiserver
(1:1.3.1) combined with vdr (2.2.0-5) and kodi (16.0+dfsg1-1). I tried
briefly using the upstream plugins for both VDR and Kodi just to be sure
I’d produce the same error, and got the same so I started by reporting this
on the Kodi
VDR backend forum
. If I don’t get a response there in a few weeks,
I’ll file it as a bug against kodi-pvr-vdr-vnsi instead.

For now, I gave up on VDR (which I rather liked, very old-school
Unix-server module was to build a PVR), and tried MythTV instead since it’s
also GPL’d. Since there weren’t Debian packages,
I followed
this building from source tutorial on MythTV’s website
.

I didn’t think I’d actually
need to
install MythWeb
at first, because I am using Kodi primarily and am only
using MythTV backend to handle the tuner card. It was pretty odd that you
can only configure MythTV via a QT program
called mythtv-setup, but ok, I did that, and it was
relatiavely straight forward. Once I did, playback was working reasonable
using Kodi’s MythTV plugin. (BTW, if you end up doing this, it’s fine to
test Kodi as its own in a window with a desktop environment running, but I
had playback speed issues in that usage, but they went away fully when I
switched to a simple .xinitrc that just
called kodi-standalone.

The only problem left was that I noticed that I was not
getting Event Information Table
(EIT)
data from the card to add to
the Electronic
Program Guide (EPG)
. Then I discovered that
one must
install MythWeb for the EIT data to make it through via the plugin for EPG
in Kodi
. Seems weird to me, but ok, I went to install MythWeb.

Oddly, this is where I had the most trouble, constantly receiving this
error message:

PHP Fatal error: Call to a member function query_col() on null in /path/to/mythweb/modules/backend_log/init.php on line 15

The top net.search hit is likely to
be this bug ticket
which
out points out
that this is a horrible form of an error message to tell you the equivalent
of “something is strange about the database configuration, but I’m
not sure what”
.

Indeed, I tried a litany of items which i found through lots of
net.searching. Unfortunately I got a bit frantic, so I’m not sure which
one solved my problem (I think it was actually quite obviously multiple
ones :). I’m going to list them all here, in one place, so that future
searchers for this problem will find all of them together:

  • Make sure the PHP load_path is coming through properly and
    includes the MythTV backend directory, ala:

    setenv include_path “/path/to/mythtv/share/mythtv/bindings/php/”

  • Make sure the mythtv user has a password set properly and is
    authorized in the database users table to have access from localhost,
    ::1, and 127.*, as it’s sometimes unclear which way Apache might
    connect.
  • In Debian testing, make sure PHP 7 is definitely not in use by MythWeb
    (I am guessing it is incompatible), and make sure the right PHP5 MySql
    modules are installed.
    The MythWeb
    installation instructions do say
    :

    apache2-mpm-prefork php5 php5-mysql libhttp-date-perl

    And at one point, I somehow got php5-mysql installed and
    libapache2-mod-php5 without having php5 installed, which I think may have
    caused a problem.

  • Also, read

    this
    thread from the MythTV mailing list
    as it is the most comprehensive
    in discussing this error.

I did have
to update the
channel lineup
with mythfilldatabase --dd-grab-all

MythWeb Confusing Error Message

Post Syndicated from Bradley M. Kuhn original http://ebb.org/bkuhn/blog/2016/03/13/mythweb-database.html

I’m finally configuring Kodi properly to watch over-the-air channels using
this this
USB ATSC / DVB-T tuner card from Thinkpenguin
. I hate taking time
away, even on the weekends, from the urgent Conservancy matters but I’ve
been doing by-hand recordings using VLC for my wife when she’s at work,
and I just need to present a good solution to my home to showcase software
freedom here.

So, I installed Debian testing to get a newr Kodi, I did
discover this
bug after it had already been closed
but had to
pull util-linux out of unstable for the moment since it hadn’t
moved to testing.

Kodi works fine after installing it via apt, and since VDR is packaged for
Debian, I tried getting VDR working instead of MythTV at first. I almost
had it working but then I got this error:

VNSI-Error: cxSocket::read: read() error at 0/4

when trying to use kodi-pvr-vdr-vnsi (1.11.15-1) with vdr-plugin-vnsiserver
(1:1.3.1) combined with vdr (2.2.0-5) and kodi (16.0+dfsg1-1). I tried
briefly using the upstream plugins for both VDR and Kodi just to be sure
I’d produce the same error, and got the same so I started by reporting this
on the Kodi
VDR backend forum
. If I don’t get a response there in a few weeks,
I’ll file it as a bug against kodi-pvr-vdr-vnsi instead.

For now, I gave up on VDR (which I rather liked, very old-school
Unix-server module was to build a PVR), and tried MythTV instead since it’s
also GPL’d. Since there weren’t Debian packages,
I followed
this building from source tutorial on MythTV’s website
.

I didn’t think I’d actually
need to
install MythWeb
at first, because I am using Kodi primarily and am only
using MythTV backend to handle the tuner card. It was pretty odd that you
can only configure MythTV via a QT program
called mythtv-setup, but ok, I did that, and it was
relatiavely straight forward. Once I did, playback was working reasonable
using Kodi’s MythTV plugin. (BTW, if you end up doing this, it’s fine to
test Kodi as its own in a window with a desktop environment running, but I
had playback speed issues in that usage, but they went away fully when I
switched to a simple .xinitrc that just
called kodi-standalone.

The only problem left was that I noticed that I was not
getting Event Information Table
(EIT)
data from the card to add to
the Electronic
Program Guide (EPG)
. Then I discovered that
one must
install MythWeb for the EIT data to make it through via the plugin for EPG
in Kodi
. Seems weird to me, but ok, I went to install MythWeb.

Oddly, this is where I had the most trouble, constantly receiving this
error message:

PHP Fatal error: Call to a member function query_col() on null in /path/to/mythweb/modules/backend_log/init.php on line 15

The top net.search hit is likely to
be this bug ticket
which
out points out
that this is a horrible form of an error message to tell you the equivalent
of “something is strange about the database configuration, but I’m
not sure what”
.

Indeed, I tried a litany of items which i found through lots of
net.searching. Unfortunately I got a bit frantic, so I’m not sure which
one solved my problem (I think it was actually quite obviously multiple
ones :). I’m going to list them all here, in one place, so that future
searchers for this problem will find all of them together:

  • Make sure the PHP load_path is coming through properly and
    includes the MythTV backend directory, ala:

    setenv include_path “/path/to/mythtv/share/mythtv/bindings/php/”

  • Make sure the mythtv user has a password set properly and is
    authorized in the database users table to have access from localhost,
    ::1, and 127.*, as it’s sometimes unclear which way Apache might
    connect.
  • In Debian testing, make sure PHP 7 is definitely not in use by MythWeb
    (I am guessing it is incompatible), and make sure the right PHP5 MySql
    modules are installed.
    The MythWeb
    installation instructions do say
    :

    apache2-mpm-prefork php5 php5-mysql libhttp-date-perl

    And at one point, I somehow got php5-mysql installed and
    libapache2-mod-php5 without having php5 installed, which I think may have
    caused a problem.

  • Also, read

    this
    thread from the MythTV mailing list
    as it is the most comprehensive
    in discussing this error.

I did have
to update the
channel lineup
with mythfilldatabase --dd-grab-all

MythWeb Confusing Error Message

Post Syndicated from Bradley M. Kuhn original http://ebb.org/bkuhn/blog/2016/03/13/mythweb-database.html

I’m finally configuring Kodi properly to watch over-the-air channels using
this this
USB ATSC / DVB-T tuner card from Thinkpenguin
. I hate taking time
away, even on the weekends, from the urgent Conservancy matters but I’ve
been doing by-hand recordings using VLC for my wife when she’s at work,
and I just need to present a good solution to my home to showcase software
freedom here.

So, I installed Debian testing to get a newr Kodi, I did
discover this
bug after it had already been closed
but had to
pull util-linux out of unstable for the moment since it hadn’t
moved to testing.

Kodi works fine after installing it via apt, and since VDR is packaged for
Debian, I tried getting VDR working instead of MythTV at first. I almost
had it working but then I got this error:

VNSI-Error: cxSocket::read: read() error at 0/4

when trying to use kodi-pvr-vdr-vnsi (1.11.15-1) with vdr-plugin-vnsiserver
(1:1.3.1) combined with vdr (2.2.0-5) and kodi (16.0+dfsg1-1). I tried
briefly using the upstream plugins for both VDR and Kodi just to be sure
I’d produce the same error, and got the same so I started by reporting this
on the Kodi
VDR backend forum
. If I don’t get a response there in a few weeks,
I’ll file it as a bug against kodi-pvr-vdr-vnsi instead.

For now, I gave up on VDR (which I rather liked, very old-school
Unix-server module was to build a PVR), and tried MythTV instead since it’s
also GPL’d. Since there weren’t Debian packages,
I followed
this building from source tutorial on MythTV’s website
.

I didn’t think I’d actually
need to
install MythWeb
at first, because I am using Kodi primarily and am only
using MythTV backend to handle the tuner card. It was pretty odd that you
can only configure MythTV via a QT program
called mythtv-setup, but ok, I did that, and it was
relatiavely straight forward. Once I did, playback was working reasonable
using Kodi’s MythTV plugin. (BTW, if you end up doing this, it’s fine to
test Kodi as its own in a window with a desktop environment running, but I
had playback speed issues in that usage, but they went away fully when I
switched to a simple .xinitrc that just
called kodi-standalone.

The only problem left was that I noticed that I was not
getting Event Information Table
(EIT)
data from the card to add to
the Electronic
Program Guide (EPG)
. Then I discovered that
one must
install MythWeb for the EIT data to make it through via the plugin for EPG
in Kodi
. Seems weird to me, but ok, I went to install MythWeb.

Oddly, this is where I had the most trouble, constantly receiving this
error message:

PHP Fatal error: Call to a member function query_col() on null in /path/to/mythweb/modules/backend_log/init.php on line 15

The top net.search hit is likely to
be this bug ticket
which
out points out
that this is a horrible form of an error message to tell you the equivalent
of “something is strange about the database configuration, but I’m
not sure what”
.

Indeed, I tried a litany of items which i found through lots of
net.searching. Unfortunately I got a bit frantic, so I’m not sure which
one solved my problem (I think it was actually quite obviously multiple
ones :). I’m going to list them all here, in one place, so that future
searchers for this problem will find all of them together:

  • Make sure the PHP load_path is coming through properly and
    includes the MythTV backend directory, ala:

    setenv include_path “/path/to/mythtv/share/mythtv/bindings/php/”

  • Make sure the mythtv user has a password set properly and is
    authorized in the database users table to have access from localhost,
    ::1, and 127.*, as it’s sometimes unclear which way Apache might
    connect.
  • In Debian testing, make sure PHP 7 is definitely not in use by MythWeb
    (I am guessing it is incompatible), and make sure the right PHP5 MySql
    modules are installed.
    The MythWeb
    installation instructions do say
    :

    apache2-mpm-prefork php5 php5-mysql libhttp-date-perl

    And at one point, I somehow got php5-mysql installed and
    libapache2-mod-php5 without having php5 installed, which I think may have
    caused a problem.

  • Also, read

    this
    thread from the MythTV mailing list
    as it is the most comprehensive
    in discussing this error.

I did have
to update the
channel lineup
with mythfilldatabase --dd-grab-all

MythWeb Confusing Error Message

Post Syndicated from Bradley M. Kuhn original http://ebb.org/bkuhn/blog/2016/03/13/mythweb-database.html

I’m finally configuring Kodi properly to watch over-the-air channels using
this this
USB ATSC / DVB-T tuner card from Thinkpenguin
. I hate taking time
away, even on the weekends, from the urgent Conservancy matters but I’ve
been doing by-hand recordings using VLC for my wife when she’s at work,
and I just need to present a good solution to my home to showcase software
freedom here.

So, I installed Debian testing to get a newr Kodi, I did
discover this
bug after it had already been closed
but had to
pull util-linux out of unstable for the moment since it hadn’t
moved to testing.

Kodi works fine after installing it via apt, and since VDR is packaged for
Debian, I tried getting VDR working instead of MythTV at first. I almost
had it working but then I got this error:

VNSI-Error: cxSocket::read: read() error at 0/4

when trying to use kodi-pvr-vdr-vnsi (1.11.15-1) with vdr-plugin-vnsiserver
(1:1.3.1) combined with vdr (2.2.0-5) and kodi (16.0+dfsg1-1). I tried
briefly using the upstream plugins for both VDR and Kodi just to be sure
I’d produce the same error, and got the same so I started by reporting this
on the Kodi
VDR backend forum
. If I don’t get a response there in a few weeks,
I’ll file it as a bug against kodi-pvr-vdr-vnsi instead.

For now, I gave up on VDR (which I rather liked, very old-school
Unix-server module was to build a PVR), and tried MythTV instead since it’s
also GPL’d. Since there weren’t Debian packages,
I followed
this building from source tutorial on MythTV’s website
.

I didn’t think I’d actually
need to
install MythWeb
at first, because I am using Kodi primarily and am only
using MythTV backend to handle the tuner card. It was pretty odd that you
can only configure MythTV via a QT program
called mythtv-setup, but ok, I did that, and it was
relatiavely straight forward. Once I did, playback was working reasonable
using Kodi’s MythTV plugin. (BTW, if you end up doing this, it’s fine to
test Kodi as its own in a window with a desktop environment running, but I
had playback speed issues in that usage, but they went away fully when I
switched to a simple .xinitrc that just
called kodi-standalone.

The only problem left was that I noticed that I was not
getting Event Information Table
(EIT)
data from the card to add to
the Electronic
Program Guide (EPG)
. Then I discovered that
one must
install MythWeb for the EIT data to make it through via the plugin for EPG
in Kodi
. Seems weird to me, but ok, I went to install MythWeb.

Oddly, this is where I had the most trouble, constantly receiving this
error message:

PHP Fatal error: Call to a member function query_col() on null in /path/to/mythweb/modules/backend_log/init.php on line 15

The top net.search hit is likely to
be this bug ticket
which
out points out
that this is a horrible form of an error message to tell you the equivalent
of “something is strange about the database configuration, but I’m
not sure what”
.

Indeed, I tried a litany of items which i found through lots of
net.searching. Unfortunately I got a bit frantic, so I’m not sure which
one solved my problem (I think it was actually quite obviously multiple
ones :). I’m going to list them all here, in one place, so that future
searchers for this problem will find all of them together:

  • Make sure the PHP load_path is coming through properly and
    includes the MythTV backend directory, ala:

    setenv include_path “/path/to/mythtv/share/mythtv/bindings/php/”

  • Make sure the mythtv user has a password set properly and is
    authorized in the database users table to have access from localhost,
    ::1, and 127.*, as it’s sometimes unclear which way Apache might
    connect.
  • In Debian testing, make sure PHP 7 is definitely not in use by MythWeb
    (I am guessing it is incompatible), and make sure the right PHP5 MySql
    modules are installed.
    The MythWeb
    installation instructions do say
    :

    apache2-mpm-prefork php5 php5-mysql libhttp-date-perl

    And at one point, I somehow got php5-mysql installed and
    libapache2-mod-php5 without having php5 installed, which I think may have
    caused a problem.

  • Also, read

    this
    thread from the MythTV mailing list
    as it is the most comprehensive
    in discussing this error.

I did have
to update the
channel lineup
with mythfilldatabase --dd-grab-all

MythWeb Confusing Error Message

Post Syndicated from Bradley M. Kuhn original http://ebb.org/bkuhn/blog/2016/03/13/mythweb-database.html

I’m finally configuring Kodi properly to watch over-the-air channels using
this this
USB ATSC / DVB-T tuner card from Thinkpenguin
. I hate taking time
away, even on the weekends, from the urgent Conservancy matters but I’ve
been doing by-hand recordings using VLC for my wife when she’s at work,
and I just need to present a good solution to my home to showcase software
freedom here.

So, I installed Debian testing to get a newr Kodi, I did
discover this
bug after it had already been closed
but had to
pull util-linux out of unstable for the moment since it hadn’t
moved to testing.

Kodi works fine after installing it via apt, and since VDR is packaged for
Debian, I tried getting VDR working instead of MythTV at first. I almost
had it working but then I got this error:

VNSI-Error: cxSocket::read: read() error at 0/4

when trying to use kodi-pvr-vdr-vnsi (1.11.15-1) with vdr-plugin-vnsiserver
(1:1.3.1) combined with vdr (2.2.0-5) and kodi (16.0+dfsg1-1). I tried
briefly using the upstream plugins for both VDR and Kodi just to be sure
I’d produce the same error, and got the same so I started by reporting this
on the Kodi
VDR backend forum
. If I don’t get a response there in a few weeks,
I’ll file it as a bug against kodi-pvr-vdr-vnsi instead.

For now, I gave up on VDR (which I rather liked, very old-school
Unix-server module was to build a PVR), and tried MythTV instead since it’s
also GPL’d. Since there weren’t Debian packages,
I followed
this building from source tutorial on MythTV’s website
.

I didn’t think I’d actually
need to
install MythWeb
at first, because I am using Kodi primarily and am only
using MythTV backend to handle the tuner card. It was pretty odd that you
can only configure MythTV via a QT program
called mythtv-setup, but ok, I did that, and it was
relatiavely straight forward. Once I did, playback was working reasonable
using Kodi’s MythTV plugin. (BTW, if you end up doing this, it’s fine to
test Kodi as its own in a window with a desktop environment running, but I
had playback speed issues in that usage, but they went away fully when I
switched to a simple .xinitrc that just
called kodi-standalone.

The only problem left was that I noticed that I was not
getting Event Information Table
(EIT)
data from the card to add to
the Electronic
Program Guide (EPG)
. Then I discovered that
one must
install MythWeb for the EIT data to make it through via the plugin for EPG
in Kodi
. Seems weird to me, but ok, I went to install MythWeb.

Oddly, this is where I had the most trouble, constantly receiving this
error message:

PHP Fatal error: Call to a member function query_col() on null in /path/to/mythweb/modules/backend_log/init.php on line 15

The top net.search hit is likely to
be this bug ticket
which
out points out
that this is a horrible form of an error message to tell you the equivalent
of “something is strange about the database configuration, but I’m
not sure what”
.

Indeed, I tried a litany of items which i found through lots of
net.searching. Unfortunately I got a bit frantic, so I’m not sure which
one solved my problem (I think it was actually quite obviously multiple
ones :). I’m going to list them all here, in one place, so that future
searchers for this problem will find all of them together:

  • Make sure the PHP load_path is coming through properly and
    includes the MythTV backend directory, ala:

    setenv include_path “/path/to/mythtv/share/mythtv/bindings/php/”

  • Make sure the mythtv user has a password set properly and is
    authorized in the database users table to have access from localhost,
    ::1, and 127.*, as it’s sometimes unclear which way Apache might
    connect.
  • In Debian testing, make sure PHP 7 is definitely not in use by MythWeb
    (I am guessing it is incompatible), and make sure the right PHP5 MySql
    modules are installed.
    The MythWeb
    installation instructions do say
    :

    apache2-mpm-prefork php5 php5-mysql libhttp-date-perl

    And at one point, I somehow got php5-mysql installed and
    libapache2-mod-php5 without having php5 installed, which I think may have
    caused a problem.

  • Also, read

    this
    thread from the MythTV mailing list
    as it is the most comprehensive
    in discussing this error.

I did have
to update the
channel lineup
with mythfilldatabase --dd-grab-all

MythWeb Confusing Error Message

Post Syndicated from Bradley M. Kuhn original http://ebb.org/bkuhn/blog/2016/03/13/mythweb-database.html

I’m finally configuring Kodi properly to watch over-the-air channels using
this this
USB ATSC / DVB-T tuner card from Thinkpenguin
. I hate taking time
away, even on the weekends, from the urgent Conservancy matters but I’ve
been doing by-hand recordings using VLC for my wife when she’s at work,
and I just need to present a good solution to my home to showcase software
freedom here.

So, I installed Debian testing to get a newr Kodi, I did
discover this
bug after it had already been closed
but had to
pull util-linux out of unstable for the moment since it hadn’t
moved to testing.

Kodi works fine after installing it via apt, and since VDR is packaged for
Debian, I tried getting VDR working instead of MythTV at first. I almost
had it working but then I got this error:

VNSI-Error: cxSocket::read: read() error at 0/4

when trying to use kodi-pvr-vdr-vnsi (1.11.15-1) with vdr-plugin-vnsiserver
(1:1.3.1) combined with vdr (2.2.0-5) and kodi (16.0+dfsg1-1). I tried
briefly using the upstream plugins for both VDR and Kodi just to be sure
I’d produce the same error, and got the same so I started by reporting this
on the Kodi
VDR backend forum
. If I don’t get a response there in a few weeks,
I’ll file it as a bug against kodi-pvr-vdr-vnsi instead.

For now, I gave up on VDR (which I rather liked, very old-school
Unix-server module was to build a PVR), and tried MythTV instead since it’s
also GPL’d. Since there weren’t Debian packages,
I followed
this building from source tutorial on MythTV’s website
.

I didn’t think I’d actually
need to
install MythWeb
at first, because I am using Kodi primarily and am only
using MythTV backend to handle the tuner card. It was pretty odd that you
can only configure MythTV via a QT program
called mythtv-setup, but ok, I did that, and it was
relatiavely straight forward. Once I did, playback was working reasonable
using Kodi’s MythTV plugin. (BTW, if you end up doing this, it’s fine to
test Kodi as its own in a window with a desktop environment running, but I
had playback speed issues in that usage, but they went away fully when I
switched to a simple .xinitrc that just
called kodi-standalone.

The only problem left was that I noticed that I was not
getting Event Information Table
(EIT)
data from the card to add to
the Electronic
Program Guide (EPG)
. Then I discovered that
one must
install MythWeb for the EIT data to make it through via the plugin for EPG
in Kodi
. Seems weird to me, but ok, I went to install MythWeb.

Oddly, this is where I had the most trouble, constantly receiving this
error message:

PHP Fatal error: Call to a member function query_col() on null in /path/to/mythweb/modules/backend_log/init.php on line 15

The top net.search hit is likely to
be this bug ticket
which
out points out
that this is a horrible form of an error message to tell you the equivalent
of “something is strange about the database configuration, but I’m
not sure what”
.

Indeed, I tried a litany of items which i found through lots of
net.searching. Unfortunately I got a bit frantic, so I’m not sure which
one solved my problem (I think it was actually quite obviously multiple
ones :). I’m going to list them all here, in one place, so that future
searchers for this problem will find all of them together:

  • Make sure the PHP load_path is coming through properly and
    includes the MythTV backend directory, ala:

    setenv include_path “/path/to/mythtv/share/mythtv/bindings/php/”

  • Make sure the mythtv user has a password set properly and is
    authorized in the database users table to have access from localhost,
    ::1, and 127.*, as it’s sometimes unclear which way Apache might
    connect.
  • In Debian testing, make sure PHP 7 is definitely not in use by MythWeb
    (I am guessing it is incompatible), and make sure the right PHP5 MySql
    modules are installed.
    The MythWeb
    installation instructions do say
    :

    apache2-mpm-prefork php5 php5-mysql libhttp-date-perl

    And at one point, I somehow got php5-mysql installed and
    libapache2-mod-php5 without having php5 installed, which I think may have
    caused a problem.

  • Also, read

    this
    thread from the MythTV mailing list
    as it is the most comprehensive
    in discussing this error.

I did have
to update the
channel lineup
with mythfilldatabase --dd-grab-all

MythWeb Confusing Error Message

Post Syndicated from Bradley M. Kuhn original http://ebb.org/bkuhn/blog/2016/03/13/mythweb-database.html

I’m finally configuring Kodi properly to watch over-the-air channels using
this this
USB ATSC / DVB-T tuner card from Thinkpenguin
. I hate taking time
away, even on the weekends, from the urgent Conservancy matters but I’ve
been doing by-hand recordings using VLC for my wife when she’s at work,
and I just need to present a good solution to my home to showcase software
freedom here.

So, I installed Debian testing to get a newr Kodi, I did
discover this
bug after it had already been closed
but had to
pull util-linux out of unstable for the moment since it hadn’t
moved to testing.

Kodi works fine after installing it via apt, and since VDR is packaged for
Debian, I tried getting VDR working instead of MythTV at first. I almost
had it working but then I got this error:

VNSI-Error: cxSocket::read: read() error at 0/4

when trying to use kodi-pvr-vdr-vnsi (1.11.15-1) with vdr-plugin-vnsiserver
(1:1.3.1) combined with vdr (2.2.0-5) and kodi (16.0+dfsg1-1). I tried
briefly using the upstream plugins for both VDR and Kodi just to be sure
I’d produce the same error, and got the same so I started by reporting this
on the Kodi
VDR backend forum
. If I don’t get a response there in a few weeks,
I’ll file it as a bug against kodi-pvr-vdr-vnsi instead.

For now, I gave up on VDR (which I rather liked, very old-school
Unix-server module was to build a PVR), and tried MythTV instead since it’s
also GPL’d. Since there weren’t Debian packages,
I followed
this building from source tutorial on MythTV’s website
.

I didn’t think I’d actually
need to
install MythWeb
at first, because I am using Kodi primarily and am only
using MythTV backend to handle the tuner card. It was pretty odd that you
can only configure MythTV via a QT program
called mythtv-setup, but ok, I did that, and it was
relatiavely straight forward. Once I did, playback was working reasonable
using Kodi’s MythTV plugin. (BTW, if you end up doing this, it’s fine to
test Kodi as its own in a window with a desktop environment running, but I
had playback speed issues in that usage, but they went away fully when I
switched to a simple .xinitrc that just
called kodi-standalone.

The only problem left was that I noticed that I was not
getting Event Information Table
(EIT)
data from the card to add to
the Electronic
Program Guide (EPG)
. Then I discovered that
one must
install MythWeb for the EIT data to make it through via the plugin for EPG
in Kodi
. Seems weird to me, but ok, I went to install MythWeb.

Oddly, this is where I had the most trouble, constantly receiving this
error message:

PHP Fatal error: Call to a member function query_col() on null in /path/to/mythweb/modules/backend_log/init.php on line 15

The top net.search hit is likely to
be this bug ticket
which
out points out
that this is a horrible form of an error message to tell you the equivalent
of “something is strange about the database configuration, but I’m
not sure what”
.

Indeed, I tried a litany of items which i found through lots of
net.searching. Unfortunately I got a bit frantic, so I’m not sure which
one solved my problem (I think it was actually quite obviously multiple
ones :). I’m going to list them all here, in one place, so that future
searchers for this problem will find all of them together:

  • Make sure the PHP load_path is coming through properly and
    includes the MythTV backend directory, ala:

    setenv include_path “/path/to/mythtv/share/mythtv/bindings/php/”

  • Make sure the mythtv user has a password set properly and is
    authorized in the database users table to have access from localhost,
    ::1, and 127.*, as it’s sometimes unclear which way Apache might
    connect.
  • In Debian testing, make sure PHP 7 is definitely not in use by MythWeb
    (I am guessing it is incompatible), and make sure the right PHP5 MySql
    modules are installed.
    The MythWeb
    installation instructions do say
    :

    apache2-mpm-prefork php5 php5-mysql libhttp-date-perl

    And at one point, I somehow got php5-mysql installed and
    libapache2-mod-php5 without having php5 installed, which I think may have
    caused a problem.

  • Also, read

    this
    thread from the MythTV mailing list
    as it is the most comprehensive
    in discussing this error.

I did have
to update the
channel lineup
with mythfilldatabase --dd-grab-all

MythWeb Confusing Error Message

Post Syndicated from Bradley M. Kuhn original http://ebb.org/bkuhn/blog/2016/03/13/mythweb-database.html

I’m finally configuring Kodi properly to watch over-the-air channels using
this this
USB ATSC / DVB-T tuner card from Thinkpenguin
. I hate taking time
away, even on the weekends, from the urgent Conservancy matters but I’ve
been doing by-hand recordings using VLC for my wife when she’s at work,
and I just need to present a good solution to my home to showcase software
freedom here.

So, I installed Debian testing to get a newr Kodi, I did
discover this
bug after it had already been closed
but had to
pull util-linux out of unstable for the moment since it hadn’t
moved to testing.

Kodi works fine after installing it via apt, and since VDR is packaged for
Debian, I tried getting VDR working instead of MythTV at first. I almost
had it working but then I got this error:

VNSI-Error: cxSocket::read: read() error at 0/4

when trying to use kodi-pvr-vdr-vnsi (1.11.15-1) with vdr-plugin-vnsiserver
(1:1.3.1) combined with vdr (2.2.0-5) and kodi (16.0+dfsg1-1). I tried
briefly using the upstream plugins for both VDR and Kodi just to be sure
I’d produce the same error, and got the same so I started by reporting this
on the Kodi
VDR backend forum
. If I don’t get a response there in a few weeks,
I’ll file it as a bug against kodi-pvr-vdr-vnsi instead.

For now, I gave up on VDR (which I rather liked, very old-school
Unix-server module was to build a PVR), and tried MythTV instead since it’s
also GPL’d. Since there weren’t Debian packages,
I followed
this building from source tutorial on MythTV’s website
.

I didn’t think I’d actually
need to
install MythWeb
at first, because I am using Kodi primarily and am only
using MythTV backend to handle the tuner card. It was pretty odd that you
can only configure MythTV via a QT program
called mythtv-setup, but ok, I did that, and it was
relatiavely straight forward. Once I did, playback was working reasonable
using Kodi’s MythTV plugin. (BTW, if you end up doing this, it’s fine to
test Kodi as its own in a window with a desktop environment running, but I
had playback speed issues in that usage, but they went away fully when I
switched to a simple .xinitrc that just
called kodi-standalone.

The only problem left was that I noticed that I was not
getting Event Information Table
(EIT)
data from the card to add to
the Electronic
Program Guide (EPG)
. Then I discovered that
one must
install MythWeb for the EIT data to make it through via the plugin for EPG
in Kodi
. Seems weird to me, but ok, I went to install MythWeb.

Oddly, this is where I had the most trouble, constantly receiving this
error message:

PHP Fatal error: Call to a member function query_col() on null in /path/to/mythweb/modules/backend_log/init.php on line 15

The top net.search hit is likely to
be this bug ticket
which
out points out
that this is a horrible form of an error message to tell you the equivalent
of “something is strange about the database configuration, but I’m
not sure what”
.

Indeed, I tried a litany of items which i found through lots of
net.searching. Unfortunately I got a bit frantic, so I’m not sure which
one solved my problem (I think it was actually quite obviously multiple
ones :). I’m going to list them all here, in one place, so that future
searchers for this problem will find all of them together:

  • Make sure the PHP load_path is coming through properly and
    includes the MythTV backend directory, ala:

    setenv include_path “/path/to/mythtv/share/mythtv/bindings/php/”

  • Make sure the mythtv user has a password set properly and is
    authorized in the database users table to have access from localhost,
    ::1, and 127.*, as it’s sometimes unclear which way Apache might
    connect.
  • In Debian testing, make sure PHP 7 is definitely not in use by MythWeb
    (I am guessing it is incompatible), and make sure the right PHP5 MySql
    modules are installed.
    The MythWeb
    installation instructions do say
    :

    apache2-mpm-prefork php5 php5-mysql libhttp-date-perl

    And at one point, I somehow got php5-mysql installed and
    libapache2-mod-php5 without having php5 installed, which I think may have
    caused a problem.

  • Also, read

    this
    thread from the MythTV mailing list
    as it is the most comprehensive
    in discussing this error.

I did have
to update the
channel lineup
with mythfilldatabase --dd-grab-all

MythWeb Confusing Error Message

Post Syndicated from Bradley M. Kuhn original http://ebb.org/bkuhn/blog/2016/03/13/mythweb-database.html

I’m finally configuring Kodi properly to watch over-the-air channels using
this this
USB ATSC / DVB-T tuner card from Thinkpenguin
. I hate taking time
away, even on the weekends, from the urgent Conservancy matters but I’ve
been doing by-hand recordings using VLC for my wife when she’s at work,
and I just need to present a good solution to my home to showcase software
freedom here.

So, I installed Debian testing to get a newr Kodi, I did
discover this
bug after it had already been closed
but had to
pull util-linux out of unstable for the moment since it hadn’t
moved to testing.

Kodi works fine after installing it via apt, and since VDR is packaged for
Debian, I tried getting VDR working instead of MythTV at first. I almost
had it working but then I got this error:

VNSI-Error: cxSocket::read: read() error at 0/4

when trying to use kodi-pvr-vdr-vnsi (1.11.15-1) with vdr-plugin-vnsiserver
(1:1.3.1) combined with vdr (2.2.0-5) and kodi (16.0+dfsg1-1). I tried
briefly using the upstream plugins for both VDR and Kodi just to be sure
I’d produce the same error, and got the same so I started by reporting this
on the Kodi
VDR backend forum
. If I don’t get a response there in a few weeks,
I’ll file it as a bug against kodi-pvr-vdr-vnsi instead.

For now, I gave up on VDR (which I rather liked, very old-school
Unix-server module was to build a PVR), and tried MythTV instead since it’s
also GPL’d. Since there weren’t Debian packages,
I followed
this building from source tutorial on MythTV’s website
.

I didn’t think I’d actually
need to
install MythWeb
at first, because I am using Kodi primarily and am only
using MythTV backend to handle the tuner card. It was pretty odd that you
can only configure MythTV via a QT program
called mythtv-setup, but ok, I did that, and it was
relatiavely straight forward. Once I did, playback was working reasonable
using Kodi’s MythTV plugin. (BTW, if you end up doing this, it’s fine to
test Kodi as its own in a window with a desktop environment running, but I
had playback speed issues in that usage, but they went away fully when I
switched to a simple .xinitrc that just
called kodi-standalone.

The only problem left was that I noticed that I was not
getting Event Information Table
(EIT)
data from the card to add to
the Electronic
Program Guide (EPG)
. Then I discovered that
one must
install MythWeb for the EIT data to make it through via the plugin for EPG
in Kodi
. Seems weird to me, but ok, I went to install MythWeb.

Oddly, this is where I had the most trouble, constantly receiving this
error message:

PHP Fatal error: Call to a member function query_col() on null in /path/to/mythweb/modules/backend_log/init.php on line 15

The top net.search hit is likely to
be this bug ticket
which
out points out
that this is a horrible form of an error message to tell you the equivalent
of “something is strange about the database configuration, but I’m
not sure what”
.

Indeed, I tried a litany of items which i found through lots of
net.searching. Unfortunately I got a bit frantic, so I’m not sure which
one solved my problem (I think it was actually quite obviously multiple
ones :). I’m going to list them all here, in one place, so that future
searchers for this problem will find all of them together:

  • Make sure the PHP load_path is coming through properly and
    includes the MythTV backend directory, ala:

    setenv include_path “/path/to/mythtv/share/mythtv/bindings/php/”

  • Make sure the mythtv user has a password set properly and is
    authorized in the database users table to have access from localhost,
    ::1, and 127.*, as it’s sometimes unclear which way Apache might
    connect.
  • In Debian testing, make sure PHP 7 is definitely not in use by MythWeb
    (I am guessing it is incompatible), and make sure the right PHP5 MySql
    modules are installed.
    The MythWeb
    installation instructions do say
    :

    apache2-mpm-prefork php5 php5-mysql libhttp-date-perl

    And at one point, I somehow got php5-mysql installed and
    libapache2-mod-php5 without having php5 installed, which I think may have
    caused a problem.

  • Also, read

    this
    thread from the MythTV mailing list
    as it is the most comprehensive
    in discussing this error.

I did have
to update the
channel lineup
with mythfilldatabase --dd-grab-all

MythWeb Confusing Error Message

Post Syndicated from Bradley M. Kuhn original http://ebb.org/bkuhn/blog/2016/03/13/mythweb-database.html

I’m finally configuring Kodi properly to watch over-the-air channels using
this this
USB ATSC / DVB-T tuner card from Thinkpenguin
. I hate taking time
away, even on the weekends, from the urgent Conservancy matters but I’ve
been doing by-hand recordings using VLC for my wife when she’s at work,
and I just need to present a good solution to my home to showcase software
freedom here.

So, I installed Debian testing to get a newr Kodi, I did
discover this
bug after it had already been closed
but had to
pull util-linux out of unstable for the moment since it hadn’t
moved to testing.

Kodi works fine after installing it via apt, and since VDR is packaged for
Debian, I tried getting VDR working instead of MythTV at first. I almost
had it working but then I got this error:

VNSI-Error: cxSocket::read: read() error at 0/4

when trying to use kodi-pvr-vdr-vnsi (1.11.15-1) with vdr-plugin-vnsiserver
(1:1.3.1) combined with vdr (2.2.0-5) and kodi (16.0+dfsg1-1). I tried
briefly using the upstream plugins for both VDR and Kodi just to be sure
I’d produce the same error, and got the same so I started by reporting this
on the Kodi
VDR backend forum
. If I don’t get a response there in a few weeks,
I’ll file it as a bug against kodi-pvr-vdr-vnsi instead.

For now, I gave up on VDR (which I rather liked, very old-school
Unix-server module was to build a PVR), and tried MythTV instead since it’s
also GPL’d. Since there weren’t Debian packages,
I followed
this building from source tutorial on MythTV’s website
.

I didn’t think I’d actually
need to
install MythWeb
at first, because I am using Kodi primarily and am only
using MythTV backend to handle the tuner card. It was pretty odd that you
can only configure MythTV via a QT program
called mythtv-setup, but ok, I did that, and it was
relatiavely straight forward. Once I did, playback was working reasonable
using Kodi’s MythTV plugin. (BTW, if you end up doing this, it’s fine to
test Kodi as its own in a window with a desktop environment running, but I
had playback speed issues in that usage, but they went away fully when I
switched to a simple .xinitrc that just
called kodi-standalone.

The only problem left was that I noticed that I was not
getting Event Information Table
(EIT)
data from the card to add to
the Electronic
Program Guide (EPG)
. Then I discovered that
one must
install MythWeb for the EIT data to make it through via the plugin for EPG
in Kodi
. Seems weird to me, but ok, I went to install MythWeb.

Oddly, this is where I had the most trouble, constantly receiving this
error message:

PHP Fatal error: Call to a member function query_col() on null in /path/to/mythweb/modules/backend_log/init.php on line 15

The top net.search hit is likely to
be this bug ticket
which
out points out
that this is a horrible form of an error message to tell you the equivalent
of “something is strange about the database configuration, but I’m
not sure what”
.

Indeed, I tried a litany of items which i found through lots of
net.searching. Unfortunately I got a bit frantic, so I’m not sure which
one solved my problem (I think it was actually quite obviously multiple
ones :). I’m going to list them all here, in one place, so that future
searchers for this problem will find all of them together:

  • Make sure the PHP load_path is coming through properly and
    includes the MythTV backend directory, ala:

    setenv include_path “/path/to/mythtv/share/mythtv/bindings/php/”

  • Make sure the mythtv user has a password set properly and is
    authorized in the database users table to have access from localhost,
    ::1, and 127.*, as it’s sometimes unclear which way Apache might
    connect.
  • In Debian testing, make sure PHP 7 is definitely not in use by MythWeb
    (I am guessing it is incompatible), and make sure the right PHP5 MySql
    modules are installed.
    The MythWeb
    installation instructions do say
    :

    apache2-mpm-prefork php5 php5-mysql libhttp-date-perl

    And at one point, I somehow got php5-mysql installed and
    libapache2-mod-php5 without having php5 installed, which I think may have
    caused a problem.

  • Also, read

    this
    thread from the MythTV mailing list
    as it is the most comprehensive
    in discussing this error.

I did have
to update the
channel lineup
with mythfilldatabase --dd-grab-all

MythWeb Confusing Error Message

Post Syndicated from Bradley M. Kuhn original http://ebb.org/bkuhn/blog/2016/03/13/mythweb-database.html

I’m finally configuring Kodi properly to watch over-the-air channels using
this this
USB ATSC / DVB-T tuner card from Thinkpenguin
. I hate taking time
away, even on the weekends, from the urgent Conservancy matters but I’ve
been doing by-hand recordings using VLC for my wife when she’s at work,
and I just need to present a good solution to my home to showcase software
freedom here.

So, I installed Debian testing to get a newr Kodi, I did
discover this
bug after it had already been closed
but had to
pull util-linux out of unstable for the moment since it hadn’t
moved to testing.

Kodi works fine after installing it via apt, and since VDR is packaged for
Debian, I tried getting VDR working instead of MythTV at first. I almost
had it working but then I got this error:

VNSI-Error: cxSocket::read: read() error at 0/4

when trying to use kodi-pvr-vdr-vnsi (1.11.15-1) with vdr-plugin-vnsiserver
(1:1.3.1) combined with vdr (2.2.0-5) and kodi (16.0+dfsg1-1). I tried
briefly using the upstream plugins for both VDR and Kodi just to be sure
I’d produce the same error, and got the same so I started by reporting this
on the Kodi
VDR backend forum
. If I don’t get a response there in a few weeks,
I’ll file it as a bug against kodi-pvr-vdr-vnsi instead.

For now, I gave up on VDR (which I rather liked, very old-school
Unix-server module was to build a PVR), and tried MythTV instead since it’s
also GPL’d. Since there weren’t Debian packages,
I followed
this building from source tutorial on MythTV’s website
.

I didn’t think I’d actually
need to
install MythWeb
at first, because I am using Kodi primarily and am only
using MythTV backend to handle the tuner card. It was pretty odd that you
can only configure MythTV via a QT program
called mythtv-setup, but ok, I did that, and it was
relatiavely straight forward. Once I did, playback was working reasonable
using Kodi’s MythTV plugin. (BTW, if you end up doing this, it’s fine to
test Kodi as its own in a window with a desktop environment running, but I
had playback speed issues in that usage, but they went away fully when I
switched to a simple .xinitrc that just
called kodi-standalone.

The only problem left was that I noticed that I was not
getting Event Information Table
(EIT)
data from the card to add to
the Electronic
Program Guide (EPG)
. Then I discovered that
one must
install MythWeb for the EIT data to make it through via the plugin for EPG
in Kodi
. Seems weird to me, but ok, I went to install MythWeb.

Oddly, this is where I had the most trouble, constantly receiving this
error message:

PHP Fatal error: Call to a member function query_col() on null in /path/to/mythweb/modules/backend_log/init.php on line 15

The top net.search hit is likely to
be this bug ticket
which
out points out
that this is a horrible form of an error message to tell you the equivalent
of “something is strange about the database configuration, but I’m
not sure what”
.

Indeed, I tried a litany of items which i found through lots of
net.searching. Unfortunately I got a bit frantic, so I’m not sure which
one solved my problem (I think it was actually quite obviously multiple
ones :). I’m going to list them all here, in one place, so that future
searchers for this problem will find all of them together:

  • Make sure the PHP load_path is coming through properly and
    includes the MythTV backend directory, ala:

    setenv include_path “/path/to/mythtv/share/mythtv/bindings/php/”

  • Make sure the mythtv user has a password set properly and is
    authorized in the database users table to have access from localhost,
    ::1, and 127.*, as it’s sometimes unclear which way Apache might
    connect.
  • In Debian testing, make sure PHP 7 is definitely not in use by MythWeb
    (I am guessing it is incompatible), and make sure the right PHP5 MySql
    modules are installed.
    The MythWeb
    installation instructions do say
    :

    apache2-mpm-prefork php5 php5-mysql libhttp-date-perl

    And at one point, I somehow got php5-mysql installed and
    libapache2-mod-php5 without having php5 installed, which I think may have
    caused a problem.

  • Also, read

    this
    thread from the MythTV mailing list
    as it is the most comprehensive
    in discussing this error.

I did have
to update the
channel lineup
with mythfilldatabase --dd-grab-all

MythWeb Confusing Error Message

Post Syndicated from Bradley M. Kuhn original http://ebb.org/bkuhn/blog/2016/03/13/mythweb-database.html

I’m finally configuring Kodi properly to watch over-the-air channels using
this this
USB ATSC / DVB-T tuner card from Thinkpenguin
. I hate taking time
away, even on the weekends, from the urgent Conservancy matters but I’ve
been doing by-hand recordings using VLC for my wife when she’s at work,
and I just need to present a good solution to my home to showcase software
freedom here.

So, I installed Debian testing to get a newr Kodi, I did
discover this
bug after it had already been closed
but had to
pull util-linux out of unstable for the moment since it hadn’t
moved to testing.

Kodi works fine after installing it via apt, and since VDR is packaged for
Debian, I tried getting VDR working instead of MythTV at first. I almost
had it working but then I got this error:

VNSI-Error: cxSocket::read: read() error at 0/4

when trying to use kodi-pvr-vdr-vnsi (1.11.15-1) with vdr-plugin-vnsiserver
(1:1.3.1) combined with vdr (2.2.0-5) and kodi (16.0+dfsg1-1). I tried
briefly using the upstream plugins for both VDR and Kodi just to be sure
I’d produce the same error, and got the same so I started by reporting this
on the Kodi
VDR backend forum
. If I don’t get a response there in a few weeks,
I’ll file it as a bug against kodi-pvr-vdr-vnsi instead.

For now, I gave up on VDR (which I rather liked, very old-school
Unix-server module was to build a PVR), and tried MythTV instead since it’s
also GPL’d. Since there weren’t Debian packages,
I followed
this building from source tutorial on MythTV’s website
.

I didn’t think I’d actually
need to
install MythWeb
at first, because I am using Kodi primarily and am only
using MythTV backend to handle the tuner card. It was pretty odd that you
can only configure MythTV via a QT program
called mythtv-setup, but ok, I did that, and it was
relatiavely straight forward. Once I did, playback was working reasonable
using Kodi’s MythTV plugin. (BTW, if you end up doing this, it’s fine to
test Kodi as its own in a window with a desktop environment running, but I
had playback speed issues in that usage, but they went away fully when I
switched to a simple .xinitrc that just
called kodi-standalone.

The only problem left was that I noticed that I was not
getting Event Information Table
(EIT)
data from the card to add to
the Electronic
Program Guide (EPG)
. Then I discovered that
one must
install MythWeb for the EIT data to make it through via the plugin for EPG
in Kodi
. Seems weird to me, but ok, I went to install MythWeb.

Oddly, this is where I had the most trouble, constantly receiving this
error message:

PHP Fatal error: Call to a member function query_col() on null in /path/to/mythweb/modules/backend_log/init.php on line 15

The top net.search hit is likely to
be this bug ticket
which
out points out
that this is a horrible form of an error message to tell you the equivalent
of “something is strange about the database configuration, but I’m
not sure what”
.

Indeed, I tried a litany of items which i found through lots of
net.searching. Unfortunately I got a bit frantic, so I’m not sure which
one solved my problem (I think it was actually quite obviously multiple
ones :). I’m going to list them all here, in one place, so that future
searchers for this problem will find all of them together:

  • Make sure the PHP load_path is coming through properly and
    includes the MythTV backend directory, ala:

    setenv include_path “/path/to/mythtv/share/mythtv/bindings/php/”

  • Make sure the mythtv user has a password set properly and is
    authorized in the database users table to have access from localhost,
    ::1, and 127.*, as it’s sometimes unclear which way Apache might
    connect.
  • In Debian testing, make sure PHP 7 is definitely not in use by MythWeb
    (I am guessing it is incompatible), and make sure the right PHP5 MySql
    modules are installed.
    The MythWeb
    installation instructions do say
    :

    apache2-mpm-prefork php5 php5-mysql libhttp-date-perl

    And at one point, I somehow got php5-mysql installed and
    libapache2-mod-php5 without having php5 installed, which I think may have
    caused a problem.

  • Also, read

    this
    thread from the MythTV mailing list
    as it is the most comprehensive
    in discussing this error.

I did have
to update the
channel lineup
with mythfilldatabase --dd-grab-all

MythWeb Confusing Error Message

Post Syndicated from Bradley M. Kuhn original http://ebb.org/bkuhn/blog/2016/03/13/mythweb-database.html

I’m finally configuring Kodi properly to watch over-the-air channels using
this this
USB ATSC / DVB-T tuner card from Thinkpenguin
. I hate taking time
away, even on the weekends, from the urgent Conservancy matters but I’ve
been doing by-hand recordings using VLC for my wife when she’s at work,
and I just need to present a good solution to my home to showcase software
freedom here.

So, I installed Debian testing to get a newr Kodi, I did
discover this
bug after it had already been closed
but had to
pull util-linux out of unstable for the moment since it hadn’t
moved to testing.

Kodi works fine after installing it via apt, and since VDR is packaged for
Debian, I tried getting VDR working instead of MythTV at first. I almost
had it working but then I got this error:

VNSI-Error: cxSocket::read: read() error at 0/4

when trying to use kodi-pvr-vdr-vnsi (1.11.15-1) with vdr-plugin-vnsiserver
(1:1.3.1) combined with vdr (2.2.0-5) and kodi (16.0+dfsg1-1). I tried
briefly using the upstream plugins for both VDR and Kodi just to be sure
I’d produce the same error, and got the same so I started by reporting this
on the Kodi
VDR backend forum
. If I don’t get a response there in a few weeks,
I’ll file it as a bug against kodi-pvr-vdr-vnsi instead.

For now, I gave up on VDR (which I rather liked, very old-school
Unix-server module was to build a PVR), and tried MythTV instead since it’s
also GPL’d. Since there weren’t Debian packages,
I followed
this building from source tutorial on MythTV’s website
.

I didn’t think I’d actually
need to
install MythWeb
at first, because I am using Kodi primarily and am only
using MythTV backend to handle the tuner card. It was pretty odd that you
can only configure MythTV via a QT program
called mythtv-setup, but ok, I did that, and it was
relatiavely straight forward. Once I did, playback was working reasonable
using Kodi’s MythTV plugin. (BTW, if you end up doing this, it’s fine to
test Kodi as its own in a window with a desktop environment running, but I
had playback speed issues in that usage, but they went away fully when I
switched to a simple .xinitrc that just
called kodi-standalone.

The only problem left was that I noticed that I was not
getting Event Information Table
(EIT)
data from the card to add to
the Electronic
Program Guide (EPG)
. Then I discovered that
one must
install MythWeb for the EIT data to make it through via the plugin for EPG
in Kodi
. Seems weird to me, but ok, I went to install MythWeb.

Oddly, this is where I had the most trouble, constantly receiving this
error message:

PHP Fatal error: Call to a member function query_col() on null in /path/to/mythweb/modules/backend_log/init.php on line 15

The top net.search hit is likely to
be this bug ticket
which
out points out
that this is a horrible form of an error message to tell you the equivalent
of “something is strange about the database configuration, but I’m
not sure what”
.

Indeed, I tried a litany of items which i found through lots of
net.searching. Unfortunately I got a bit frantic, so I’m not sure which
one solved my problem (I think it was actually quite obviously multiple
ones :). I’m going to list them all here, in one place, so that future
searchers for this problem will find all of them together:

  • Make sure the PHP load_path is coming through properly and
    includes the MythTV backend directory, ala:

    setenv include_path “/path/to/mythtv/share/mythtv/bindings/php/”

  • Make sure the mythtv user has a password set properly and is
    authorized in the database users table to have access from localhost,
    ::1, and 127.*, as it’s sometimes unclear which way Apache might
    connect.
  • In Debian testing, make sure PHP 7 is definitely not in use by MythWeb
    (I am guessing it is incompatible), and make sure the right PHP5 MySql
    modules are installed.
    The MythWeb
    installation instructions do say
    :

    apache2-mpm-prefork php5 php5-mysql libhttp-date-perl

    And at one point, I somehow got php5-mysql installed and
    libapache2-mod-php5 without having php5 installed, which I think may have
    caused a problem.

  • Also, read

    this
    thread from the MythTV mailing list
    as it is the most comprehensive
    in discussing this error.

I did have
to update the
channel lineup
with mythfilldatabase --dd-grab-all

MythWeb Confusing Error Message

Post Syndicated from Bradley M. Kuhn original http://ebb.org/bkuhn/blog/2016/03/13/mythweb-database.html

I’m finally configuring Kodi properly to watch over-the-air channels using
this this
USB ATSC / DVB-T tuner card from Thinkpenguin
. I hate taking time
away, even on the weekends, from the urgent Conservancy matters but I’ve
been doing by-hand recordings using VLC for my wife when she’s at work,
and I just need to present a good solution to my home to showcase software
freedom here.

So, I installed Debian testing to get a newr Kodi, I did
discover this
bug after it had already been closed
but had to
pull util-linux out of unstable for the moment since it hadn’t
moved to testing.

Kodi works fine after installing it via apt, and since VDR is packaged for
Debian, I tried getting VDR working instead of MythTV at first. I almost
had it working but then I got this error:

VNSI-Error: cxSocket::read: read() error at 0/4

when trying to use kodi-pvr-vdr-vnsi (1.11.15-1) with vdr-plugin-vnsiserver
(1:1.3.1) combined with vdr (2.2.0-5) and kodi (16.0+dfsg1-1). I tried
briefly using the upstream plugins for both VDR and Kodi just to be sure
I’d produce the same error, and got the same so I started by reporting this
on the Kodi
VDR backend forum
. If I don’t get a response there in a few weeks,
I’ll file it as a bug against kodi-pvr-vdr-vnsi instead.

For now, I gave up on VDR (which I rather liked, very old-school
Unix-server module was to build a PVR), and tried MythTV instead since it’s
also GPL’d. Since there weren’t Debian packages,
I followed
this building from source tutorial on MythTV’s website
.

I didn’t think I’d actually
need to
install MythWeb
at first, because I am using Kodi primarily and am only
using MythTV backend to handle the tuner card. It was pretty odd that you
can only configure MythTV via a QT program
called mythtv-setup, but ok, I did that, and it was
relatiavely straight forward. Once I did, playback was working reasonable
using Kodi’s MythTV plugin. (BTW, if you end up doing this, it’s fine to
test Kodi as its own in a window with a desktop environment running, but I
had playback speed issues in that usage, but they went away fully when I
switched to a simple .xinitrc that just
called kodi-standalone.

The only problem left was that I noticed that I was not
getting Event Information Table
(EIT)
data from the card to add to
the Electronic
Program Guide (EPG)
. Then I discovered that
one must
install MythWeb for the EIT data to make it through via the plugin for EPG
in Kodi
. Seems weird to me, but ok, I went to install MythWeb.

Oddly, this is where I had the most trouble, constantly receiving this
error message:

PHP Fatal error: Call to a member function query_col() on null in /path/to/mythweb/modules/backend_log/init.php on line 15

The top net.search hit is likely to
be this bug ticket
which
out points out
that this is a horrible form of an error message to tell you the equivalent
of “something is strange about the database configuration, but I’m
not sure what”
.

Indeed, I tried a litany of items which i found through lots of
net.searching. Unfortunately I got a bit frantic, so I’m not sure which
one solved my problem (I think it was actually quite obviously multiple
ones :). I’m going to list them all here, in one place, so that future
searchers for this problem will find all of them together:

  • Make sure the PHP load_path is coming through properly and
    includes the MythTV backend directory, ala:

    setenv include_path “/path/to/mythtv/share/mythtv/bindings/php/”

  • Make sure the mythtv user has a password set properly and is
    authorized in the database users table to have access from localhost,
    ::1, and 127.*, as it’s sometimes unclear which way Apache might
    connect.
  • In Debian testing, make sure PHP 7 is definitely not in use by MythWeb
    (I am guessing it is incompatible), and make sure the right PHP5 MySql
    modules are installed.
    The MythWeb
    installation instructions do say
    :

    apache2-mpm-prefork php5 php5-mysql libhttp-date-perl

    And at one point, I somehow got php5-mysql installed and
    libapache2-mod-php5 without having php5 installed, which I think may have
    caused a problem.

  • Also, read

    this
    thread from the MythTV mailing list
    as it is the most comprehensive
    in discussing this error.

I did have
to update the
channel lineup
with mythfilldatabase --dd-grab-all

MythWeb Confusing Error Message

Post Syndicated from Bradley M. Kuhn original http://ebb.org/bkuhn/blog/2016/03/13/mythweb-database.html

I’m finally configuring Kodi properly to watch over-the-air channels using
this this
USB ATSC / DVB-T tuner card from Thinkpenguin
. I hate taking time
away, even on the weekends, from the urgent Conservancy matters but I’ve
been doing by-hand recordings using VLC for my wife when she’s at work,
and I just need to present a good solution to my home to showcase software
freedom here.

So, I installed Debian testing to get a newr Kodi, I did
discover this
bug after it had already been closed
but had to
pull util-linux out of unstable for the moment since it hadn’t
moved to testing.

Kodi works fine after installing it via apt, and since VDR is packaged for
Debian, I tried getting VDR working instead of MythTV at first. I almost
had it working but then I got this error:

VNSI-Error: cxSocket::read: read() error at 0/4

when trying to use kodi-pvr-vdr-vnsi (1.11.15-1) with vdr-plugin-vnsiserver
(1:1.3.1) combined with vdr (2.2.0-5) and kodi (16.0+dfsg1-1). I tried
briefly using the upstream plugins for both VDR and Kodi just to be sure
I’d produce the same error, and got the same so I started by reporting this
on the Kodi
VDR backend forum
. If I don’t get a response there in a few weeks,
I’ll file it as a bug against kodi-pvr-vdr-vnsi instead.

For now, I gave up on VDR (which I rather liked, very old-school
Unix-server module was to build a PVR), and tried MythTV instead since it’s
also GPL’d. Since there weren’t Debian packages,
I followed
this building from source tutorial on MythTV’s website
.

I didn’t think I’d actually
need to
install MythWeb
at first, because I am using Kodi primarily and am only
using MythTV backend to handle the tuner card. It was pretty odd that you
can only configure MythTV via a QT program
called mythtv-setup, but ok, I did that, and it was
relatiavely straight forward. Once I did, playback was working reasonable
using Kodi’s MythTV plugin. (BTW, if you end up doing this, it’s fine to
test Kodi as its own in a window with a desktop environment running, but I
had playback speed issues in that usage, but they went away fully when I
switched to a simple .xinitrc that just
called kodi-standalone.

The only problem left was that I noticed that I was not
getting Event Information Table
(EIT)
data from the card to add to
the Electronic
Program Guide (EPG)
. Then I discovered that
one must
install MythWeb for the EIT data to make it through via the plugin for EPG
in Kodi
. Seems weird to me, but ok, I went to install MythWeb.

Oddly, this is where I had the most trouble, constantly receiving this
error message:

PHP Fatal error: Call to a member function query_col() on null in /path/to/mythweb/modules/backend_log/init.php on line 15

The top net.search hit is likely to
be this bug ticket
which
out points out
that this is a horrible form of an error message to tell you the equivalent
of “something is strange about the database configuration, but I’m
not sure what”
.

Indeed, I tried a litany of items which i found through lots of
net.searching. Unfortunately I got a bit frantic, so I’m not sure which
one solved my problem (I think it was actually quite obviously multiple
ones :). I’m going to list them all here, in one place, so that future
searchers for this problem will find all of them together:

  • Make sure the PHP load_path is coming through properly and
    includes the MythTV backend directory, ala:

    setenv include_path “/path/to/mythtv/share/mythtv/bindings/php/”

  • Make sure the mythtv user has a password set properly and is
    authorized in the database users table to have access from localhost,
    ::1, and 127.*, as it’s sometimes unclear which way Apache might
    connect.
  • In Debian testing, make sure PHP 7 is definitely not in use by MythWeb
    (I am guessing it is incompatible), and make sure the right PHP5 MySql
    modules are installed.
    The MythWeb
    installation instructions do say
    :

    apache2-mpm-prefork php5 php5-mysql libhttp-date-perl

    And at one point, I somehow got php5-mysql installed and
    libapache2-mod-php5 without having php5 installed, which I think may have
    caused a problem.

  • Also, read

    this
    thread from the MythTV mailing list
    as it is the most comprehensive
    in discussing this error.

I did have
to update the
channel lineup
with mythfilldatabase --dd-grab-all

New Name, New Home for the Let’s Encrypt Client Software

Post Syndicated from Let's Encrypt original https://letsencrypt.org/2016/03/09/le-client-new-home.html

Update: Added clarification that only the Let’s Encrypt client software is changing its name and host. The Let’s Encrypt certificate authority and associated services are not changing names or relocating.

Over the next few months the Let’s Encrypt client software will transition to a new name, soon to be announced, and a new home at the Electronic Frontier Foundation (EFF).

This change does not affect the Let’s Encrypt certificate authority (CA) or associated services, which will retain the Let’s Encrypt name and continue to be hosted by the Internet Security Research Group.

The goal of Let’s Encrypt is to make turning on HTTPS as easy as possible. To accomplish that, it’s not enough to fully automate certificate issuance on the certificate authority (CA) side – we have to fully automate on the client side as well. The Let’s Encrypt client is now being used by hundreds of thousands of websites and we expect it to continue to be a popular choice for sites that are run from a single server or VPS.

That said, the web server ecosystem is complex, and it would be impossible for any particular client to serve everyone well. As a result, the Let’s Encrypt community has created dozens of clients to meet many diverse needs. Moving forward, we feel it would be best for Let’s Encrypt to focus on promoting a generally healthy client and protocol ecosystem and for our client to move to the EFF. This will also allow us to focus our engineering efforts on running a reliable and rapidly growing CA server infrastructure.

The Let’s Encrypt client goes further than most other clients in terms of end-to-end automation and extensibility, both getting certificates and in many cases installing them. This is an important strategy since major servers don’t yet have built-in support, and we want to make sure it’s given a proper chance to thrive. The EFF has led development of the Let’s Encrypt client from the beginning, and they are well-qualified to continue pursuing this strategy.

The rename is happening for reasons that go beyond the move to the EFF. One additional reason for the rename is that we want the client to be distributable and customisable without having to create a complex process for deciding whether customized variants are appropriate for use with Let’s Encrypt trademarks. Another reason is that we want it to be clear that the client can work with any ACME-enabled CA in the future, not just Let’s Encrypt.

We expect the client to do well at the EFF and continue to be used by many people to get certificates from Let’s Encrypt.

Our Millionth Certificate

Post Syndicated from Let's Encrypt original https://letsencrypt.org/2016/03/08/our-millionth-cert.html

Let’s Encrypt has issued its millionth certificate. Our first million certificates are helping to secure approximately 2.4 million domains. This milestone means a lot to a team that started building a CA from scratch 16 months ago with an aim to have a real impact on the security of the Web as soon as possible.

We want to see HTTPS become the default on the Web, and today’s occasion gives us confidence that we’re going to get there – much faster than even we predicted. We’re growing at a current rate of more than 100,000 certificates per week and don’t see this slowing down anytime soon. This is dramatic and very rapid change for the Web.

Our rapid growth is due to strong demand for an easy-to-use, low-cost, widely trusted, and truly global solution for certificate issuance and management. We also received a considerable boost from industry endorsement, with major hosting companies like OVH, WordPress.com, Gandi, Dreamhost, and Digital Ocean helping many sites move to HTTPS with Let’s Encrypt.

HTTPS has been around for a long time but according to Firefox telemetry only ~40% of websites and ~65% of transactions used HTTPS at the end of 2015. Those numbers should both be 100% if the Web is to provide the level of privacy and security that people expect, and Let’s Encrypt is going to lead the way.

Let’s Encrypt depends on support from a wide variety of individuals and organizations. Please consider getting involved, and if your company or organization would like to sponsor Let’s Encrypt please email us at [email protected].

The collective thoughts of the interwebz