LinHES Forums
http://forum.linhes.org/

Mythburn can't find work directory [SOLVED]
http://forum.linhes.org/viewtopic.php?f=6&t=10772
Page 1 of 2

Author:  tophee [ Mon Jul 10, 2006 7:48 am ]
Post subject:  Mythburn can't find work directory [SOLVED]

Hi everybody,

For all those guru's out there there is probably a very simple solution to this problem, but as it stands I am not able to burn DVD's using Mythburn.

When I choose the Burn DVD button I am greeted with this message:

Quote:
Cannot find Mythburn work directory.
Have you set the Mythburn script in the settings?


Under settings the line for the burn script folder says:
Code:
/usr/local/share/mythburn/scripts


I have had a search on the wiki and on the forum here, but this doesn't seem quite like anyone else is describing. I can't run the updates at the moment as my network isn't working.

Also, I have tried to use the other burn DVD option and while that package opens, it doesn't list the shows I want to burn. Why is that?

Am I missing something? ( I probably am and it's probably really obvious.)

Thanks.

-HOW TO SOLVE-
Change the settings line under >Utilites>Setup>Media>DVD Burn Setup to
Code:
/myth/mythburn


edited to finish up. (And again to correct file location 21/08/06 uk date format)

I also had to make the alteration suggested in this thread
http://mysettopbox.tv/phpBB2/viewtopic.php?t=10140

Here is the important bit for those how can't wait.
Edit /usr/bin/projectx
Adding the following statement resolve problem for me: -Djava.awt.headless=true


Your file will end up looking like this.
Code:
#!/bin/bash
java -Djava.awt.headless=true -jar /usr/share/projectx/ProjectX.jar

Author:  tophee [ Mon Jul 10, 2006 1:15 pm ]
Post subject: 

Thinking about it...
Can anyone confirm for me that all that this 'Working File' is Mythburn is the space that Mythburn uses to cache the DVD image it is creating?

If that's the case, could I use the unused Cache from the Pre-19 cersions of Myth? ANd if that is the case... How do I go about setting it up correctly to point to this new Work area?

Author:  kmkittre [ Mon Jul 10, 2006 1:32 pm ]
Post subject: 

What version of KnoppMyth are you running?

Author:  tophee [ Mon Jul 10, 2006 2:18 pm ]
Post subject: 

I'm running R5C7.
(Check my signature!)
:lol:

Author:  tophee [ Wed Jul 12, 2006 5:43 am ]
Post subject: 

Still not got anywhere with this. And I would like to get a number of recordings off my hdd.

My R57C install is fairly vanilla the only exceptions are an upgrade to mplayer and me trying to install madwifi drivers for wireless. Not getting very far with the wireless either... but that is a different issue.

The hindrance the lack of network means is I can't update with all the necessary bits easily to MythArchive. And it's probably a bit too advanced for me as I can only follow instructions y'see.

So, what can I do to resolve this?

Options are:

1. Point Myth to the missing Work file
2. Repair Mythburn using the files on my harddrive.
3. Auto-upgrade again and get a fresh version of R5C7 back on my machine and hopefully that will fix Mythburn.
4. Recompiling Myth and compiling MythArchive.
5. Something else. And if so what would that be?

Recompiling using resources off the internet is possible despite lack of network a temporary cable connection could be made from my router into to the livingroom.

Thanks in advance for any advice/guidance or help you can give.

Author:  tkoster [ Wed Jul 12, 2006 8:48 am ]
Post subject: 

I'll tell you what I found in hopes that it may get you one step closer. In the mythtv home directory there is a /mythburnscripts directory. If you point the setup screen to that directory, you stop getting the error message. You can also select the movie and settings you want, but at least for me, nothng processes or burns.

I've have better luck running mythburn through the web interface, but with that I usually run into an error at the mplexing stage.

So if you get it working, please share how. I'd like to burn the few shows I don't want to lose during the next upgrade so I can start over from scratch.

Author:  tophee [ Wed Jul 12, 2006 1:44 pm ]
Post subject: 

Hi tkoster,
I didn't have much luck with your suggestion. I looked for mythburnscripts using locate, but could only find this one:
/usr/share/mythtv/mythweb/modules/mythburn/mythburnscripts
When I pointed to this location in >Setup>Media>DVDburn I still got the same message as before:
Quote:
Cannot find Mythburn work directory.
Have you set the Mythburn script in the settings?

I had a look in the /home directory and couldn't find anyhting useful.
Unfortunately, I haven't been able to move much furhter forward.
I'll have another bash at this tomorrow. :cry:

Author:  tjc [ Wed Jul 12, 2006 6:25 pm ]
Post subject: 

Did you check the ownership and permissions on the temp directory and anything underneath it? Since this stuff is run as the www-data user, the permissions have to allow that. I think the temp directory needs to be:
Code:
root@black2:~# find /myth/mythburn/temp/ -ls
109474    4 drwxrwxr-x   3 mythtv   www-data     4096 Jul  1 19:39 /myth/mythburn/temp/
109569    4 drwxrwxr-x   2 mythtv   www-data     4096 Jul  1 19:39 /myth/mythburn/temp/DVD

Note that the group ownership is www-data and the group has write permissions.

Hmm.. it looks like the default BurnScriptPath setting in the DB is bogus too. Try changing that to /myth/mythburn/scripts or maybe just /myth/mythburn using mysql (since you can't edit it with webmin) as shown in this example - http://mysettopbox.tv/phpBB2/viewtopic.php?t=8603&highlight=mysql+settings

Author:  tophee [ Sun Jul 16, 2006 9:00 am ]
Post subject: 

Well having left this little problem for a while, I've come back to it and in trying a gain I realised I have no idea what I am doing when trying to poke the db.

tjc - Sorry, but can you walk me through the correct way to do this MySQL modification, if this way is wrong?

Based on the readers digest instructions you pointed me at here
Code:
mysql mythconverg -e "update settings set data = 'Iulius' where value = 'Theme'"


I'm assuming I need to enter a command that reads like this:

mysql mythconverg -e
update settings set data = '/myth/mythburn/scripts' where value = 'BurnScriptPath';


or to '/myth/mythburn' as appropriate.

btw, the output to to find /myth/mythburn/temp/ -ls
12778 4 drwxrwxr-x 3 mythtv www-data 4096 Jun 2 17:14 /myth/mythburn/temp/
12801 4 drwxrwxr-x 2 mythtv www-data 4096 Jun 2 17:14 /myth/mythburn/temp/DVD


Thanks

Author:  steptow [ Mon Jul 17, 2006 5:57 am ]
Post subject: 

I seem to be running into the same problem. I also started with earlier versions and have upgraded to R5C7. I have looked through the setting table in mysql and I can see no settings other than BurnScriptPath /myth/mythburn/scripts that refer to a work directory. I do note that I seem to have 2 sets of settings One is for hostname family and one for hostname family.homenet. I 'think' that when I originally installed the host may have been family.homenet and on upgrade I may have used family. My knowledge of SQL includes some code that if it returns 2 rows, it can fail. I am reluctant to drop rows from the table but it may be worth a try. Wish me luck

Author:  tophee [ Mon Jul 17, 2006 7:15 am ]
Post subject: 

Hey Steptoe,

Sorry to hear you are having the same problem, - but releaved at least it's not just me (misery loves company and all that).

I'd be interested in how I can check for this anomoly to see if it present on my machine, though I've used the same user name and passwords throughout the various auto-upgrades I've has since I did a full install with R5A26 some time ago.

I'm beginning to consider an 'auo-upgrade' to fix this. While this will hopefully solve the problem, it means I have failed to learn something.

Regards and good luck.
Chris

Author:  steptow [ Mon Jul 17, 2006 7:41 am ]
Post subject: 

I did mysql mythconverg
Then
select * from settings
where value = 'BurnScriptPath'

Author:  tophee [ Mon Jul 17, 2006 9:48 am ]
Post subject: 

When I do

mysql mythconverg

and type

SELECT * from settings WHERE value='BurnSciptPath';

I get

Code:
value             ¦data                       ¦hostname
BurnScriptPath    ¦/myth/mythburn/scripts     ¦mythtv


So unfortunately the double entry isn't the cause in this instance. Did removing an entry help you?

Author:  tjc [ Mon Jul 17, 2006 7:41 pm ]
Post subject: 

Is the machine still called mythtv?

BTW - Gold stars on the SQL command you cooked up. You can paste it into an interactive session like you used to do the query too.

Author:  steptow [ Tue Jul 18, 2006 12:02 am ]
Post subject: 

Removing the entry did not help and given yours has only one entry and is the default, I think this is a dead end. Question is, where to from here? :cry: I tried to follow the path from the menu but got stumped at the plugin. Anyone have any ideas where to look.

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/