LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-17-2005, 02:10 PM   #1
tvphil
Member
 
Registered: Aug 2004
Location: Evanston, Illinois, USA
Distribution: Xubuntu 11.10 Oneric Ocelot 64 bit
Posts: 58

Rep: Reputation: 16
Installing Freevo on Suse 9.3


I would like to read any responses from anybody who has tried to install the latest version of Freevo on Suse 9.3. Specifically, how do you write the correct syntax for local_conf.py? The last of the 3 steps to starting up Freevo is asking me to update the local_conf.py config to 5.15. I have tried numerous ways to do this, keeping in mind python wants no spaces,dashes or anything other than the words CONFIG5.15. Does it matter what line I enter it on? Simply put, I've hit a roadblock and I've run out of ideas to get past it.
 
Old 08-19-2005, 02:55 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
no reason suse 9.3 should have any special treatment at all. just copy relevant pieces from the template local_conf.py normally in your documentation somewhere. Python actually wants "CONFIG_VERSION = 5.15"
 
Old 08-20-2005, 01:40 AM   #3
tvphil
Member
 
Registered: Aug 2004
Location: Evanston, Illinois, USA
Distribution: Xubuntu 11.10 Oneric Ocelot 64 bit
Posts: 58

Original Poster
Rep: Reputation: 16
Thanks for showing me the = sign, that got it to load up. One more question, how can I get XMLTV to generate the /tmp/tv.xml/ script for downloading tv listings and channels. I'm already logged into labs.zap2it.org for my channel listings.
 
Old 08-21-2005, 10:04 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
tv.xml isn't a script, it's the end data. you need to run the relevant "tv_grab_XX --configure" script for your region.
 
Old 08-22-2005, 11:51 AM   #5
tvphil
Member
 
Registered: Aug 2004
Location: Evanston, Illinois, USA
Distribution: Xubuntu 11.10 Oneric Ocelot 64 bit
Posts: 58

Original Poster
Rep: Reputation: 16
Chris, thanks for the help, but I still have a lot to learn about using command lines,so if you could, can you give me more info, preferably some commands that I could copy and paste into a terminal window to get where I need to be. I'll copy and paste some info I already have in place in local_conf.py and anything else I think might help you see where I'm at now.First, here's what I currently have in local_conf.py
CONFIG_VERSION = 5.15
XMLTV_GRABBER
TV_RECORD_DIR
VIDEO_SHOW_DATA_DIR
Next, here's what's in freevo.conf
cdparanoia = /usr/bin/cdparanoia
chanlist = us-cable
display = x11
fbxine = /usr/bin/fbxine
flac = /usr/bin/flac
geometry = 800x600
jpegtran = /usr/bin/jpegtran
lame = /usr/bin/lame
lsdvd = /usr/bin/lsdvd
mencoder = /usr/bin/mencoder
mplayer = /usr/bin/mplayer
oggenc = /usr/bin/oggenc
renice = /usr/bin/renice
setterm = /usr/bin/setterm
tv = ntsc
tvtime = /usr/bin/tvtime
version = 2.1
xine = /usr/bin/xine
Here's the error messages I get in the terminal when Freevo starts:
Error: TV_RECORD_DIR not set
Please set TV_RECORD_DIR to the directory, where recordings should be stored
or remove the tv plugin. Autoset variable to /home/tvphil.

Error: VIDEO_SHOW_DATA_DIR not found

Error: can't find /tmp/TV.xml
Use xmltv to create this file or when you don't want to use the tv
module at all, add TV_CHANNELS = [] and plugin.remove('tv') to your
local_conf.py. TVguide is deactivated now.

WARNING: /etc/freevo/lircrc not found!
failed to load plugin mixer
start 'freevo plugins -l' to get a list of plugins
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/freevo/plugin.py", line 572, in __load_plugin__
p = eval(object)()
File "/usr/lib/python2.4/site-packages/freevo/plugins/mixer.py", line 100, in __init__
self.setMainVolume(config.DEFAULT_VOLUME)
File "/usr/lib/python2.4/site-packages/freevo/plugins/mixer.py", line 191, in setMainVolume
self._setVolume(self.SOUND_MIXER_WRITE_VOLUME, self.mainVolume)
File "/usr/lib/python2.4/site-packages/freevo/plugins/mixer.py", line 165, in _setVolume
fcntl.ioctl(self.mixfd.fileno(), device, data)
Finally, in usr/bin, there's a perl script (I think it is anyway) for TV_grab_na_dd.
If there's anything else I can find for you that would help, let me know. Hopefully, you can see from this what I have in Freevo so far. Also, let me know if there's something I need to delete in local_conf.py. Thanks!

