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

rcaracaus’s picture

same here, had to make sub theme by hand

abelb’s picture

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.

MXT’s picture

Status: Active » Fixed

Suggestion #2 resolve the issue.

Thank you very much for your support.

tregeagle’s picture

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.

tregeagle’s picture

Status: Needs work » Fixed

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

Anonymous’s picture

Thank you. This helped.

Status: Fixed » Closed (fixed)

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

JohnAlbin’s picture

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.

JohnAlbin’s picture

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

Version: 7.x-5.1 » 7.x-5.x-dev
Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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

yuseferi’s picture

You should enable zen theme and set as default and go to your drupalsite root directory then try it

simohell’s picture

Issue summary: View changes

Setting zen as default theme works for me. Not all that handy when upgrading a site theme from a non-responsive to zen...