You are hereForums / Support / Cannot pass step: videocache-1.9.1 # python setup.py install

Videocache 1.9.5 is available now. This version improves support for logging and fixes video caching problems for various sites like Vimeo, Break, Tube8 etc due to change in URL patterns. Also, from this version onwards, UrlGrabber has been removed from dependencies. Check Changelog for details. If you have purchased version 1.9.x previously, you can claim free upgrade by contacting using Contact Link. Please mention the email address using which you purchased Videocache. New users proceed to download page right now, secure your copy and enjoy caching :-)

Cannot pass step: videocache-1.9.1 # python setup.py install


2 replies [Last post]
Offline
Joined: Jun 18 2009
Cannot pass step: videocache-1.9.1 # python setup.py install
Printer-friendly versionSend to friend

I have installed squid and its running fine
now i am trying to install videocache

First i did # python setup.py install [in videocache-1.9.1 folder]
But at that time python-iniparse was not installed

I then installed iniparse, but now when i try to do # python setup.py install i get the following errors:

vpro:/home/ztel/videocache-1.9.1# python setup.py install
Traceback (most recent call last):
File "setup.py", line 397, in
setup(root)
File "setup.py", line 288, in setup
if not dir_perms_and_ownership(new_dir, squid_user, squid_group):
File "setup.py", line 76, in dir_perms_and_ownership
user = pwd.getpwnam(user)[2]
KeyError: 'getpwnam(): name not found: squid'
vpro:/home/ztel/videocache-1.9.1#

and here is the videocache setup log

2009-06-17 13:03:15,039 INFO Directory /etc/apache2/conf.d already exists.
2009-06-17 13:03:15,039 INFO Directory /etc already exists.
2009-06-17 13:03:15,039 INFO Directory /usr/share already exists.
2009-06-17 13:03:15,039 INFO Directory /usr/share/man/man8 already exists.
2009-06-17 13:03:15,039 INFO Directory /usr/sbin already exists.
2009-06-17 13:03:15,040 INFO Directory /var/log/videocache already exists.

Please tell me how i can overcome this.
Thank you very much

Offline
Joined: Jun 19 2009

When videocache tries to install its files by default it attempts to 'chown' them to the 'squid' user on the machine. In your case, this user does not exist. Please modify setup.py (lines 33 and 35) to reflect the user which you run Squid under.

admin's picture
Offline
Joined: Nov 2 2008

Marklodge,

I guess you are using Debian or a derivative. In your case squid is run by user proxy and not squid (in Red Hat derivatives). So you need to change the user and group to proxy before attempting installation.

Thank You!

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, 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.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters (without spaces) shown in the image.

Buy Now

Videocache Bundle (RPM and tar archive) is available. Secure your copy now by clicking the button below.
No. of Servers?
For details, check this page.

Recent comments

Spread it

Thank you for spreading the word!

Who's online

There are currently 0 users and 65 guests online.