LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Freevo Recordserver won't start (https://www.linuxquestions.org/questions/linux-software-2/freevo-recordserver-wont-start-547932/)

tvphil 04-21-2007 05:02 PM

Freevo Recordserver won't start
 
I just upgraded to Freevo version 1.7, after using Freevo successfully for almost 2 years. I installed to Ubuntu Feisty using the Geole repository, installation went smooth. Problem is, I keep getting the same error message when I attempt to start the Freevo Record Server. Any ideas on what to do to correct this would be appriciated. Here's the error message....
File "/var/lib/python-support/python2.5/freevo/helpers/recordserver.py", line 51, in <module>
from twisted.internet.app import Application
ImportError: No module named app

maroonbaboon 04-21-2007 07:33 PM

Check you have the python-twisted package installed.

tvphil 04-21-2007 09:08 PM

I do, I have Python Twisted Web, Twisted Words, all Python Twisted offerings from Ubuntu are installed.

maroonbaboon 04-21-2007 09:36 PM

Not sure why freevo is not finding it then. Try just

% python
>>> from twisted.internet.app import Application

and see if there is an error. If there is you can try again with 'python -vv' to see where it is looking for modules. If no error then freevo must be messing up the search path somehow.

tvphil 04-21-2007 10:06 PM

I did python vv, no errors. If you think of any other ideas, let me know, this is very strange.

maroonbaboon 04-22-2007 01:09 AM

I only have an old version of freevo around. In recordserver.py there are lines

from twisted.web import xmlrpc, server
from twisted.internet.app import Application
from twisted.internet import reactor
from twisted.python import log

If you have the same it is even more strange that the first line succeeds and the second fails.

Otherwise I can only think there is some sort of version mismatch. Is this an official Ubuntu package? If it is a dodgy package I remember it was not very hard to install freevo from the source code. I think it is pure python.

tvphil 04-22-2007 02:43 PM

I submitted this same question to the Freevo-Users mailing list and got what appears to be an answer. Ubuntu Feisty only offers Twisted Web version 2.5. Even the latest version of Freevo, the one I'm trying to get to work, requires the old version 2.4. I'm about to see if I can find and install version 2.4. I'll no doubt have to do it from source code. I'll follow up with another posting if I have any luck.

tomlohave 04-23-2007 10:07 AM

Quote:

Originally Posted by tvphil
I submitted this same question to the Freevo-Users mailing list and got what appears to be an answer. Ubuntu Feisty only offers Twisted Web version 2.5. Even the latest version of Freevo, the one I'm trying to get to work, requires the old version 2.4. I'm about to see if I can find and install version 2.4. I'll no doubt have to do it from source code. I'll follow up with another posting if I have any luck.

here is a link for solving your problem (i ve got the same ...)

http://sourceforge.net/mailarchive/forum.php?thread_name=462CB65A.2000309%40gmail.com&forum_name=freevo-users"]http://sourceforge.net/mailarchive/forum.php?thread_name=462CB65A.2000309%40gmail.com&forum_name=freevo-users

tvphil 04-26-2007 10:50 PM

Well, my luck with Freevo 1.7 wasn't as good as yours. Even though I got the recordserver to start, it still won't record. Strangely, I can see TV channels live through Freevo
so I guess I have local_conf.py configured correctly. As best I can tell, it's the sending of the record command is what's getting hung up.So, I'm going to try going back in time.
I'm going to uninstall 1.7 and go back to 1.6.2 from source and see if using the last version of mmpython works better than the kaa modules. It did before. I have to add a little editorial to this. I think it's unfortunate that twisted isn't backwords compatible with regards to Freevo. I don't fault Freevo's developers for any of this, but I do hope they find a way (maybe a downloadable patch)to get Freevo to work with Twisted 2.5.I know they don't have to, but I feel the future viability of Freevo depends on it. In otherwords, I don't think I'm the only one experiencing this problem. No doubt, many more will until this problem is solved.

tomlohave 04-27-2007 01:08 AM

Can you post your recordserver 's log ;, please ?

tvphil 04-29-2007 01:45 AM

First, I decided against time travel.Instead, I uninstalled the Freevo packages fro Geole for Ubuntu Feisty, the re-installed Freevo 1.7 from source. I also installed twisted 2.4 and twistwisted web 0.6. Now I can start the recordsever without manipulating the Python dependancies, but now I get a different error message when attempting to program a manual recording. Here it is.......
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/freevo/tv/record_client.py", line 93, in scheduleRecording
(status, message) = server.scheduleRecording(jellyToXML(prog))
File "xmlrpclib.py", line 1147, in __call__
return self.__send(self.__name, args)
File "xmlrpclib.py", line 1437, in __request
verbose=self.__verbose
File "xmlrpclib.py", line 1201, in request
return self._parse_response(h.getfile(), sock)
File "xmlrpclib.py", line 1340, in _parse_response
return u.close()
File "xmlrpclib.py", line 787, in close
raise Fault(**self._stack[0])
Fault: <Fault 8002: 'error'>

Any ideas on how to correct this?

tvphil 04-29-2007 10:11 PM

Just a quick follow up, as you suggested, I looked at the recordserver log and found my problem. The IVTV record plugin in local_conf.py had one error in it.It showed "plugin.record.activate, when it should have read "plugin_record.activate".Of course, I corrected it. Then, I read in Freevo Users that Freevo1.7.1 had just been released.
The main reason I upgraded, was the correction made to get Freevo-Weather plugin to work again. Sure enough, it works again and so does the rest of Freevo.Thanks for all
the help.And Duncan, keep up the good work on Freevo!


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