View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 63 posts ] 
Go to page Previous  1, 2, 3, 4, 5  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Mon May 08, 2006 4:48 am 
Offline
Joined: Tue Mar 07, 2006 7:04 am
Posts: 54
Anyone who's got this working well on KnoppMyth care to post an idiots guide?


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 09, 2006 3:44 pm 
Offline
Joined: Sat Jun 25, 2005 7:39 pm
Posts: 162
I'm having trouble compiling this in Knoppmyth R5B7, what should the prefix be? Here's my build log. Any help would be great.

Code:
root@mythtv:/myth/install/MythArchive/mytharchive# make
cd mytharchive && make -f Makefile
make[1]: Entering directory `/myth/install/MythArchive/mytharchive/mytharchive'
ccache distcc g++ -c -pipe -march=pentiumpro -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -W -O3 -Wall -Wno-switch -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC  -D_GNU_SOURCE -DPREFIX=\"/usr\" -DMMX -Di386 -DUSING_DBOX2 -DHAVE_DVDNAV -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/usr/share/qt3/mkspecs/default -I. -I/usr/include -I/usr/kde/3.3/include -I/usr/include -I/usr/include -I/usr/X11R6/include -I/root/mythtv-0.19-fixes/libs/libmythtv -I/root/mythtv-0.19-fixes/libs/libmyth -I/usr/include/qt3 -o main.o main.cpp
distcc[20652] ERROR: compile (null) on localhost failed
distcc[20651] (dcc_get_hostlist) Warning: no hostlist is set; can't distribute work
distcc[20651] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
main.cpp:22:45: mythtv/libmythui/myththemedmenu.h: No such file or directory
In file included from main.cpp:25:
mythburnwizard.h:13:25: programinfo.h: No such file or directory
In file included from main.cpp:30:
recordingselector.h:13:25: programinfo.h: No such file or directory
In file included from main.cpp:30:
recordingselector.h:44: error: `ProgramInfo' was not declared in this scope
recordingselector.h:44: error: parse error before `>' token
recordingselector.h:45: error: `ProgramInfo' was not declared in this scope
recordingselector.h:45: error: template argument 1 is invalid
recordingselector.h:45: error: ISO C++ forbids declaration of `selectedList'
   with no type
recordingselector.h:46: error: `ProgramInfo' was not declared in this scope
recordingselector.h:46: error: template argument 1 is invalid
recordingselector.h:46: error: ISO C++ forbids declaration of `useCutlistList'
   with no type
In file included from main.cpp:31:
videoselector.h:13:25: programinfo.h: No such file or directory
main.cpp: In function `void runVideoSelector()':
main.cpp:129: error: `MSqlQuery' undeclared (first use this function)
main.cpp:129: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
main.cpp:129: error: parse error before `(' token
main.cpp:130: error: `query' undeclared (first use this function)
main.cpp: In function `void runSelectMenu(QString)':
main.cpp:178: error: `MythThemedMenu' undeclared (first use this function)
main.cpp:178: error: `diag' undeclared (first use this function)
main.cpp:178: error: parse error before `(' token
main.cpp:186: error: `GetMythMainWindow' undeclared (first use this function)
main.cpp: In function `void runMenu(QString)':
main.cpp:210: error: parse error before `(' token
main.cpp: In function `void runSelectMenu(QString)':
main.cpp:176: warning: unused parameter `QString which_menu'
main.cpp: In function `void runMenu(QString)':
main.cpp:207: warning: unused parameter `QString which_menu'
distcc[20651] ERROR: compile main.cpp on localhost failed
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/myth/install/MythArchive/mytharchive/mytharchive'
make: *** [sub-mytharchive] Error 2


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 09, 2006 3:46 pm 
Offline
Joined: Tue Nov 25, 2003 9:19 am
Posts: 104
Location: Rapid City, SD
I don't think you can use R5B7 with MythArchive, I am pretty sure you have to be running SVN.


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 09, 2006 3:48 pm 
Offline
Joined: Sat Jun 25, 2005 7:39 pm
Posts: 162
Hmmm... OK that would explain it. Thanks for the quick response.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 14, 2006 7:45 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Lem wrote:
Anyone who's got this working well on KnoppMyth care to post an idiots guide?

Try this:
http://knoppmythwiki.org/index.php?page ... chiveHowTo

There were a few issues getting the svn version of mythtv to build, but I think I have sorted them out. I havent done any testing yet though, but if you are keen, you could give it a go.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 14, 2006 6:01 pm 
Offline
Joined: Sun Oct 16, 2005 9:24 pm
Posts: 61
Ok. I've followed the instructions in today's (May-14) version of the howto on the wiki:

http://knoppmythwiki.org/index.php?page=MythArchiveHowTo

Everything seemed to work just fine:
1.) revision 9846 of mythtv, mythplugins, and myththemes downloaded, built, and installed fine with no error messages.
2.) mytharchive (most recent revision) downloaded, built and installed just fine with no error messages.

Everything seems to be working except MythArchive. All of the menu options for MythArchive are now there, and I can select recordings to archive, etc. However, when I select the "finished" button on the very last page, nothing happens. I also do not see any options for burning DVDs in mythweb.

Any suggestions? I doubt it's relevant, but I had already installed the CVS version of mythburn prior to the installation of MythArchive.

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 14, 2006 6:31 pm 
Offline
Joined: Mon Aug 01, 2005 10:18 am
Posts: 84
I think I've gotten some info on the problem with the mythcenter theme. It works well with 1-3 videos selected, since its 3 recordings a page. With a fourth item selected it tries to generate two pages, but fails.
Code:
2006-05-14 20:19:39 Menu items per page 3
2006-05-14 20:19:39 Background image file is /usr/share/mythtv/mytharchive/themes/MythCenter/MythCenter-Background.png
2006-05-14 20:19:40 Creating DVD menus
2006-05-14 20:19:40 Menu page 1
2006-05-14 20:19:40 Added image /myth/tmp/work/1/thumbnail.jpg
2006-05-14 20:19:40 Added image /myth/tmp/work/2/thumbnail.jpg
2006-05-14 20:19:40 Added image /myth/tmp/work/3/thumbnail.jpg
2006-05-14 20:19:40 Added next button image /usr/share/mythtv/mytharchive/themes/MythCenter/next.png
2006-05-14 20:19:40 Added next button mask image /usr/share/mythtv/mytharchive/themes/MythCenter/next.png
2006-05-14 20:19:42 Encoding Menu Page 1
2006-05-14 20:20:30 ************************************************************
2006-05-14 20:20:30 ERROR: Failed while running spumux - spumux -m dvd -s 0 '/myth/tmp/work/spumux-1.xml' < '/myth/tmp/work/temp.mpg' > '/myth/tmp/work/menu-1.mpg'
2006-05-14 20:20:30 ************************************************************
2006-05-14 20:20:30
2006-05-14 20:20:30 Terminated


Copying the failed spumux command gives the following output:
Code:
DVDAuthor::spumux, version 0.6.11.
Build options: gnugetopt magick iconv freetype fribidi
Send bugs to <dvdauthor-users@lists.sourceforge.net>

INFO: Locale=C
INFO: Converting filenames to ANSI_X3.4-1968
INFO: Picture /myth/tmp/work/backgroundmask-1.png had 3 colors
INFO: Picture /myth/tmp/work/backgroundmask-1.png had 3 colors
INFO: Constructing blank img
ERR: Button coordinates out of range: (375,445)-(423,493)

This is the next button that bombs out.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 15, 2006 11:44 am 
Offline
Joined: Sat Nov 12, 2005 3:52 pm
Posts: 65
cmaines wrote:
Ok. I've followed the instructions in today's (May-14) version of the howto on the wiki:

http://knoppmythwiki.org/index.php?page=MythArchiveHowTo

Everything seemed to work just fine:
1.) revision 9846 of mythtv, mythplugins, and myththemes downloaded, built, and installed fine with no error messages.
2.) mytharchive (most recent revision) downloaded, built and installed just fine with no error messages.

Everything seems to be working except MythArchive. All of the menu options for MythArchive are now there, and I can select recordings to archive, etc. However, when I select the "finished" button on the very last page, nothing happens. I also do not see any options for burning DVDs in mythweb.

Any suggestions? I doubt it's relevant, but I had already installed the CVS version of mythburn prior to the installation of MythArchive.

Thanks.


It doesn't matter that you already installed mythburn they will live together quite happily.

