You are hereBugs

Bugs

Printer-friendly version Send to friend

Anonymous's picture

cannot cache url contain "%20" or space url

when the file name have space url.
example : "asdasd asdasd.mp3"
it will saved "asdasd%20asdasd.mp3"

the next i opened the website it wille
"http://ipvideocache/wrzuta/asdasd%20asdasd.mp3"

it will be missed because it have to be like this

"http://ipvideocache/wrzuta/asdasd%20%25asdasd.mp3"

the videocache will cache the name "%20" not the space " "

how can i fix this bug ?
what addition script i have to add to videocache.py ?

mujahidh's picture

Daily Motion Video Caching Issue

Videocache seems ho be having an issue caching daily motion videos , it manages to determins the video url for about 20% of the videos , the rest it gives errors.

Pasting lines from videocache.log and scheduler.log to help debug issue

From videocache.log

17/Dec/2011:08:51:24 13149 INFO DAILYMOTION URL_HIT 29737516_mp4_h264_aac.mp4 - http://proxy-54.dailymotion.com/video/615/737/29737516_mp4_h264_aac.mp4?... -
17/Dec/2011:08:51:24 13149 INFO DAILYMOTION CACHE_MISS 29737516_mp4_h264_aac.mp4 - Requested video was not found in cache. -
17/Dec/2011:08:51:25 13149 INFO DAILYMOTION URL_HIT 30084010_mp4_h264_aac.mp4 - http://proxy-51.dailymotion.com/video/010/480/30084010_mp4_h264_aac.mp4?... -
17/Dec/2011:08:51:25 13149 INFO DAILYMOTION CACHE_MISS 30084010_mp4_h264_aac.mp4 - Requested video was not found in cache. -

From scheduler.log

ianspooky's picture

python-netifaces missing

i have a problem reinstalling my vc cause the download link for the python-netifaces on the install.sh are missing. Can you give me a working link cause i cant find any.

# bash install.sh
Checking which..............................................Installed
Checking bash...............................................Installed
Checking python.............................................Installed
Checking wget...............................................Installed
Checking tar................................................Installed
Checking gcc................................................Installed
Checking apache.............................................Installed
Checking python-iniparse....................................Installed
Checking python-setuptools..................................Installed
Checking Python.h...........................................Installed
Checking python-netifaces...................................Missing

jeancarlos's picture

Erro in cache.log about videocache.py

Hello, i'm receiving this error in cache.log many times:
Traceback (most recent call last):
File "/usr/lib64/python2.7/logging/handlers.py", line 77, in emit
if self.shouldRollover(record):
File "/usr/lib64/python2.7/logging/handlers.py", line 156, in shouldRollover
self.stream.seek(0, 2) #due to non-posix-compliant Windows feature
ValueError: I/O operation on closed file
Logged from file videocache.py, line 38

When this error occurs my squid stop to answer the requests

Thanks for your help.

Mustafa Al-Saady2's picture

error in trace.log

Hello Kulbir,

I have the following error in trace.log
I used tail trace.log and the following message appear
tail trace.log
File "/usr/lib64/python2.4/urllib2.py", line 471, in http_response
response = self.parent.error(
File "/usr/lib64/python2.4/urllib2.py", line 402, in error
return self._call_chain(*args)
File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain
result = func(*args)
File "/usr/lib64/python2.4/urllib2.py", line 480, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found

What the error here?

thank you,

My Book on Squid

Purchase/Renew

One License - USD $399
One License - USD $349*
Validity - One Year
Need more? Contact Us
*Includes free upgrades and support for one year.



For details, check pricing.

Recent comments

Who's online

There are currently 0 users and 183 guests online.