Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

mytharchive failing

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


allanwilson at gmail

Jul 18, 2006, 7:43 PM

Post #1 of 10 (1125 views)
Permalink
mytharchive failing

I am running Myth on the latest SVN version and Ubuntu Breezy I am getting
the following error message when trying to run MythArchive and I would guess
that it is probably a package but I'm not sure what I am hanging on. Anyone
have any ideas? Thanks

2006-07-18 19:44:41 mythburn.py (0.1.20060718-1) starting up...
2006-07-18 19:44:41 Obtaining MythTV settings from MySQL database for
hostname mythtv
2006-07-18 19:44:42 Obtaining date and time settings from MySQL database for
hostname mythtv
2006-07-18 19:44:42 Processing Mythburn job number 1.
2006-07-18 19:44:42 Options - mediatype = 0, doburn = 1, createiso = 0,
erasedvdrw = 0
2006-07-18 19:44:42 savefilename = ''
2006-07-18 19:44:42 Looking for:
/usr/share/mythtv/mytharchive/themes/MythCenter/theme.xml
2006-07-18 19:44:42 Loading font 0, /usr/share/mythtv/FreeSans.ttf size 19
2006-07-18 19:44:42 Loading font 1, /usr/share/mythtv/FreeSans.ttf size 15
2006-07-18 19:44:42 Loading font 2, /usr/share/mythtv/FreeSans.ttf size 13
2006-07-18 19:44:42 wantIntro: 1, wantMainMenu: 1, wantChapterMenu:1,
wantDetailsPage: 0
2006-07-18 19:44:42 Final DVD Video format will be ntsc
2006-07-18 19:44:42 There are 2 files to process
2006-07-18 19:44:42 Pre-processing file '1043_20060524180000.mpg' of type
'recording'
2006-07-18 19:44:42 Ghost Hunters
2006-07-18 19:44:42 Video resolution is 480 by 480
2006-07-18 19:44:42 Pre-processing file '1043_20060503200000.mpg' of type
'recording'
2006-07-18 19:44:42 Ghost Hunters
2006-07-18 19:44:42 Video resolution is 480 by 480
2006-07-18 19:44:42 Menu items per page 3
2006-07-18 19:44:42 Background image file is
/usr/share/mythtv/mytharchive/themes/MythCenter/MythCenter-Background.png
2006-07-18 19:44:42 Music is menumusic.mp2, length is 15 seconds
2006-07-18 19:44:42 Creating DVD menus
2006-07-18 19:44:42 Menu page 1
2006-07-18 19:44:42 Image file does not exist
'/video/tmp/work/1/thumbnail.jpg'
2006-07-18 19:44:42 Image file does not exist
'/video/tmp/work/2/thumbnail.jpg'
2006-07-18 19:44:43 Encoding Menu Page 1 using aspect ratio '16:9'
2006-07-18 19:45:09 Chapter items per page 8
2006-07-18 19:45:09 Background image file is
/usr/share/mythtv/mytharchive/themes/MythCenter/MythCenter-Background.png
2006-07-18 19:45:09 Music is menumusic.mp2, length is 15 seconds
2006-07-18 19:45:09 Creating DVD sub-menus
2006-07-18 19:45:09 Sub-menu 1
2006-07-18 19:45:09 Video length is 3595 seconds. Each chapter will be 449
seconds
2006-07-18 19:45:09 Extracting thumbnail images from:
/video/tmp/work/1/stream.mv2 - at 0,449,898,1347,1796,2245,2694,3143,
2006-07-18 19:45:09 Destination file /video/tmp/work/1/chapter-%1.jpg
2006-07-18 19:45:09
************************************************************2006-07-18
19:45:09 ERROR: Failed while running mytharchivehelper to get thumbnails
2006-07-18 19:45:09
************************************************************2006-07-18
19:45:09
2006-07-18 19:45:09 Terminated

Allan


mythtv-users.mythtv.org at tgice

Jul 19, 2006, 9:25 AM

Post #2 of 10 (1079 views)
Permalink
Re: mytharchive failing [In reply to]

