Doug,<br>Please see the info below:<br><br>Thanks again for the help.<br><br>Regards,<br>Ash.<br><br><br><br><div class="gmail_quote">On Sun, May 23, 2010 at 1:35 PM, 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;">Ash,<br>
   Lets take a step back as I do not remember how much information we exchanged last time. You will need to add the full path to jamu but, from a terminal please run<br>
&gt; ./jamu -v<br></blockquote><div><br><font color="#ff6666"><span style="color: rgb(51, 51, 255);">[root@mythtv scripts]# pwd</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">/usr/share/mythtv/mythvideo/scripts</span><br style="color: rgb(51, 51, 255);">

<span style="color: rgb(51, 51, 255);">[root@mythtv scripts]# python26 ./jamu.py -v</span><br style="color: rgb(51, 51, 255);"><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">Title: (JAMU - Just.Another.Metadata.Utility); Version: (v0.7.3); Author: (R.D.Vaughan)</span><br style="color: rgb(51, 51, 255);">

<br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">This python script is intended to perform a variety of utility functions on mythvideo metadata</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">and the associated video files.</span><br style="color: rgb(51, 51, 255);">

<br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">The primary movie source for graphics and data is <a href="http://themoviedb.com">themoviedb.com</a> wiki.</span><br style="color: rgb(51, 51, 255);">

<span style="color: rgb(51, 51, 255);">The primary TV Series source for graphics and data is <a href="http://thetvdb.com">thetvdb.com</a> wiki.</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">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,</span><br style="color: rgb(51, 51, 255);">

<span style="color: rgb(51, 51, 255);">fan art and banners and meta data. The richer the source the more valuable the script.</span><br></font> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<br>
Assuming you are on MythTV 0.23 or higher also in a terminal do the following:<br>
&gt; python<br>
&gt;&gt;&gt; import MythTV; MythTV.__version__<br></blockquote><div> </div><div><span style="color: rgb(51, 51, 255);">[root@mythtv scripts]# python26</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">Python 2.6 (r26:66714, Feb 13 2009, 15:01:48)</span><br style="color: rgb(51, 51, 255);">

<span style="color: rgb(51, 51, 255);">[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)] on linux2</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.</span><br style="color: rgb(51, 51, 255);">

<font color="#ff6666"><span style="color: rgb(51, 51, 255);">&gt;&gt;&gt; import MythTV; MythTV.__version__</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">Traceback (most recent call last):</span><br style="color: rgb(51, 51, 255);">

<span style="color: rgb(51, 51, 255);">  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">AttributeError: &#39;module&#39; object has no attribute &#39;__version__&#39;</span><br>

</font> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Ctrl-D to exit python.<br>
<br>
In your response supply the following information:<br>
1) The version number of Jamu from above and if you are using Mythtv 0.23 or higher, the response from the python &quot;import MythTV; MythTV.__version__&quot; command<br>
2) Your Linux distro and its version<br></blockquote><div> </div><div><font color="#ff6666"><span style="color: rgb(51, 51, 255);">CentOS 5 --</span><br style="color: rgb(51, 51, 255);"><br style="color: rgb(51, 51, 255);">

<br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">[root@mythtv ~]# uname -a</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">Linux mythtv 2.6.18-164.2.1.el5.plus #1 SMP Fri Oct 9 12:34:43 EDT 2009 i686 athlon i386 GNU/Linux</span><br style="color: rgb(51, 51, 255);">

<br></font> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
3) The version of MythTV you are running.<br></blockquote><div><br><font color="#ff6666"><span style="color: rgb(51, 51, 255);">[root@mythtv svn]# mythbackend --version</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">Please attach all output as a file in bug reports.</span><br style="color: rgb(51, 51, 255);">

<span style="color: rgb(51, 51, 255);">MythTV Version   : 24609</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">MythTV Branch    : branches/release-0-23-fixes</span><br style="color: rgb(51, 51, 255);">

<span style="color: rgb(51, 51, 255);">Network Protocol : 56</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">Library API      : 0.23.20100429-1</span><br style="color: rgb(51, 51, 255);">

