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

Version 1.9.9 is out. We have added support for Youtube mobile videos, Facebook, AOL and MySpace videos as well. Fixed caching issues for some already supported websites. Options to control cache directory selection algorithm, bandwidth usage by videocache, etc. More robust videocache scheduler with a lot more options and features. Have a look at changelog for more details. If you have purchased Videocache in last one year, Contact Us to claim your free upgrade. Please mention the email address using which you purchased Videocache. New users proceed to Pricing Page right now, secure your copy and enjoy caching :-) Also, check our new and simplified upgrade policy :-)

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
Online
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.

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 2 users and 137 guests online.