Using drush video-scheduler all works but cache clear

php: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'www_crabruzzo_loc.cache_content' doesn't[error]
exist: TRUNCATE {cache_content} ; Array
(
)
 in cache_clear_all() (line 170 of /var/www-drupal/www.crabruzzo.loc/includes/cache.inc).
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'www_crabruzzo_loc.cache_content' doesn't exist: TRUNCATE {cache_content} ; Array
(
)
 in cache_clear_all() (linea 170 di /var/www-drupal/www.crabruzzo.loc/includes/cache.inc).
Drush command terminated abnormally due to an unrecoverable error.                                                       [error]

I think we simply need to apply that patch to port run_queue() function to drupal7

diff -r 458de44066c7 modules/video/includes/conversion.inc
--- a/modules/video/includes/conversion.inc	Thu Apr 14 16:20:13 2011 +0200
+++ b/modules/video/includes/conversion.inc	Thu Apr 14 17:58:42 2011 +0200
@@ -24,7 +24,7 @@
         $this->process($video);
       }
       //clear cache once completed the conversion to update the file paths
-      cache_clear_all('*', 'cache_content', true);
+      cache_clear_all();
     }
   }

Comments

mrfree’s picture

Status: Active » Needs review
heshanlk’s picture

Status: Needs review » Fixed

added to 7.x-1.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.