After

drush pm install devel
drush mm enable devel
drush mm mm list

devel is still not enabled. After another

drush mm enable devel
drush mm mm list

it is enabled.

Comments

clemens.tolboom’s picture

After installing views which was reported missing the views module did not appear in the list at all.

drush mm list
drush pm install views
drush mm enable views
drush mm list

Running sql shows only no views module in the system table.
drush sql query "select * from system"

Toughing 'admin/build/modules' shows views in 'mm list' again.

So code fails for enabling a module not in the system table yet.

drush_mm checks the file system for availability of modules. But module_enable is not ready for receiving this message :-/

I think the fix is in rebuilding the system table.

clemens.tolboom’s picture

Assigned: Unassigned » clemens.tolboom
Status: Active » Fixed

Test scenario:

- install drupal (5.7)
- install drush
- install update_status

Then

drush pm install ubercart
drush mm list

does not list all the uc_* modules

Adding a call to module_rebuild_cache(); lists the modules. Then

drush drush_mm pm install workflow_ng tapir token ubrowser
drush drush_mm mm enable uc_cart
drush drush_mm mm list

results in a successful install of ubercart.

clemens.tolboom’s picture

Disabling a module and then removing it still reports 'ERROR' in drush mm list so I guess there should be another call to clean the database.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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