VideoCache
Videocache is no longer in development.

vccleaner problem with v1.9.8

by swapper on 23 Apr 2011

Hi.

When I run /usr/sbin/vccleaner in my Gentoo, it displays:

Traceback (most recent call last):
  File "/usr/sbin/vccleaner", line 163, in <module>
    from config import readMainConfig, readStartupConfig
ImportError: No module named config

What can I do?

Thanks.

5 Answers

by Kulbir Saini on 23 Apr 2011

Hi!

This can't be a problem with videocache 1.9.8 because videocache 1.9.8 has videocache cleaner as vc-cleaner and not vccleaner. You are probably running an older version of videocache. Please check vc-cleaner.

Thank You!

by swapper on 26 Apr 2011

Oops, you were right, I was using vccleaner from an old version instead vc-cleaner. When I upgraded to 1.9.8 version I didn't update my crontab...

Now, when I execute vc-cleaner, in cleaner.log appears the following error:

ERROR YOUTUBE VIDEO_PURGE_ERR JhBLqCBmA7U Error occured while purging video at /var/spool/videocache/youtube/JhBLqCBmA7U. global name 'video' is not defined

I think is the same problem reported in http://cachevideos.com/forum/post/error-youtube-videopurgeerr

by Kulbir Saini on 27 Apr 2011

Hi Swapper,

You are right. Contact me and I'll mail you the patch :-)

Thank You!

by swapper on 27 Apr 2011

Thanks, it's working now

by Kulbir Saini on 29 Apr 2011

Great!!! Let me know if you face any issues :-)