Closed (fixed)
Project:
Drush
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
8 Apr 2009 at 17:42 UTC
Updated:
2 Jan 2010 at 06:15 UTC
Assume my site has votingapi enabled and fivestar disabled. If I do `disable votingapi`, i unneeded get warnings like:
Fivestar is already disabled. [warning]
Fivestar Comments is already disabled. [warning]
Fivestar Comments is already disabled.
Comments
Comment #1
adrian commentedi just get :
Comment #2
owen barton commentedI fixed an issue where "nothing to do" resulted in an error (I made it an 'ok' log), but I couldn't reproduce either of your issues:
Perhaps a PHP version issue? Reopen if you can still reproduce!
Comment #3
moshe weitzman commentedi can't reproduce this now either.
@adrian - i was also seeing this error:
I stepped through and the cause was a module that had a string for dependencies instead of an array in its .info file. In other words, it was not fully converted to D6. If this becomes common error, we might want to handle it.
Comment #5
AdrianB commentedIs this related?
Whenever I run disable it works ("...was disabled successfully") but then I always get:
Comment #6
owen barton commentedSee #3 - this probably means you have a module whose info file has not been upgraded to D6.
Comment #7
AdrianB commentedI got this error on a number of modules. For instance, the Devel module. And I checked every .info file in the devel folder and I couldn't find any dependencies as strings (or maybe I didn't understand #3).
Comment #8
Island Usurper commentedI think I tend to get this bug when I disable more than one (unrelated) module. It doesn't happen all of the time. It might also be related to #617428: Cancelling drush disable causes dependent modules to be disabled.
Comment #9
moshe weitzman commentedi can't reproduce this. please reopen if still reproducible on current head.