Allan Wilson wrote:
> I am running Myth on the latest SVN version and Ubuntu Breezy I am
> getting the following error message when trying to run MythArchive and I
> would guess that it is probably a package but I'm not sure what I am
> hanging on. Anyone have any ideas? Thanks

May be a problem with the version of whatever package is extracting the
thumbnails (imagemagick, mjpegtools?). I'm not really sure. All I
know, is I finally (after much tribulation) got this stuff working under
MythBurn and now it seems (though it's not much tested yet) to be also
working under MythArchive w/ SVN MythTV.

Here are some of the key package versions I noted (these are Gentoo
packages, but I imagine the version are decipherable):

media-video/ffmpeg-0.4.9_p20051216 *
media-gfx/imagemagick-6.2.4.2-r1 *
dev-python/imaging-1.1.5 *
media-video/mjpegtools-1.8.0-r1 *
media-video/transcode-0.6.14-r3 *
app-cdr/cdrtools-2.01 *

Hope that might help you or someone else trying to get MythBurn/Archive
working.

jl
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mythtv at dsl

Jul 19, 2006, 10:18 AM

Post #3 of 10 (1082 views)
Permalink
Re: mytharchive failing [In reply to]

Allan Wilson wrote:
> I am running Myth on the latest SVN version and Ubuntu Breezy I am
> getting the following error message when trying to run MythArchive and
> I would guess that it is probably a package but I'm not sure what I am
> hanging on. Anyone have any ideas? Thanks
>
Sorry! I screwed up on my last commit. I accidentally left the
debug_secondrunthough flag set to True. I'll fix it shortly or you can
just set the flag to False and all will be well.

Paul H.

_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


allanwilson at gmail

Jul 20, 2006, 2:32 PM

Post #4 of 10 (1068 views)
Permalink
Re: mytharchive failing [In reply to]

On 7/19/06, Paul Harrison <mythtv[at]dsl.pipex.com> wrote:
>
> Allan Wilson wrote:
> > I am running Myth on the latest SVN version and Ubuntu Breezy I am
> > getting the following error message when trying to run MythArchive and
> > I would guess that it is probably a package but I'm not sure what I am
> > hanging on. Anyone have any ideas? Thanks
> >
> Sorry! I screwed up on my last commit. I accidentally left the
> debug_secondrunthough flag set to True. I'll fix it shortly or you can
> just set the flag to False and all will be well.
>
> Paul H.
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

No problems I'll wait a couple of days and download again and give it a
shot. Thanks for all your work.

Allan


johnatl at mac

Aug 25, 2006, 3:09 PM

Post #5 of 10 (1021 views)
Permalink
Re: Mytharchive failing [In reply to]

On Fri, 25 Aug 2006 11:17:05 -0400, Peter Martens
<petermartens.list[at]gmail.com> wrote:

> I don 't know if it is just my stupidity or a real peoblem in
> mytharchive, so I post this one here.
...
> file.attributes["filename"].value)
> File "/usr/lib/python2.4/posixpath.py", line 62, in join
> elif path == '' or path.endswith('/'):
> AttributeError: 'NoneType' object has no attribute 'endswith'
>
> Someone knows where to start to debug this one?

I wish I did know how to debug it.
I haven't been able to find any rhyme or reason as to why MythArchive
works on some recordings, and not on others. I did have an issue with it
not being able to extract time and channel information from the recorded
filenames, but fixed that (in mythrename.pl, which I had made changes to).
Now it's anyone's guess.

I'm hoping someone wil help us both :-)

I believe my installed version (based on the strings extracted from
libmytharchive.so) is 0.19.20060708-1.

archive_create_archive
archive_encode_video
0.19.20060708-1
mytharchive
Test Popup Version Failed

Regards,
JJ

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mythtv at dsl

Aug 27, 2006, 11:32 AM

Post #6 of 10 (1011 views)
Permalink
Re: Mytharchive failing [In reply to]

Peter Martens wrote:
> I don 't know if it is just my stupidity or a real peoblem in
> mytharchive, so I post this one here.
> The problem is that I always get this error when trying to archive
> some files with mytharchive. I run mytharchive from a remote frontend,
> storage is mounted through nfs. I don 't have a burner in my frontend
> so I am trying to write an ISO. No matter what I try I always get this
> error message a few seconds after starting.
>
> Traceback (most recent call last):
> File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 2900, in ?
> processJob(job)
> File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 2684,
> in processJob
> preProcessFile(node,folder)
> File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 922,
> in preProcessFile
> mediafile = os.path.join(recordingpath, file.attributes["filename"].value)
> File "/usr/lib/python2.4/posixpath.py", line 62, in join
> elif path == '' or path.endswith('/'):
> AttributeError: 'NoneType' object has no attribute 'endswith'
>
> Someone knows where to start to debug this one?
>
> Thanks
>
> Peter
>
http://www.gossamer-threads.com/lists/mythtv/dev/204419#204419

Basically you need to add a 'RecordFilePrefix' setting in the DB for the
hostname you are running the frontend on.

Paul H.


_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


petermartens.list at gmail

Aug 27, 2006, 5:28 PM

Post #7 of 10 (1000 views)
Permalink
Re: Mytharchive failing [In reply to]

> Basically you need to add a 'RecordFilePrefix' setting in the DB for the
> hostname you are running the frontend on.
>
> Paul H.

Hi Paul,

Thanks, that was the issue indeed. Just made my first DVD. Splendid!
I wondered though if it is normal that all the temporary files that
got created stay in place (in my tmp-directory)? That way a hard drive
gets filled up easily...

Another question that came to my mind is whether it would be best to
set my working-dir (tmp) on my nfs-partition, on the same server where
my files are, or to put on my local computer, from where mytharchive
runs?

Thanks

Peter
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


knowledgejunkie at gmail

May 20, 2008, 6:47 PM

Post #8 of 10 (523 views)
Permalink
Re: Mytharchive Failing [In reply to]

On 21/05/2008, Anthony Giggins <seven[at]seven.dorksville.net> wrote:
> I'm trying to use MythArchive to burn a recorded show to dvd+rw but I'm
> getting the error below
>
> 2008-05-18 22:29:52 Burning ISO image to /dev/dvd
> 2008-05-18 22:29:52 growisofs -dvd-compat -use-the-force-luke -Z /dev/dvd
> -dvd- video -V Ugly Betty /storage/temp/work/dvd
> 2008-05-18 22:29:52 Running growisofs to burn DVD
> 2008-05-18 22:29:54
> ------------------------------------------------------------
> 2008-05-18 22:29:54 ERROR: Failed while running growisofs.
> 2008-05-18 22:29:54 Result 133, Command was: growisofs -dvd-compat
> -use-the-for ce-luke -Z /dev/dvd -dvd-video -V Ugly Betty
> /storage/temp/work/dvd
> 2008-05-18 22:29:54 Please check the troubleshooting section of the README
> for w ays to fix this error
> 2008-05-18 22:29:54
> ------------------------------------------------------------
> 2008-05-18 22:29:54
> 2008-05-18 22:29:54 Terminated
>
> If I run from a command line as the same user (ie. mythtv) and change the
> -V to include quotes it works, I've checked the permissions on my /dev/dvd
> device (as per the mytharchive README) which is symlinked to /dev/sr0 and
> these are fine it just appears that mytharchive is not adding the Quotes,
> I'm pretty sure this would work if the show was a single word ie.
> UglyBetty

See http://cvs.mythtv.org/trac/ticket/4908

--
Nick Morrott

MythTV Official wiki:
http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


seven at seven

May 20, 2008, 7:05 PM

Post #9 of 10 (522 views)
Permalink
Re: Mytharchive Failing [In reply to]

>
> See http://cvs.mythtv.org/trac/ticket/4908
>
> --
> Nick Morrott


Hmmmm weird my mythburn.py looks like it is already Version
0.1.20080325-1-fixes
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


seven at seven

Jul 23, 2008, 5:53 AM

Post #10 of 10 (316 views)
Permalink
Re: Mytharchive Failing [In reply to]

>
>
> >
> > See http://cvs.mythtv.org/trac/ticket/4908
> >
> > --
> > Nick Morrott
>
>
> Hmmmm weird my mythburn.py looks like it is already Version
> 0.1.20080325-1-fixes

For the record, updating via yum to mythtv-0.21-191.fc8 fixed the problem.

Cheers

_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.