VideoCache
Videocache is no longer in development.

SCHEDULED_ERR - Could not schedule video for download.

by cygnus on 4 Nov 2009

Hello!

I always receive a: SCHEDULED_ERR - Could not schedule video for download in every request.

System is Debian Lenny. Cache Dir is writeable by videocache.

df -h|grep spool
179G   89M  179G   1% /var/spool/squid3
 99G  188M   94G   1% /var/spool/videocache

Has anyone used videocache in a large deployment? I am currently evaluating whether videocache is able to handle about 4500 users.

Greetings Torge

5 Answers

by Kulbir Saini on 4 Nov 2009

Hi Torge,

This error is caused by XMLRPC server. Please check if port 9100 is blocked by iptables or other firewall products on your local machine.

Thank You!

by cygnus on 4 Nov 2009

Communication on port 9100 is fine. I already checked it.

I added some more debug output and now have fixed this issue. I am not quite sure, what caused this.

I also found out that my temporary directories and the download directories where not created automatically:

DOWNLOAD_ERR YOUTUBE An error occured while retrieving the video.[Errno 2] No such file or directory: '/var/spool/videocache/tmp/e1b79835a5ddcfc9'

One might change this.

In addition it would be helpful to do better exception handling. a simple try/except will catch all exceptions but one has no clue what went wrong.

As a minimum you should do:

try:
except Exception, e:
  log...  +str(e) 

or something like this and not:

try:
except:
 log (Error has occured)

Videocache works now for me. Thanks

Greetings Torge

by Kulbir Saini on 4 Nov 2009

Hi Cygnus,

Great work! Videocache is accompanied with a update script using which you can update system in accordance with your videocache configuration. See update script page.

I agree with you on the exception part. But this is a one man army trying to fix different things, update videocache to support more sites and at the same time providing support in forums without much donations to the project from the users. Videocache was free initially but lac of donations forced me to charge for it. I had to take time out of my office hours to work on it and that way my regular work is hurt. Still I try my level best to provide support as soon as possible.

Thank you for suggestions :)

by please help me on 3 Dec 2009
2009-12-03 16:20:36,490 23082 - - SCHEDULEDER - Download Scheduler starting.
2009-12-03 16:20:37,598 23084 - - SCHEDULEDER - Download Scheduler starting.
2009-12-03 16:21:02,117 23164 - - SCHEDULEDER - Download Scheduler starting.
2009-12-03 16:21:21,638 23226 - - SCHEDULEDER - Download Scheduler starting.
2009-12-03 16:21:25,878 23224 - - SCHEDULEDER - Download Scheduler starting.
2009-12-03 16:21:44,734 22635 - - SCHEDULEDER - Download Scheduler starting.
2009-12-03 16:21:59,098 22643 - - SCHEDULEDER - Download Scheduler starting.
2009-12-03 16:22:06,490 22642 - - SCHEDULEDER - Download Scheduler starting.
2009-12-03 16:22:18,873 5714 - - SCHEDULE_ERR - Error while querying RPC server.
2009-12-03 16:22:27,725 5714 - - SCHEDULE_ERR - Error while querying RPC server.

the videocache is not running any body can help

by Kulbir Saini on 3 Dec 2009

Hi!

Check port 9100 on your machine. It should not be blocked.

Thank You!