I have request 4 videos on youtube, it seems that videocache didn`t start downloading as soon as the video scheduled for download, but after several minutes or more.
while other sites goes well, I tried metacafe, it starts downloading the moment it scheduled.
Here is one of the four youtube log, the other three are the same except time:
2010-04-07 11:08:39,919 7320 172.16.3.123 lDfknS1V9l0 SCHEDULED YOUTUBE Video scheduled for download.
2010-04-07 11:53:31,334 8259 172.16.3.123 lDfknS1V9l0 ALTERNATE_URL_ERR YOUTUBE StringIO instance has no attribute 'geturl'
2010-04-07 12:04:50,149 8259 172.16.3.123 lDfknS1V9l0 DOWNLOAD YOUTUBE 37752368 Video was downloaded and cached.
From the log you can see it has waitted for near 50 minutes before downloading. There will be lots of videocache processes if the problem don`t be resolved.
Waitting for your response, thank you!
6 Answers
No, proxy is NULL, other sites go well but youtube, the problem is that it didn`t download youtube video immediately, because i can not see downloading file in '/var/spool/videocache/tmp', but have to wait for a long time. While other sites can see the moment it is scheduled for download!
can you give me full error log ? use http://pastebin.com/
i never have "StringIO instance has no attribute 'geturl'" error
http://pastebin.com/QAB3RexT
This is a youtube full log, '/var/spool/videocache/tmp' don`t have downloading file untill "StringIO instance has no attribute 'geturl'".
Another problem: Why a url request logged twice?
From the log you can see every url have two URL_HIT, CACHE_MISS and NEW_URL.
yes i have 2 request also , that log showed your videocache worked fine. it said "was downloaded and cached".