[Freevo-users] VoIP Skype integration with Freevo - done
Hi all, I've finished basic skype and freevo integration. More info (in polish) at: http://www.szosti.eu/. Watch Youtube video. If you want to install it - follow procedure below. You will need: 1. Freevo installed and configured 2. Skype installed and configured. Special configuration is required wich is described below 3. Skype4Py installed from https://developer.skype.com/wiki/Skype4Py 4. Virtual X11 Server Xvfb (http://en.wikipedia.org/wiki/Xvfb) Skype client requirements: 1. Skype for linux (2.0). 2. Skype must be configured and tested as stand alone client. 3. Skype must allow connection to its API from Skype4Py. How to do this - below Skype allows connetion to its API from SkypePy: 1. Start skype (you may use your windows laptop to start X11 session from eg. Xming 2. Client must automaticaly login 3. Now, open xterm 4. type: python 5. Execute following commands in python: from Skype4Py import * skype = Skype() skype.Attach() 6. Now look at skype window and accept connection from Skype4Py 7. Close skype Configure skype to run at boot time: 1. Copy all content of directory ./Skype from current user home directory to / (sudo cp -a /home/user/.Skype /) 2. To start skype at boot time, make /etc/init.d/skype file executable, put at least following code inside it: #!/bin/bash Xvfb :2 & export DISPLAY=:2 echo "your_skype_user your_skype_password" | /usr/bin/skype --pipelogin & 3. I could write better startup script but this is not an issue 4. Make /etc/init.d/skype executable (chmod +x /etc/init.d/skype) 5. Run update-rc.d skype defaults 90 to configure /etc/init.d/skype to be executed at the end of system boot procedure 6. Test by running /etc/init.d/skype start (I know, start parameter is not used above). You must hear that skype starts. End installation: Put downloaded skype.py from http://www.szosti.eu/files/skype.py to your freevo plugins directory. In my case it is at /usr/lib/python5/site-packages/freevo/plugins Compile it: python >>> py_compile.compile('skype.py') >>> ^D Configure freevo to use plugin skype. Refer to output of freevo plugins -i skype. In near future, I'm going to enable video from skype which grabs X11 screen and sends it to user. You may watch movies from skype client :) Hope you will find it useful Grzegorz -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] IndexError: list index out of range
A while back, in bug 2512357, I reported a problem with the favorites not being displayed properly prioritized in the web server and attached a traceback similar to the one below. The bug report was closed when I was too busy with other stuff to repspond to a comment. Since I am now running a recent 1.8.4 svn, and have just had the same traceback, it's probably worth discussing this and perhaps re-opening that bug. The main problem: - the traceback below, ending in: recordserver.py", line 596, in conflictResolution conflictedProgram = conflictedPrograms[0] IndexError: list index out of range Seen when: - this one was during a "freevo tv_grab"; in fact, this one is from the tv_grab log file - the TV listings have been downloaded and TV.xml and TV.xml.pickled are new - the schedulefavorites has not completed: schedule.pickle is not current Previously, I had also seen this error in the webserver log after editing favorites from the web interface when I had also noted that the favorites are not listed in the proper order. (This is still a problem, by the way.) But the IndexError problem appears to be when schedulefavorites is run. My TV listings come from ScheduleDirect (tv_grab_na_dd) and are the us-bcast ones for my area. If I remove TV.xml* and start over, it will complete OK, and it will be OK for a few more days, then the problem repeats. This was a problem with 1.8.3 also. -jr Freevo 1.8.4-svn r11499 started at Sun May 17 03:00:02 2009 2009-05-17 03:00:02,823 INFO config.py (523): LOGDIR: /var/log /var/log/freevo 2009-05-17 03:00:02,825 INFO config.py (524): STATICDIR: /var/db /var/db/freevo 2009-05-17 03:00:02,827 INFO config.py (525): CACHEDIR: /var/db /var/db/freevo 2009-05-17 03:00:02,868 INFO config.py (544): Loading freevo configuration file "/var/db/freevo/.freevo/freevo.conf" 2009-05-17 03:00:03,601 INFO new process watcher instance 2009-05-17 03:00:04,748 INFO config.py (633): Loading local configuration file "/usr/local/etc/freevo/local_conf.py" 2009-05-17 03:00:04,852 INFO config.py (1033): overlaydir: /var/db/freevo/vfs Grabbing listings. Sorting listings. caching data, this may take a while 2009-05-17 03:17:04,984 INFO epg_xmltv.py (137): copying '/tmp/TV.xml.tmp' -> '/var/db/freevo/TV.xml' 2009-05-17 03:17:12,827 INFO create thread notifier pipe Scheduling favorites for recording: 2009-05-17 03:17:28,627 ERRORUnhandled InProgress exception: IndexError: Exception raised asynchronously; traceback follows: File "/usr/local/lib/python2.5/site-packages/kaa/rpc.py", line 466, in _handle_packet_after_auth result = self._callbacks[function](*args, **kwargs) File "/usr/local/lib/python2.5/site-packages/freevo/helpers/recordserver.py", line 1334, in updateFavoritesSchedule self.scheduleRecording(prog) File "/usr/local/lib/python2.5/site-packages/freevo/helpers/recordserver.py", line 713, in scheduleRecording (ableToResolveBool, resolutionReason, progsToChange) = self.conflictResolution(prog) File "/usr/local/lib/python2.5/site-packages/freevo/helpers/recordserver.py", line 596, in conflictResolution conflictedProgram = conflictedPrograms[0] IndexError: list index out of range -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] VoIP Skype integration with Freevo - done
Szostak Grzegorz wrote: > Hi all, > I've finished basic skype and freevo integration. > More info (in polish) at: http://www.szosti.eu/. Watch Youtube video. > > If you want to install it - follow procedure below. > > You will need: > 1. Freevo installed and configured > 2. Skype installed and configured. Special configuration is required > wich is described below > 3. Skype4Py installed from https://developer.skype.com/wiki/Skype4Py > 4. Virtual X11 Server Xvfb (http://en.wikipedia.org/wiki/Xvfb) > > Skype client requirements: > 1. Skype for linux (2.0). > 2. Skype must be configured and tested as stand alone client. > 3. Skype must allow connection to its API from Skype4Py. How to do this - > below > > Skype allows connetion to its API from SkypePy: > 1. Start skype (you may use your windows laptop to start X11 session > from eg. Xming > 2. Client must automaticaly login > 3. Now, open xterm > 4. type: python > 5. Execute following commands in python: > from Skype4Py import * > skype = Skype() > skype.Attach() > 6. Now look at skype window and accept connection from Skype4Py > 7. Close skype > > Configure skype to run at boot time: > 1. Copy all content of directory ./Skype from current user home > directory to / (sudo cp -a /home/user/.Skype /) > 2. To start skype at boot time, make /etc/init.d/skype file > executable, put at least following code inside it: > #!/bin/bash > Xvfb :2 & > export DISPLAY=:2 > echo "your_skype_user your_skype_password" | /usr/bin/skype > --pipelogin & > 3. I could write better startup script but this is not an issue > 4. Make /etc/init.d/skype executable (chmod +x /etc/init.d/skype) > 5. Run update-rc.d skype defaults 90 to configure /etc/init.d/skype to > be executed at the end of system boot procedure > 6. Test by running /etc/init.d/skype start (I know, start parameter is > not used above). You must hear that skype starts. > > End installation: > Put downloaded skype.py from http://www.szosti.eu/files/skype.py to > your freevo plugins directory. In my case it is at > /usr/lib/python5/site-packages/freevo/plugins > Compile it: > python > py_compile.compile('skype.py') ^D > > Configure freevo to use plugin skype. Refer to output of freevo > plugins -i skype. > > In near future, I'm going to enable video from skype which grabs X11 > screen and sends it to user. You may watch movies from skype client :) > > Hope you will find it useful > > Grzegorz > Hi Grzegorz, This looks great. Could you submit it to the sourceforge tracker to have it included into freevo? http://sourceforge.net/tracker/?group_id=46652&atid=446898 The instructions should go in the wiki http://doc.freevo.org/ John -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Install Issue with latest SVN
Duncan, I was using rel-1 branch, however, the same thing happens with REL-1_8_4 tag. lroom# svn info Path: . URL: svn://svn.freevo.org/freevo/tags/REL-1_8_4/freevo Repository Root: svn://svn.freevo.org/freevo Repository UUID: cc3e1ea1-1e01-0410-8d68-8b121e83a9d5 Revision: 11531 Node Kind: directory Schedule: normal Last Changed Author: duncan Last Changed Rev: 11531 Last Changed Date: 2009-05-17 14:59:36 -0400 (Sun, 17 May 2009) I did autogen.sh, then python setup.py install When I run install, I get: lroom# python setup.py install checking for kaa...found checking for kaa.metadata... found checking for kaa.imlib2... found checking for BeautifulSoup... found checking for pygame... found checking for Image... found checking for twisted...found checking for zope.interface... found checking for twisted.web.microdom... found running install running build running build_py copying ./src/revision.py -> build/lib/freevo running build_scripts running install_lib copying build/lib/freevo/revision.py -> /usr/lib/python2.5/site-packages/freevo byte-compiling /usr/lib/python2.5/site-packages/freevo/revision.py to revision.pyc running install_scripts changing mode of /usr/bin/freevo to 755 running install_data running install_egg_info Removing /usr/lib/python2.5/site-packages/freevo-1.8.4_svn-py2.5.egg-info Writing /usr/lib/python2.5/site-packages/freevo-1.8.4_svn-py2.5.egg-info Exception exceptions.AttributeError: "'NoneType' object has no attribute 'maxint'" in > ignored What is egg-info? Thanks for you help. Jim Duncan Webb wrote: > On 18/05/2009 02:57, Jim Duda said the following: >> I updated to the latest svn freevo-1.x today. I also update kaa. The >> kaa install went fine. > > Hopefully you are using the REL-1_8_4 tag and not the rel-1 branch :-) > >> When I attempt to install freevo, I get the errors below: >> >> Freevo still works, however, all my fonts are smaller. Does this have >> to do with the install failures below? > > Could be. > >> lroom# python setup.py clean >> running clean > > Not sure if clean does quite what you expect as it may not remove all > that should be removed. rm -r build && rm -r > /usr/lib/python2.5/site-packages/freevo is really the only real way to > clean up an old install. > >> lroom# python setup.py install >> checking for kaa...found >> checking for kaa.metadata... found >> checking for kaa.imlib2... found >> checking for BeautifulSoup... found >> checking for pygame... found >> checking for Image... found >> checking for twisted...found >> checking for zope.interface... found >> checking for twisted.web.microdom... found >> running install >> running build >> running build_py >> copying ./src/revision.py -> build/lib/freevo >> running build_scripts >> running install_lib >> copying build/lib/freevo/revision.py -> >> /usr/lib/python2.5/site-packages/freevo >> byte-compiling /usr/lib/python2.5/site-packages/freevo/revision.py to >> revision.pyc >> running install_scripts >> changing mode of /usr/bin/freevo to 775 >> running install_data >> running install_egg_info >> Removing /usr/lib/python2.5/site-packages/freevo-1.8.4_svn-py2.5.egg-info >> Writing /usr/lib/python2.5/site-packages/freevo-1.8.4_svn-py2.5.egg-info >> Exception exceptions.AttributeError: "'NoneType' object has no attribute >> 'maxint'" in > 0x832834c>> ignored > > Never seen such a problem during a "python setup.py install" > > Duncan > > -- > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users