Download & Extend

The drush zen command won't work until cache is flushed

Project:Zen
Version:7.x-5.1
Component:Documentation
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work

Issue Summary

Hi all,

trying to create a subtheme via drush:

drush zen "mxtzen"

I receive the following error:

[error] Command zen needs the following module(s) enabled to run: zen.
The drush command 'zen mxtzen' could not be executed.

Trying to enable zen theme first, but always receveing the same error, and my subtheme is not created.

I'm missing something?

Thank you very much

Comments

#1

same here, had to make sub theme by hand

#2

I was having the same problem but got it to work like this:

Update to the latest drush release. I keep drush in a git repo and just pulled and got the latest updates, cleared cache on my local site and in drush and it works now.

#3

Status:active» fixed

Suggestion #2 resolve the issue.

Thank you very much for your support.

#4

Status:fixed» needs work

I was getting the same problem so I updated drush using, pear upgrade drush/drush
All is good:
upgrade ok: channel://pear.drush.org/drush-5.4.0
Now when I run try to create a subtheme I get the following:

/var/www/drupal/site/default/$ drush zen "asubtheme"
drush: The directory "/var/www//STARTERKIT" was not found.
Drush command terminated abnormally due to an unrecoverable error.

#5

Status:needs work» fixed

d'oh.
I resolved this by a couple of drush cc all's
my bad.

#6

Thank you. This helped.

#7

Status:fixed» closed (fixed)

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

#8

Component:Miscellaneous» Documentation
Priority:major» normal
Status:closed (fixed)» needs work

Hey, maybe we need to make this a documentation issue.

If you've just downloaded Zen, you don't need to enable it, so there's nothing going to clear the cache for you.

#9

Title:The drush command 'zen mxtzen' could not be executed.» The drush zen command won't work until cache is flushed