MythArchive currently doesn't have a Web interface. Its being worked on.

Do you see anything in the mythfrontend log?

In the temp directory that you told MythArchive to use there should now be three new directories (config, logs and work). Have they been created?

In the logs directory there should be two log files. If they exist check them for any error messages.

In the config directory there should be an xml file that is the job file called mydata.xml that the script will process. Has it been created?

Paul H.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 15, 2006 11:59 am 
Offline
Joined: Sat Nov 12, 2005 3:52 pm
Posts: 65
misterflibble

Are you using PAL or NTSC?

When you said you had problems with the MythCenter theme the other day I tried to reproduce it but couldn't. I'm using PAL, spit2k1 uses PAL and the only other testers I have heard with any useful information also use PAL. I suspect that this may be a problem with people using NTSC and the themes need to be scaled for use with NTSC resolutions. spit2k1 wrote most of the theme engine so not sure how it is supposed to handle the different video resolutions used by PAL/NTSC.

Paul H.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 15, 2006 5:21 pm 
Offline
Joined: Mon Aug 01, 2005 10:18 am
Posts: 84
Yes, I'm using NTSC


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 15, 2006 6:01 pm 
Offline
Joined: Sun Oct 16, 2005 9:24 pm
Posts: 61
Paul H.,

I don't have any of the various log files or directories you said I should check. So, realizing I had been assuming everything necessary was installed, I looked through the Synaptic package manager and found I didn't have some of the required packages at all and I had earlier versions of the others. After installing those packages and the attendent updates to dependent packages that are listed for mytharchive, I can now no longer connect to the mysql database. Any easy way of downgrading the mysql stuff that was upgraded or should I just reinstall KnoppMyth?


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 16, 2006 2:47 am 
Offline
Joined: Sat Nov 12, 2005 3:52 pm
Posts: 65
cmaines
If you haven't already done so you will probably have to restart the mysql server. I can't be more specific on how you do that because I don't use KnoppMyth. Maybe some KnoppMyth users can help?


Going back to the original problem. The most likely reason the directories were not created is because the work directory you told MythArchive to use either doesn't exist or the permissions on it are wrong.


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 16, 2006 3:35 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
paulh wrote:
Maybe some KnoppMyth users can help?
To restart mysql server do this:
Code:
/etc/init.d/mythtv-backend stop
/etc/init.d/mysql restart
/etc/init.d/mythtv-backend start


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 16, 2006 7:51 am 
Offline
Joined: Sun Oct 16, 2005 9:24 pm
Posts: 61
Thanks for the tips on how to stop/start mysql. I've tried all of those as well as mucked about with the /etc/mysql/my.cnf file. Nothing has worked so far. Permissions always seems to be at the root of all these problems, and is probably why I can no longer get mysql to work. One of the packages that got upgraded was mysql-common which probably got done as root since I was using synaptic package manager.

Permission problems aside - could I have gotten mytharchive to work if I had not installed python2.3-mysqldb and libmysqlclient15off? It states quite clearly in the wiki that both have to be installed for mytharchive to work. Neither of these is installed by Knoppmyth.


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 16, 2006 9:43 am 
Offline
Joined: Mon Aug 01, 2005 10:18 am
Posts: 84
I think I ran into the same problem as you when I was installing mytharchive. Actually, libmysqlclient15off is not required by mytharchive, its just a dependency if you install the newest version of one of the other packages. I was able to downgrade mysql-common after accidentally installing version 5.

First, make sure you have entries for the stable, testing and unstable branches in /etc/apt/sources.list and run an apt-get update

"apt-cache policy packagename" is your friend here. It will show what version of a package you have and what versions are available. mysql-common should be available in version 4 from the stable branch.

Force a downgrade of it by using "apt-get install mysql-common=4.0.24-10sarge1" (that's the version number in stable right now, yours may be different). This should require the removal of some of the packages you just installed. Hopefully, after this, you'll be able to get mysql working properly.

I believe that the offending package that caused you and me these dependency troubles was python2.3-mysqldb. The version in testing and unstable, 1.2.1-p2-1 requires mysql-common 5. The version in stable, 1.2.1c2-1, does not.

Good luck!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 63 posts ] 
Go to page Previous  1, 2, 3, 4, 5  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu