You are hereForums / Bugs / Unable to install videocache - AttributeError

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 :-)

Unable to install videocache - AttributeError


11 replies [Last post]
Anonymous
Unable to install videocache - AttributeError
Printer-friendly versionSend to friend

What steps will reproduce the problem?
1. Ubuntu 8.04.2
2. Python 2.5.2
3. iniparse-0.3.0
4. videocache-1.9.tar.gz
5. while installing videocache iniparse errors out...

# python setup.py install
Traceback (most recent call last):
File "setup.py", line 395, in
main(root)
File "setup.py", line 333, in main
mainconf = readMainConfig(readStartupConfig(config_file, root))
File "/home/dmonty/Download/videocache-1.9/videocache/config.py", line 710, in readStartupConfig
parser.readfp(confpp_obj)
File "/usr/lib/python2.5/site-packages/iniparse/compat.py", line 115, in readfp
self.data._readfp(fp)
File "/usr/lib/python2.5/site-packages/iniparse/ini.py", line 581, in _readfp
cur_option.extend(pending_lines)
AttributeError: 'NoneType' object has no attribute 'extend'

Bernardo (not verified)

Yes, I went through the same problem.
iniparse-0.3.0 is the culprit!
Just rollback your iniparse to version 0.2.4 and it should install just fine.

Dean Montgomery (not verified)

I tried rolling back to 0.2.4 but it didn't help.

The initparse developer appears to be actively helping me fix the problem.

http://code.google.com/p/iniparse/issues/list

Dean Montgomery (not verified)

The developer has fixed the problem in svn.

ezz (not verified)

while install video cache-1.9.1 :
this error appeared to me and i can`t solve it :
sudo python setup.py install
Traceback (most recent call last):
File "setup.py", line 396, in
main(root)
File "setup.py", line 334, in main
mainconf = readMainConfig(readStartupConfig(config_file, root))
File "/home/ezz/Desktop/videocache-1.9.1/videocache/config.py", line 697, in readStartupConfig
parser.readfp(confpp_obj)
File "/usr/lib/python2.5/site-packages/iniparse/compat.py", line 106, in readfp
self.data.readfp(fp)
File "/usr/lib/python2.5/site-packages/iniparse/ini.py", line 471, in readfp
for line in fp:
TypeError: iteration over non-sequence
can any one help me !!

admin's picture
Online
Joined: Nov 2 2008

Ezz,

That looks like an iniparse error. Can you please check that with iniparse developers?

Thank You!

omartux (not verified)

i have a transparent proxy with squid and iptables working.

INTERNET-----ADSL----PROXY----LAN----USER

when i install videocache, all is ok,
but
when i paste the "videocache config for squid" in squid.conf, and restart the services, the connection between the LAN and INTERNET fail.

On the other hand, the LAN can ping the ADSL router, but firefox is no working in LAN.

could you help me?
Omar

admin's picture
Online
Joined: Nov 2 2008

Omartux,

Does squid crashes after you paste the videocache config? If so, please check videocache log (/var/log/videocache/videocache.log) for errors or squid logs (cache.log) for python exceptions.

Thank You!

omartux (not verified)

you right
the problem was the config file of videocache
you are the man dude, all is working now

thank you for your work,videocache is AWESOME
thank you again

Omar

admin's picture
Online
Joined: Nov 2 2008

Omartux,

Have fun caching all those videos :D

Thank You!

Offline
Joined: Jan 28 2009

i have been using older version of vc in the past few months. the last that i used to install is version 1.9 and it works just fine, until my box crashes and i need to redo from the start.

this current version (1.9.1) gives me the same problem as stated above...

it will be much appreciated if someone can send me a copy of the version 1.9? tnx....

admin's picture
Online
Joined: Nov 2 2008

Hannah,

Sorry for replying this late. You can download older version from here.

Thank you for using videocache.

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 148 guests online.