Phil

Last edited by tvphil; 08-22-2005 at 10:37 PM.
 
Old 08-25-2005, 06:18 PM   #6
tvphil
Member
 
Registered: Aug 2004
Location: Evanston, Illinois, USA
Distribution: Xubuntu 11.10 Oneric Ocelot 64 bit
Posts: 58

Original Poster
Rep: Reputation: 16
Here's a follow-up to the last posting, I figured out the tv grab config issue to some degree and the record and video data dir. issues, I even got the webserver and weather plug-ins up and running. Here's the latest problem, Freevo says the TV Guide is corrupt and when I go to manual recordings or weather, I get the same corrupt warning. In the console, it appears that several things are either missing or not configured right, I'm not sure which is the case. Anyway, here's copy of what I'm currently getting in the console:
WARNING: /etc/freevo/lircrc not found!
failed to load plugin mixer
start 'freevo plugins -l' to get a list of plugins
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/freevo/plugin.py", line 572, in __load_plugin__
p = eval(object)()
File "/usr/lib/python2.4/site-packages/freevo/plugins/mixer.py", line 100, in __init__
self.setMainVolume(config.DEFAULT_VOLUME)
File "/usr/lib/python2.4/site-packages/freevo/plugins/mixer.py", line 191, in setMainVolume
self._setVolume(self.SOUND_MIXER_WRITE_VOLUME, self.mainVolume)
File "/usr/lib/python2.4/site-packages/freevo/plugins/mixer.py", line 165, in _setVolume
fcntl.ioctl(self.mixfd.fileno(), device, data)
OverflowError: long int too large to convert to int
webserver still running, run 'freevo webserver stop' to stop

Couldn't load the TV Guide, got an exception!

Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/freevo/tv/epg_xmltv.py", line 141, in get_guide
cached_guide = load_guide(verbose, XMLTV_FILE)
File "/usr/lib/python2.4/site-packages/freevo/tv/epg_xmltv.py", line 196, in load_guide
(id, disp, tunerid) = data[:3]
ValueError: need more than 1 value to unpack
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/freevo/main.py", line 315, in eventhandler
app.eventhandler(event)
File "/usr/lib/python2.4/site-packages/freevo/menu.py", line 561, in eventhandler
action( arg=arg, menuw=self )
File "/usr/lib/python2.4/site-packages/freevo/tv/plugins/manual_record.py", line 126, in display_recitem
self.make_newprog()
File "/usr/lib/python2.4/site-packages/freevo/tv/plugins/manual_record.py", line 103, in make_newprog
self.disp_channel = config.TV_CHANNELS[0][1]
IndexError: string index out of range
Here's what I now have in local_conf.py:
CONFIG_VERSION = 5.15
XMLTV_GRABBER = 'tv_grab_na_dd'
TV_RECORD_DIR = '/home/tvphil'
VIDEO_SHOW_DATA_DIR = '60202'
TV_CHANNELS = 'US_CABLE'
plugin.activate ('www')
plugin.activate ('weather')
PLUGIN_WEATHER_LOCATIONS = 60202

Any ideas from anyone on what to do next would be appriciated.

Last edited by tvphil; 08-25-2005 at 06:19 PM.
 
Old 08-26-2005, 12:53 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
well you don't seem to have actually read the documentation correctly... the TV_CHANNELS parameter is expecting an array of tuples, you've just given it a string. http://freevo.sourceforge.net/cgi-bin/doc/AnalogueGen
 
Old 08-30-2005, 07:40 AM   #8
tvphil
Member
 
Registered: Aug 2004
Location: Evanston, Illinois, USA
Distribution: Xubuntu 11.10 Oneric Ocelot 64 bit
Posts: 58

