Hi,
after a couple of days of fighting against 'the machine' I decided to
dive into the python code to figure out why my recordserver NEVER
started.
In the log I was getting

------------------
2005/10/25 00:01 CEST [-] Traceback (most recent call last):
2005/10/25 00:01 CEST [-]   File "/usr/lib/python2.3/site-packages/freevo/helper
s/recordserver.py", line 142, in ?
2005/10/25 00:01 CEST [-]     plugin.init_special_plugin(config.plugin_record)
2005/10/25 00:01 CEST [-]   File "/usr/lib/python2.3/site-packages/freevo/plugin
.py", line 343, in init_special_plugin
2005/10/25 00:01 CEST [-]     id = int(id)
2005/10/25 00:01 CEST [-] TypeError: int() argument must be a string or a number
------------------

inserting some print instruction I discovered that  the value of
config.plugin_record was None and that raise an unchecked exception
causing the recordserver to exit.

Launching the recordserver caused the output to the consolle of a series of:

WARNING: duplicate plugin activation, ignoring <plugin name, None, None>

Analyzing this output I discovered that also the tv.generic_record was
considered 'duplicated' and thus ignored. So simply I changed my
local_conf adding

plugin.remove('tv.generic_record')

before

plugin.activate('tv.generic_record')


And now the recordserver starts.

For sake of completeness I tried to remove any activation of
'tv.generic_record' and it still works.  so it is evident that the
tv.generic_record is active even if not inserted in the local_conf but
for the recordserver is a problem to have tv.generic_record activated
twice. The second time it assigned None to the value and the server
does not start.

I wonder whther other people using freevo 1.5.3 and tv.generic_record
have faced the same problem. Maybe a patch should be written to fix
the problem.

Best from Davide.









--
I lose control 'cause I'm a creature of the night (Bruce and Bongo)
--
http://people.crs4.it/dcarboni


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to