<div class="gmail_quote">On Sat, Mar 21, 2009 at 7:51 PM, Dave M G <span dir="ltr">&lt;<a href="mailto:martin@autotelic.com">martin@autotelic.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jean-Yves,<br>
<br>
Thank you for responding.<div class="im"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Restart mythtv-setup and redo the video sources settings. When you add<br>
a grabber, you will get something on the command line where you<br>
started mythtv-setup , pay attention to those output and answer any<br>
questions properly.<br>
  <br>
</blockquote></div>
It doesn&#39;t look like anything useful came up in the command line. After recreating the video source and following all instructions, it says only this:<br>
<br>
~$ mythtv-setup<br>
* Stopping MythTV server: mythbackend<br>
[ OK ]<br>
* Restarting MythTV server: mythbackend<br>
No /usr/bin/mythbackend found running; none killed.<br>
<br>
I think tv_grab_jp might be fubar, because it looks to me like it can&#39;t find the listings source when I try to run it with the &quot;--configure&quot; command.<br>
<br>
$ sh tv_grab_jp --configure<br>
tv_grab_jp: 3: =pod: not found<br>
tv_grab_jp: 5: =head1: not found<br>
using config filename /home/media/.xmltv/tv_grab_jp.conf<br>
config file /home/media/.xmltv/tv_grab_jp.conf is empty, please delete and run me with --configure<br>
tv_grab_jp: 9: =head1: not found<br>
/usr/bin/tv_grab_jp: get Japanese television listings in XMLTV format<br>
To configure: /usr/bin/tv_grab_jp --configure [--config-file FILE] [--gui OPTION]<br>
To grab listings: /usr/bin/tv_grab_jp [--config-file FILE] [--output FILE] [--days N]<br>
       [--offset N] [--enable-readstr] [--no-category-code]<br>
       [--quiet]<br>
To list channels: /usr/bin/tv_grab_jp --list-channels<br>
using config filename /home/media/.xmltv/tv_grab_jp.conf<br>
getting regions<br>
could not fetch <a href="http://www.ontvjapan.com/areachange/areaselect.php3?tv=1&amp;force=1" target="_blank">http://www.ontvjapan.com/areachange/areaselect.php3?tv=1&amp;force=1</a>, error: 403 Forbidden, aborting<br>
using config filename /home/media/.xmltv/tv_grab_jp.conf<br>
config file /home/media/.xmltv/tv_grab_jp.conf is empty, please delete and run me with --configure<br>
tv_grab_jp: 16: [--offset: not found<br>
tv_grab_jp: 17: [--quiet]: not found<br>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
&lt;!DOCTYPE tv SYSTEM &quot;xmltv.dtd&quot;&gt;<br>
<br>
getting regions<br>
could not fetch <a href="http://www.ontvjapan.com/areachange/areaselect.php3?tv=1&amp;force=1" target="_blank">http://www.ontvjapan.com/areachange/areaselect.php3?tv=1&amp;force=1</a>, error: 403 Forbidden, aborting<br>
&lt;tv source-info-url=&quot;<a href="http://www.ontvjapan.com/" target="_blank">http://www.ontvjapan.com/</a>&quot; source-data-url=&quot;<a href="http://www.ontvjapan.com/program/" target="_blank">http://www.ontvjapan.com/program/</a>&quot; generator-info-name=&quot;XMLTV&quot; generator-info-url=&quot;<a href="http://membled.com/work/apps/xmltv/" target="_blank">http://membled.com/work/apps/xmltv/</a>&quot;&gt;tv_grab_jp: 21: =head1: not found<br>

tv_grab_jp: 23: Output: not found<br>
tv_grab_jp: 24: The: not found<br>
tv_grab_jp: 25: time.: not found<br>
tv_grab_jp: 27: First: not found<br>
tv_grab_jp: 28: to: not found<br>
tv_grab_jp: 29: listings: not found<br>
using config filename /home/media/.xmltv/tv_grab_jp.conf<br>
config file /home/media/.xmltv/tv_grab_jp.conf is empty, please delete and run me with --configure<br>
tv_grab_jp: 33: cannot open --configure: No such file<br>
tv_grab_jp: 33: B: not found<br>
tv_grab_jp: 34: and: not found<br>
tv_grab_jp: 36: cannot open --config-file: No such file<br>
tv_grab_jp: 36: B: not found<br>
tv_grab_jp: 37: cannot create .: Is a directory<br>
tv_grab_jp: 37: default: not found<br>
tv_grab_jp: 38: cannot open --configure: No such file<br>
tv_grab_jp: 38: B: not found<br>
tv_grab_jp: 40: cannot open --gui: No such file<br>
tv_grab_jp: 40: B: not found<br>
tv_grab_jp: 41: OPTION: not found<br>
tv_grab_jp: 42: Additional: not found<br>
tv_grab_jp: 43: Syntax error: word unexpected<div class="im"><br>
<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

I&#39;m a bit stuck since the instructions I am given do not match the reality.<br>
    <br>
</blockquote>
They do :)<br>
  <br>
</blockquote></div>
I do have to disagree on this point. The original command I ran explicitly told me to run mythfilldatabase with the &quot;--configure&quot; paramater, and there is no &quot;--configure&quot; parameter. That is a mismatch between instructions and reality.<br>

</blockquote><div><br><br>mythfilldatabase calls tv_grab_XYZ (without --configure, it should have gotten configured when you set up your video sources).  If that script errors it can:<br>-just die without error<br>-die with &quot;Your grabber failed&quot; and hide the error<br>
or<br>-pipe the grabber output to stdout in case it has useful info<br><br>It does #3 as it is the most useful.  Perhaps #2 with a log file could be alright, but it&#39;s not a killer.  Your grabber returned an error WITHOUT saying it came from the grabber.  MOST programs put &quot;tv_grab_XYZ: No config file found, run with --configure...&quot; in its output.<br>
<br>Mythtv was simply passing on the output VERBATIM (remember mythtv has to work with EVERY country&#39;s tv_grab, not customize to one) for you to use.  If it had hidden that info it would have been even more confusing.<br>
<br>The big problem is that you had not configured your video source, which is a prerequisite for running mythfilldatabase.  Remember that ALL STEPS in configuration MUST be done as the same user (usually mythtv) as video sources mostly store configuration data in your home directory.<br>
</div></div><br>