[mythtv-users] MythArchive help, please

John P Poet jppoet at gmail.com
Thu Sep 14 01:46:33 UTC 2006


On 9/13/06, John P Poet <jppoet at gmail.com> wrote:
> I decided to try MythArchive for the first time.  I did *not*
> "--enable-create-dvd" since I only want to use it for it's "export
> native" feature.
>
> I installed it, and went into it setup screens, and configured it.
>
> Then I "ran" it.  I selected a few files, and told it to "export" them
> to the "/video/archive/" directory, which I had created.  When the
> archive process actually started up, it spit out:
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 2006-09-13 19:11:02.077 Options - createiso: 0, doburn: 0, mediatype: 3, erasedv
> drw: 0
> 2006-09-13 19:11:02.077 savedirectory: /
> 2006-09-13 19:11:02.077 Saving files to : /
> 2006-09-13 19:11:02.079 Archiving Midsomer Murders (6115_20060910230000.mpg), do
>  delete: 1
> 2006-09-13 19:11:02.079 Extracting details from: 6115_20060910230000.mpg
> 2006-09-13 19:11:02.082 chanid: 6115 starttime:2006-09-10T23:00:00
> 2006-09-13 19:11:02.082 Creating xml file for Midsomer Murders
> 2006-09-13 19:11:02.084 Created recorded element for Midsomer Murders
> 2006-09-13 19:11:02.084 Created channel element for Midsomer Murders
> 2006-09-13 19:11:02.086 Created rating element for Midsomer Murders
> 2006-09-13 19:11:02.100 Created recordedmarkup element for Midsomer Murders
> 2006-09-13 19:11:03.033 Created recordedseek element for Midsomer Murders
> 2006-09-13 19:11:03.033 MythNativeWizard: Failed to open file for writing - /Mid
> somer Murders/6115_20060910230000.mpg.xml
> chmod: changing permissions of `/': Operation not permitted
> chmod: changing permissions of `/mythtv': Operation not permitted
> chmod: changing permissions of `/mnt': Operation not permitted
> chmod: changing permissions of `/tmp': Operation not permitted
> chmod: changing permissions of `/tmp/.font-unix': Operation not permitted
> chmod: changing permissions of `/tmp/.font-unix/fs7100': Operation not permitted
> chmod: changing permissions of `/tmp/.ICE-unix': Operation not permitted
> chmod: changing permissions of `/tmp/.X0-lock': Operation not permitted
> .
> .
> .
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Basically, it tried to chmod my entire file system.
>
> Since I told it to save the result in "/video/archive", why is it
> trying to use root?
>
> Thanks,
>
> John


I went into "exportnativewizard.cpp" and changed the constructor from:

    saveFilename = "";
    saveFilename = "/video/archive";

then ran it again.  Worked much better this time, but still failed:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2006-09-13 19:39:26.043 Options - createiso: 0, doburn: 0, mediatype:
3, erasedvdrw: 0
2006-09-13 19:39:26.044 savedirectory: /video/archive/
2006-09-13 19:39:26.044 Saving files to : /video/archive/
2006-09-13 19:39:26.045 Archiving Midsomer Murders
(6115_20060910230000.mpg), do delete: 1
2006-09-13 19:39:26.045 Extracting details from: 6115_20060910230000.mpg
2006-09-13 19:39:26.047 chanid: 6115 starttime:2006-09-10T23:00:00
2006-09-13 19:39:26.058 Creating xml file for Midsomer Murders
2006-09-13 19:39:26.060 Created recorded element for Midsomer Murders
2006-09-13 19:39:26.060 Created channel element for Midsomer Murders
2006-09-13 19:39:26.061 Created rating element for Midsomer Murders
2006-09-13 19:39:26.062 Created recordedmarkup element for Midsomer Murders
2006-09-13 19:39:26.989 Created recordedseek element for Midsomer Murders
2006-09-13 19:39:27.134 Copying video file
2006-09-13 19:39:27.134 copying from /mythtv/jade/6115_20060910230000.mpg
2006-09-13 19:39:27.135 to /video/archive/Midsomer
Murders/6115_20060910230000.mpg
2006-09-13 19:39:27.146 ERROR: Unable to open source file
2006-09-13 19:39:27.216 Native archive job completed OK
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The file "6115_20060910230000.mpg" does not live on my
frontend/backend machine (jade), but is actually on my backend machine
(cobalt).  Is MythArchive not able to handle files on remote machines?

Thanks,

John


More information about the mythtv-users mailing list