View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 2 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Jun 16, 2010 3:18 am 
Offline
Joined: Tue May 11, 2010 2:51 am
Posts: 31
Location: Turin - Italy
I use to grab EPG by mean of Xvfb, wine and TVxb.
I never had problems before on my previous Mythbuntu installations then I used the same script for LinHES 6.02 too.
The problem arise when TVxb tries to write the log file into its log directory.
When it tries to write a windows pop-up message comes up saying that TVxb doesn't have the permissions to write that file. This is weird to me because I chmoded directory with 766. I know the file has to have the right permissions but since it is generated by TVxb I don't know why it couldn't write it.
Commands involved are:
Code:
XUSER=mythtv
export DISPLAY=:1
/usr/bin/Xvfb :1 &
sudo -H -u ${XUSER} sh -c 'DISPLAY=:0.0 /usr/bin/wine  /home/mythtv/bin/TVxb/bin/TVxb.exe -NoConsole'
/usr/bin/killall Xvfb
unset DISPLAY

also tried with
Code:
export DISPLAY=:1
/usr/bin/Xvfb :1 &
#
DISPLAY=":0.0" sudo -H -u mythtv sh -c '/usr/bin/wine  /home/mythtv/bin/TVxb/bin/TVxb.exe -NoConsole'
/usr/bin/killall Xvfb
unset DISPLAY

But nothing change

If I run the program from console and mythtv account all end properly.

Any idea?

_________________
MBE - ASUS M2NPLUS PRO | RAM 4GB | HD 1TB | 4xHVR-1300 | LinHES 6.03
FE -D945GLF2 | RAM 2GB | HD 250GB | LinHES 6.03


Last edited by dfdario on Fri Jul 02, 2010 1:56 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 02, 2010 1:56 pm 
Offline
Joined: Tue May 11, 2010 2:51 am
Posts: 31
Location: Turin - Italy
I got it working by calling the scrip in mythfilldatabase section available in MythTV setup.
No issue at all.

_________________
MBE - ASUS M2NPLUS PRO | RAM 4GB | HD 1TB | 4xHVR-1300 | LinHES 6.03
FE -D945GLF2 | RAM 2GB | HD 250GB | LinHES 6.03


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 19 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:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu