Hi Doug,<br><br><div class="gmail_quote">On Wed, Jun 2, 2010 at 11:44 AM, Doug Vaughan <span dir="ltr">&lt;<a href="mailto:r.d.vaughan@rogers.com">r.d.vaughan@rogers.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Jack,<br>
   I am not sure what version of Jamu you are running. In your next post please include the information from:<br>
&gt; /where ever Jamu is path/jamu.py -v<br></blockquote><div> </div><div>Title: (JAMU - Just.Another.Metadata.Utility); Version: (v0.7.3); Author: (R.D.Vaughan)<br><br>This python script is intended to perform a variety of utility functions on mythvideo metadata<br>
and the associated video files.<br><br>The primary movie source for graphics and data is <a href="http://themoviedb.com">themoviedb.com</a> wiki.<br>The primary TV Series source for graphics and data is <a href="http://thetvdb.com">thetvdb.com</a> wiki.<br>
Users of this script are encouraged to populate both <a href="http://themoviedb.com">themoviedb.com</a> and <a href="http://thetvdb.com">thetvdb.com</a> with posters,<br>fan art and banners and meta data. The richer the source the more valuable the script.<br>
<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
   Do you know what type of database engine you are using in MySQL for the &quot; mythconverg&quot; data base. I only ask this as a long while ago a user had the &quot;InnoDB&quot; engine instead of the usual &quot;MyISAM&quot;. Apparently &quot;InnoDB&quot; supported database roll-back so every jamu write to the data base was being rolled back.<br>
</blockquote><div><br>You are correct, I&#39;m using InnoDB.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
      Now this was fixed a long time ago in the Python bindings (since Mythtv 0.22+fixes) but I wonder if this is related as no other users do not seem to have this issue.<br></blockquote><div><br>I&#39;m betting you&#39;re right here too.  I put breakpoints in the bindings and stopped just before the the execute for the update.  If I evaluate the string the connect is about to execute (ie the &quot;UPDATE ...&quot;) and try it in the mysql client then it works ok.  The bindings don&#39;t work however.<br>
 <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
      As for debugging information output &quot;-b, --debug Show debugging info&quot; but you better be prepared for a lot of output. Assuming you will not be using an interactive option like &quot;-I&quot; and &quot;-R&quot; then you should pipe the output to a log file. Typically I only use the &quot;-V&quot; (verbose) option during problem analysis.<br>

   Example:<br>
&gt; /where ever Jamu is path/jamu.py -MWV -d &gt; issue1.log<br>
<br>
or<br>
<br>
&gt; /where ever Jamu is path/jamu.py -MV -d &gt; issue2.log<br>
<br></blockquote><div>I&#39;m guessing in your examples you mean &#39;-b&#39; instead of &#39;-d&#39;.  Unfortunately I AM using -R, but here&#39;s the output (with some inane parts trimmed):<br><br>perveil@cerebro:~$ /usr/share/mythtv/mythvideo/scripts/jamu.py -MRV -b -l en -C &quot;/home/mythtv/.mythtv/jamu.conf&quot;<br>
opts {&#39;flags_options&#39;: False, &#39;version&#39;: False, &#39;mythtv_guess&#39;: False, &#39;examples&#39;: False, &#39;download&#39;: False, &#39;user_config&#39;: &#39;/home/mythtv/.mythtv/jamu.conf&#39;, &#39;overwrite&#39;: False, &#39;toprated&#39;: False, &#39;nokeys&#39;: False, &#39;usage&#39;: False, &#39;mythtv_ref_num&#39;: True, &#39;mythtv_watched&#39;: False, &#39;update&#39;: False, &#39;mythtvdir&#39;: False, &#39;mythtvjanitor&#39;: False, &#39;language&#39;: &#39;en&#39;, &#39;mythtv_inetref&#39;: False, &#39;selected_data&#39;: None, &#39;maximum&#39;: None, &#39;simulation&#39;: False, &#39;ret_filename&#39;: False, &#39;debug&#39;: True, &#39;mythtv_verbose&#39;: True, &#39;mythtvmeta&#39;: True, &#39;mythtvNFS&#39;: False, &#39;interactive&#39;: False}<br>
<br>args []<br>2010-06-02 16:36:06.309 Python Database Connection: Using connection settings from /home/perveil/.mythtv/config.xml<br><br>&lt;snip regular jamu messages about storage groups&gt;<br><br>2010-06-02 16:36:06,340) DEBUG Checking for a valid video filename extension<br>
2010-06-02 16:36:06,341) DEBUG Checking for a valid video filename extension<br>2010-06-02 16:36:06,341) DEBUG Checking for a valid video filename extension<br>2010-06-02 16:36:06,341) DEBUG Checking for a valid video filename extension<br>
2010-06-02 16:36:06,341) DEBUG Checking for a valid video filename extension<br>2010-06-02 16:36:06,342) DEBUG Checking for a valid video filename extension<br>2010-06-02 16:36:06,342) DEBUG Checking for a valid video filename extension<br>
<br>! Warning: Skipping non-video file name: (/myth/video/.movie_covers/Thumbs.db)<br>2010-06-02 16:36:06,342) DEBUG Checking for a valid video filename extension<br><br>! Warning: Skipping non-video file name: (/myth/video/Thumbs.db)<br>
2010-06-02 16:36:06,343) DEBUG Checking for a valid video filename extension<br>2010-06-02 16:36:06,344) DEBUG Checking for a valid video filename extension<br><br>! Warning: Skipping non-video file name: (/myth/video/codecs.conf)<br>
2010-06-02 16:36:06,344) DEBUG Checking for a valid video filename extension<br><br>! Warning: Skipping non-video file name: (/myth/video/xine-out.wav)<br>Mythtv video database maintenance start: 2010-06-02 16:36<br><br>Now processing video file (X-Men)(0)(0)<br>
<br>DEBUG: XML URL:<a href="http://api.themoviedb.org/2.1/Movie.search/en/xml/c27cb71cff5bd76e1a7a009380562c62/x-men">http://api.themoviedb.org/2.1/Movie.search/en/xml/c27cb71cff5bd76e1a7a009380562c62/x-men</a><br><br>2010-06-02 16:36:07,154) DEBUG Interactivily selecting movie using ConsoleUI<br>
<a href="http://themoviedb.org">themoviedb.org</a> Search Results:<br>2010-06-02 16:36:07,154) DEBUG Showing allElements[1] = &lt;Movie: None&gt;)<br> 1 -&gt; X-Men: The Last Stand (2006)                       # <a href="http://www.themoviedb.org/movie/36668">http://www.themoviedb.org/movie/36668</a><br>
2010-06-02 16:36:07,155) DEBUG Showing allElements[2] = &lt;Movie: None&gt;)<br> 2 -&gt; X-Men: Pryde of the X-Men (1989)                   # <a href="http://www.themoviedb.org/movie/37713">http://www.themoviedb.org/movie/37713</a><br>
2010-06-02 16:36:07,155) DEBUG Showing allElements[3] = &lt;Movie: None&gt;)<br> 3 -&gt; Ten Dead Men (2008)                                # <a href="http://www.themoviedb.org/movie/16259">http://www.themoviedb.org/movie/16259</a><br>
2010-06-02 16:36:07,156) DEBUG Showing allElements[4] = &lt;Movie: None&gt;)<br> 4 -&gt; X-Men Origins: Wolverine (2009)                    # <a href="http://www.themoviedb.org/movie/2080">http://www.themoviedb.org/movie/2080</a><br>
2010-06-02 16:36:07,156) DEBUG Showing allElements[5] = &lt;Movie: None&gt;)<br> 5 -&gt; X-Men (2000)                                       # <a href="http://www.themoviedb.org/movie/36657">http://www.themoviedb.org/movie/36657</a><br>
2010-06-02 16:36:07,159) DEBUG Showing allElements[6] = &lt;Movie: None&gt;)<br> 6 -&gt; X2 (2003)                                          # <a href="http://www.themoviedb.org/movie/36658">http://www.themoviedb.org/movie/36658</a><br>
2010-06-02 16:36:07,160) DEBUG Showing allElements[7] = {&#39;id&#39;: &#39;99999999&#39;, &#39;name&#39;: u&#39;User choses to ignore video&#39;})<br> 7 -&gt; 99999999 # Set this video to be ignored by Jamu with a reference number of &#39;99999999&#39;<br>
Direct search of <a href="http://themoviedb.org">themoviedb.org</a> # <a href="http://themoviedb.org/">http://themoviedb.org/</a><br>Enter choice:<br>(&quot;Enter&quot; key equals first selection (1)) or input a zero padded 5 digit movie TMDB id number, ? for help):<br>
5    <br>2010-06-02 16:46:08,846) DEBUG Got choice of: 5<br>2010-06-02 16:46:08,847) DEBUG Trying to return ID: 4<br><br>Reference number (36657) added for (X-Men) <br><br>Mythtv video database maintenance ends at  : 2010-06-02 16:46<br>
<br>------------------Statistics---------------<br>Number of video files processed .....(    1)<br>Number of Fanart graphics downloaded (    0)<br>Number of Poster graphics downloaded (    0)<br>Number of Banner graphics downloaded (    0)<br>
Number of 2nd source graphics downld (    0)<br>Number of metadata downloads.........(    0)<br>Number of 2nd source metadata found .(    0)<br>Number of symbolic links created.....(    0)<br>Number of Myth database updates......(    1)<br>
Number of undersized posters ........(    0)<br>Number of Movies using IMDB numbers .(    0)<br><br>--------------Updated Video Files----------<br>X-Men<br><br><br>Nothing too interesting, really.   I think jamu is in the clear (it passes the correct intid and inetref to the bindings), so my pretend money is on the InnoDB angle.  Tonight I&#39;ll try and alter the table back to myisam and see if that helps.<br>
<br>Thanks,<br><br>--Jack<br></div></div>