<span style="color: rgb(51, 51, 255);">QT Version       : 4.5.1</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">Options compiled in:</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);"> linux release using_oss using_alsa using_jack using_backend using_dvb using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw using_bindings_perl using_bindings_python using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg</span><br>

</font> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
4) Does Jamu run fine from the command line but &quot;hang&quot; ONLY in a cron job?<br></blockquote><div> </div><div><font color="#ff6666"><span style="color: rgb(51, 51, 255);">i always run it as command line, and it fails everytime when i do that</span><br>

</font> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
5) Did you install Mythbuntu if so then what version and do you subscript to the &quot;Daily Builds&quot;?<br></blockquote><div><br><font style="color: rgb(51, 51, 255);" color="#ff6666">The theme &quot;mythbuntu&quot; came with my install -- so No, I didn&#39;t install it separately.</font> <br>

</div><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
6) Add a link to a recent Jamu -MWV log. Make sure it will be around for at least a week.<br></blockquote><div><br><font color="#ff9966"><span style="color: rgb(51, 51, 255);">2010-05-23 12:36:20.754 Python Database Connection: Using connection settings from /root/.mythtv/config.xml</span><br style="color: rgb(51, 51, 255);">

<br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">==========================================================================================</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">Listed below are the types and base directories Jamu will use for processing.</span><br style="color: rgb(51, 51, 255);">

<span style="color: rgb(51, 51, 255);">The list reflects your current configuration for the &#39;mythtv&#39; back end</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">and whether a directory is a &#39;SG&#39; (storage group) or not.</span><br style="color: rgb(51, 51, 255);">

<span style="color: rgb(51, 51, 255);">Note: All directories are from settings in the MythDB specific to hostname (mythtv).</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">Note: Screenshot directories are not listed as Jamu does not process Screenshots.</span><br style="color: rgb(51, 51, 255);">

<span style="color: rgb(51, 51, 255);">------------------------------------------------------------------------------------------</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">Type: Fan art     - SG-YES - Directory: (/usr/local/media/m1/fanart)</span><br style="color: rgb(51, 51, 255);">

<span style="color: rgb(51, 51, 255);">Type: Video       - SG-YES - Directory: (/usr/local/media/m2/videos)</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">Type: Cover art   - SG-YES - Directory: (/usr/local/media/m1/video_covers)</span><br style="color: rgb(51, 51, 255);">

<span style="color: rgb(51, 51, 255);">Type: Banners     - SG-YES - Directory: (/usr/local/media/m3/banners)</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">------------------------------------------------------------------------------------------</span><br style="color: rgb(51, 51, 255);">

<span style="color: rgb(51, 51, 255);">If a directory you set from a separate Front end is not displayed it means</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">that the directory is not accessible from this backend OR</span><br style="color: rgb(51, 51, 255);">

<span style="color: rgb(51, 51, 255);">you must add the missing directories using the Front end on this Back end.</span><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">Front end settings are host machine specific.</span><br style="color: rgb(51, 51, 255);">

<span style="color: rgb(51, 51, 255);">==========================================================================================</span><br style="color: rgb(51, 51, 255);"><br style="color: rgb(51, 51, 255);"><span style="color: rgb(51, 51, 255);">Found movie inetref (10022),[The Pacifier (2005)]<br>

<br><font color="#ff0000"><b>This was running for over 2 days, and it keeps sitting like this.</b></font><br></span></font> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


7) If you are using trunk resync and compile. Within the last month there was an issue with the new trunk python bindings which did not let either Jamu or MiroBridge exit from time to time. That has been subsequently fixed.<br>

</blockquote><div><br><font style="color: rgb(51, 51, 255);" color="#ff6666">I am using the 0-23-Fixes (not the trunk version) and I just updated it a week back...</font> <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>
The continuous hang issue you have reported has not come up before from any other users outside of what I described in my original response. Right now I am at a complete loss for what may be causing this issue.<br><font color="#888888">
<br>
Doug</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br>