Michael Ruelle wrote:
I get hangs too. it happens in manualrecord.rpy as well. so I believe it is a problem with epg_xmltv.getguide().
Mike
On Sunday 06 July 2003 18:56, Tommy Killander wrote:
Hi,
I noted that the "record_server_init" script had a line mentioning a "boot_config" file also. I had to copy that file from /usr/local/freevo/boot/boot_config to /etc/freevo/boot_config to get both the webserver and record_server up and running.
However, I stumbled in to a problem with the webserver:
1. Give Freevo a fresh restart and leave it in the main menu.
2. Start your web-browser an click the TV-Guide button. The browser hangs and waits for "Opening page http://your_Freevo_host/guide.rpy" to respond....
3. Freevo has crashed leaving a blank screen (but the processes seems to be there):
1331 tty1 00:00:00 xinit 1332 ? 00:00:03 X 1334 tty1 00:00:00 freevo.xinitrc 1352 tty1 00:00:00 webserver_init 1353 tty1 00:00:00 record_server_i 1354 tty1 00:00:00 freevo 1371 tty1 00:00:02 freevo_loader 1375 tty1 00:00:00 freevo 1377 tty1 00:00:00 freevo 1391 tty1 00:00:01 freevo_loader 1393 tty1 00:00:01 freevo_loader 1418 ? 00:00:00 sshd 1420 pts/0 00:00:00 bash 1628 pts/0 00:00:00 ps
The last lines of the web-server log gives the following clues(?):
[EMAIL PROTECTED] root]# tail /var/log/freevo/internal-webserver-0.log Cfg file data: "tvtime = ./runtime/apps/tvtime/tvtime" Cfg file data: "version = 2.0" Cfg file data: "xmame = /usr/local/bin/xmame.SDL" Loading cfg: ./freevo_config.py Using MPlayer: ./runtime/apps/mplayer/mplayer Loading cfg overrides: /etc/freevo/local_conf.py 2003/07/07 00:44 CEST [-] Log opened. 2003/07/07 00:44 CEST [*web*] twisted.web.server.Site starting on 80 2003/07/07 00:44 CEST [*web*] Starting factory <twisted.web.server.Site instance at 0x8030bb7c> 2003/07/07 00:44 CEST [HTTPChannel,0,10.1.16.1] XMLTV, reading cached file (/var/cache/freevo/TV.xml-0.pickled) [EMAIL PROTECTED] root]#
There is no crash-info or backtrace in the other logfiles.
I have checked that the "TV.xml-0.pickled" file exists. I have also deleted it so freevo can create a new one.
The TV-Guide works fine in Freevo itself.
...wierd! /Tommy K
------------------------------------------------------------Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Rob Shortt Sent: den 6 juli 2003 16:55 To: [EMAIL PROTECTED] Subject: Re: [Freevo-users] Freevoweb
j wetherell wrote:
I figured out my problem, just for future reference... To use freevoweb, I did these changes.
Added these two lines to me /etc/rc.d/rc.local" (Slackware)
/usr/local/freevo/helpers/webserver_init &
/usr/local/freevo/helpers/record_server_init &
The *_init scripts are meant to run from the init process (/etc/inittab), however the way you are calling them from rc.local is acceptable, those scripts have no 'stop' argument though.
The order seems to matter.
Uncommented these three lines"
plugin.activate('www')
If you start webserver on system startup then you don't need to run it as a plugin, so you can comment this line again. If you try to start it as a plugin as well as on system startup the plugin one will fail because the port (8080) will be in use.
WWW_PORT = 8080 WWW_USERS = { "login_name" : "login_password" } #Change the name and pass in the quotes to anything you would like.
Created these directories:
/var/log/freevo/
/var/cache/freevo/
Ahh, yes, those directories are important. I will have to check if I hardcoded those values somewhere (I hope not!) and if so use the one that the config module provides.
P.S. Any way to play a start a recorded program from the web-
interface?
Sorry, not yet. It would be nice if in the future the web interface has much of the same functions as the TV interface so you could start videos or music from another machine like this, or even use a browser plugin to watch a video that way. Related to that there is now an icecast plugin to play music remotely.
I have been meaning to make some documentation on the webserver and record server and will get to that soon.
-Rob
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users
------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
