seo_checklist and Drush not playing well in my sandbox - any other Austin folks notice this?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
equintanilla's picture

out of curiousity - has anyone seen this while using Drush and SEO Checklist? Apparently, they are not playing well together on my sandbox area. Drush works great if I remove the seo_checklist module.

Just curious before I open a bug issue and not sure if it is with Drush or SEO_checklist,

Your friendly product manager who is dangerous with Drupal,

Elizabeth

Elizabeth-Quintanilla:all elizabethquintanilla$ drush status
Duplicate entry 'sites/all/modules/seo_checklist/seochecklist.module' for key 1 [error]
query: INSERT INTO system (name, info, type, filename, status, throttle, bootstrap) VALUES ('seochecklist',
'a:10:{s:4:\"name\";s:15:\"\"SEO\" Checklist\";s:11:\"description\";s:52:\"A Search
Engine Optimization checklist for Drupal
6.\";s:4:\"core\";s:3:\"6.x\";s:7:\"package\";s:15:\"\"SEO\"
Checklist\";s:7:\"version\";s:7:\"6.x-2.0\";s:7:\"project\";s:13:\"seo_checklist\";s:9:\"datestamp\";s:10:\"1249685460\";s:12:\"dependencies\";a:0:{}s:10:\"dependents\";a:0:{}s:3:\"php\";s:5:\"4.3.5\";}',
'module', 'sites/all/modules/seo_checklist/seochecklist.module', 0, 0, 0) in
/Applications/MAMP/websites/www.elizabeth-quintanilla.com/site/includes/module.inc on line 147.
PHP configuration : /Applications/MAMP/conf/php5/php.ini
Drupal Root : /Applications/MAMP/websites/www.elizabeth-quintanilla.com/site
Drupal version : 6.14
Site Path : sites/default
Site URI : http://default
Database Driver : mysqli
Database Hostname : localhost
Database Username :
Database Name :
Database Password :
Database : Connected
Drupal Bootstrap : Successful
Drupal User : Anonymous
An error occurred at function : drush_core_status [error]
Elizabeth-Quintanilla:all elizabethquintanilla$ drush status
PHP configuration : /Applications/MAMP/conf/php5/php.ini
Drupal Root : /Applications/MAMP/websites/www.elizabeth-quintanilla.com/site
Drupal version : 6.14
Site Path : sites/default
Site URI : http://default
Database Driver : mysqli
Database Hostname : localhost
Database Username :
Database Name :
Database Password :
Database : Connected
Drupal Bootstrap : Successful
Drupal User : Anonymous

Comments

I dunno, but that doesn't

Chad.Cumba's picture

I dunno, but that doesn't look like a bug to me. Looks more like the install of the SEO checklist module went haywire, or maybe drush is trying to re-install it.

Basically you're getting collision on the primary key filename in the system table, which means that somewhere the modules install hooks got called. This may be a drush thing, but I doubt it.

A comment

equintanilla's picture

Thanks Chad - I'll play with it some more in a fresh Drupal installation see if it acts up again.

Elizabeth

aha!

bdimaggio's picture

Hey equintanilla -- I was getting the same problem it was driving me nuts. It turns out that there was a capitalization difference between versions of this module. That is, the file used to be SEOChecklist.module, and at some point they (sensibly) renamed it seochecklist.module. At some point in the process of running Drush, this was causing problems. The fix? Just delete that row from the system table:

DELETE FROM system WHERE = 'sites/all/modules/seo_checklist/SEOChecklist.module' LIMIT 1

(note that you might have the module in the sites/[your site name]/modules directory, in which case you should change the SQL statement above accordingly.)

You can then re-enable it from the modules page. Or from your now-functional copy of Drush :)

THANK YOU!!

equintanilla's picture

I really appreciate it. Volacci SEO Checklist is a great module for me but getting to work with Drush was driving me nuts, also.

Hope the Volacci folks fix it so the seochecklist.module will work with Drush,

Elizabeth