Original Poster
Rep: Reputation: 16
You were correct, I re-read the documentation and corrected that part and other parts that were missing. I no longer have the corrupt file warnings, but I still can't get Freevo to record anything. I did get the weather plug-in to work, but for some strange reason, it only works when I'm logged in as root. I checked the permissions for that and all other parts of Freevo that I could find, including /var/freevo/cache and corrected those permissions to read and write that weren't. Since I'm using a Hauppauge 350 card, I had to add the changes for using an ivtv card into local_conf.py, still no recording.As you'll see with the following from my console when Freevo is running, at the end I'm getting an OS, not permitted warning about the upsoon file in /var/freevo/cache, even though I changed the permissions to read and write for it.Here it is:
WARNING: /etc/freevo/lircrc not found!
failed to load plugin mixer
start 'freevo plugins -l' to get a list of plugins
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/freevo/plugin.py", line 572, in __load_plugin__
p = eval(object)()
File "/usr/lib/python2.4/site-packages/freevo/plugins/mixer.py", line 100, in __init__
self.setMainVolume(config.DEFAULT_VOLUME)
File "/usr/lib/python2.4/site-packages/freevo/plugins/mixer.py", line 191, in setMainVolume
self._setVolume(self.SOUND_MIXER_WRITE_VOLUME, self.mainVolume)
File "/usr/lib/python2.4/site-packages/freevo/plugins/mixer.py", line 165, in _setVolume
fcntl.ioctl(self.mixfd.fileno(), device, data)
OverflowError: long int too large to convert to int
skin error: unable to parse expression in info_area
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/freevo/skins/main/info_area.py", line 107, in update_content
self.sellist = self.eval_expressions( self.list )
File "/usr/lib/python2.4/site-packages/freevo/skins/main/info_area.py", line 275, in eval_expressions
exp = eval(exp, {'attr': item.getattr}, function_calls)
File "<string>", line 0, in ?
File "/usr/lib/python2.4/site-packages/freevo/util/misc.py", line 490, in comingup
os.unlink(cachefile)
OSError: [Errno 1] Operation not permitted: '/var/cache/freevo/upsoon'

Here's what I now have in my local_conf.py:
CONFIG_VERSION = 5.15
XMLTV_GRABBER = 'tv_grab_na_dd'
TV_RECORD_DIR = '/home/tvphil'
TV_CHANNELS = [('upn.us.WPWR,A3')]
plugin.activate ('www')
plugin.activate ('weather',level=45)
PLUGIN_WEATHER_LOCATIONS = [('USIL0225')]
plugin.remove('tv.generic_record')
plugin.record = plugin.activate('tv.ivtv_record')
TV_IVTV_OPTIONS = {
'input' : 6,
'resolution' : '720x576',
'aspect' : 2,
'audio_bitmask' : 0xE9,
'bframes' : 3,
'bitrate_mode' : 0,
'bitrate' : 8000000,
'bitrate_peak' : 9600000,
'dnr_mode' : 3,
'dnr_spatial' : 0,
'dnr_temporal' : 0,
'dnr_type' : 0,
'framerate' : 0,
'framespergop' : 12,
'gop_closure' : 1,
'pulldown' : 0,
'stream_type' : 14,
}
VIDEO_SHOW_DATA_DIR = 'none'
VIDEO_GROUPS = [
VideoGroup(vdev='/dev/video0',
adev=None,
input_type='tuner',
input_num=4,
tuner_norm='NTSC',
tuner_chanlist='us-cable',
desc='Regular cable',
group_type='ivtv',
recordable=True),
]

Yes, I know I have only one channel programmed, that's the way I want it for now. Because of this, I have only been attempting manual recordings of TV. I can set a time and length and it accepts the command. But, when the scheduled time for recording arrives, the times I set just vanish, like I never programmed them. I also did a modprobe of the TV card, which it found and said it was configured correctly. I have read documentation and the wiki until I fall asleep, I don't know what I'm doing wrong or what I'm missing. Help!

Last edited by tvphil; 08-30-2005 at 07:42 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Freevo on SuSe 10.0 hassegubben Linux - Newbie 31 12-07-2005 06:32 PM
freevo tv engnet Linux - Software 2 07-27-2004 02:26 AM
Freevo Help Mike2001 Linux - Software 1 05-11-2004 07:47 PM
Freevo DBZForever456 Linux - Software 0 09-24-2003 05:38 PM
Freevo mikel Linux - Hardware 6 04-14-2003 04:26 PM


All times are GMT -5. The time now is 06:54 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration