You are hereForums / Support / 1.9.4 Youtube still have some problem

Finally, the wait is over!!! Videocache 2.0.0 is here :-) Check changelog for changes and new features in this version. Contact Us for your free upgrade!!

1.9.4 Youtube still have some problem


6 replies [Last post]
Offline
Joined: Apr 7 2010
1.9.4 Youtube still have some problem

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!

Offline
Joined: Jan 29 2010

are you using proxy in videocache.conf ?

Offline
Joined: Apr 7 2010

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!

Offline
Joined: Jan 29 2010

can you give me full error log ? use http://pastebin.com/

i never have "StringIO instance has no attribute 'geturl'" error

Offline
Joined: Apr 7 2010

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.

Offline
Joined: Jan 29 2010

yes i have 2 request also , that log showed your videocache worked fine. it said "was downloaded and cached".

Offline
Joined: Apr 7 2010

But the problem is it waitted too long before downloading, so there are too many videocache processes running, it will exhaust my os resource.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <code>
  • Lines and paragraphs break automatically.
  • HTML tags will be transformed to conform to HTML standards.
  • Search Engines will index and follow ONLY links to allowed domains.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters shown in the image.

My Book on Squid

Purchase/Renew

Go to Pricing page to purchase a new license or renew your existing license.

Recent comments

Who's online

There are currently 0 users and 158 guests online.