[mythtv-users] mythvidexport was working now errors out

Anthony Giggins seven at seven.dorksville.net
Sat Sep 14 06:34:44 UTC 2013


On 14 September 2013 15:27, Mark Perkins <perkins1724 at hotmail.com> wrote:

> > >>> //snip//
> > >>> jobqueue.cpp:2439 (DoUserJobThread) JobQueue: User Job
> > >>> '/usr/bin/mythvidexport.py  --verbose general --loglevel info
> > >>> --syslog
> > >>> local7 4524' failed.
> > >>>
> > >>> Taking JOBID: 4524  from that and running commandline it works and
> > >>> produces
> > >>> this:
> > >>>
> > >>> william at william-mythtv:~$ mythvidexport.py 4524
> > >>> 2013-09-13 15:28:53.064381 I [30692] mythvidexport.py Using
> > >>> recording
> > >>> -- Galaxy Quest -
> > >>> 2013-09-13 15:28:53.090670 I [30692] mythvidexport.py Attempting
> > >>> Movie export.
> > >>> 2013-09-13 15:28:53.513544 I [30692] mythvidexport.py Importing
> > >>> content from
> > >>> -- 926
> > >>> 2013-09-13 15:28:53.937363 I [30692] mythvidexport.py Import
> > >>> complete
> > >>> 2013-09-13 15:28:53.939074 I [30692] mythvidexport.py Copying
> > >>> myth://Default@william-mythtv/12112_20130912085600.nuv to
> > >>> myth://Videos@william-mythtv/Movies/Galaxy Quest.nuv
> > >>> 2013-09-13 15:29:12.084101 I [30692] mythvidexport.py Transfer
> > >>> Complete
> > >>> -- 18 seconds elapsed
> > >>> william at william-mythtv:~$
> > >>>
> > >>> [Mark] Out of curiosity what happens if you run the full command
> > >>> from the command line, ie "mythvidexport.py  --verbose general
> > >>> --loglevel info --syslog local7 4524" and not just "mythvidexport.py
> > 4524".
> > >>>
> > >>>
> > >>> _______________________________________________
> > >>> mythtv-users mailing list
> > >>> mythtv-users at mythtv.org
> > >>> http://www.mythtv.org/mailman/listinfo/mythtv-users
> > >>>
> > >> Doing that I get this:
> > >>
> > >> william at william-mythtv:/var/mail$ mythvidexport.py  --verbose general
> > >> -- loglevel info --syslog local7 4550
> > >>
> > >> with zero output on the commandline(other than returning to the
> > >> prompt) or the mythbackend.log fiile. In the /var/log/syslog file I
> get:
> > >>
> > >> Sep 13 19:18:51 william-mythtv mythvidexport.py[6253]: Using
> > >> recording
> > >> -- Reba - All Fore One
> > >> Sep 13 19:18:51 william-mythtv mythvidexport.py[6253]: Performing TV
> > >> export with local data.
> > >> Sep 13 19:18:53 william-mythtv mythvidexport.py[6253]: Import
> > >> complete Sep 13 19:18:53 william-mythtv mythvidexport.py[6253]:
> > >> Copying myth://Default@william-mythtv/2023_20130912155600.nuv to
> > >> myth://Videos@william-mythtv/Television/Reba/Season 4/Reba - S4E07 -
> > >> All Fore One.nuv Sep 13 19:18:53 william-mythtv
> mythvidexport.py[6253]:
> > >> Transfer Complete
> > >> -- 0 seconds elapsed
> > >>
> > >> Then I look and the file was exported.
> > >>
> > > [Mark] Maybe check the permissions on the file
> > > /usr/bin/mythvidexport.py and make sure that the mythtv user has the
> > > correct permission not just the desktop user? I think chown 755 is the
> > general recommendation (rwxr-xr-x).
> > >
> > > _______________________________________________
> > > mythtv-users mailing list
> > > mythtv-users at mythtv.org
> > > http://www.mythtv.org/mailman/listinfo/mythtv-users
> > >
> > Also meant to add from commandline(though its the same info):
> >
> > -rwxr-xr-x 1 mythtv mythtv 18056 Sep  8 22:48 mythvidexport.py
> >
> [Mark] No doubt there is something obvious being missed but sorry to say I
> can't see it - although there are others (everyone?) that know far more
> about the inner workings of this stuff than me. Only other suggestion I
> could make which is probably really grasping at straws is to change to the
> MythTV user at the command prompt and run the mythvidexport.py command as
> the mythtv user. Maybe this will pick up if mythtv user does not have
> access
> to a destination folder or something similar. "sudo su mythtv" I think.
> Sorry but that's the best I can think of.
>
>
>
sudo su mythtv -c "command blah"

Cheers,

Anthony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130914/2581669e/attachment.html>


More information about the mythtv-users mailing list