What steps will reproduce the problem?
1. Ubuntu 8.04.2
2. Python 2.5.2
5. while installing videocache iniparse errors out...
# python setup.py install Traceback (most recent call last): File "setup.py", line 395, in <module> 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'
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.
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.
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 <module> 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 !!
i have a transparent proxy with squid and iptables working.
when i install videocache, all is ok,
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?
That looks like an iniparse error. Can you please check that with iniparse developers?
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.
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
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....
Sorry for replying this late. You can download older version from here.
Thank you for using videocache.
You need to sign in. Please sign in to add answer to this question.