After getting the following error:

Unable to create sites/default/themes.                        [error]
Failed to generate subtheme.                                                   [error]

I created the directory sites/default/themes, and set the permissions correctly (I think) to 775.

Then I re-ran the wizard.

At this stage:
Do you want to make your new theme the default theme? (y/n): y

I got the following error and was unable to proceed:

<h1>Additional uncaught exception thrown while handling exception.</h1><h2>Original</h2><p>PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: DELETE FROM {cache} 
WHERE  (cid LIKE :db_condition_placeholder_0 ESCAPE &amp;#039;\\&amp;#039;) ; Array
(
    [:db_condition_placeholder_0] =&amp;gt; theme\_registry%
)
 in cache_clear_all() (line 176 of /vagrant/public/includes/cache.inc).</p><h2>Additional</h2><p>PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array
(
    [:db_insert_placeholder_0] =&amp;gt; 0
    [:db_insert_placeholder_1] =&amp;gt; php
    [:db_insert_placeholder_2] =&amp;gt; %type: !message in %function (line %line of %file).
    [:db_insert_placeholder_3] =&amp;gt; a:6:{s:5:&amp;quot;%type&amp;quot;;s:12:&amp;quot;PDOException&amp;quot;;s:8:&amp;quot;!message&amp;quot;;s:223:&amp;quot;SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: DELETE FROM {cache} 
WHERE  (cid LIKE :db_condition_placeholder_0 ESCAPE &amp;amp;#039;\\&amp;amp;#039;) ; Array
(
    [:db_condition_placeholder_0] =&amp;amp;gt; theme\_registry%
)
&amp;quot;;s:9:&amp;quot;%function&amp;quot;;s:17:&amp;quot;cache_clear_all()&amp;quot;;s:5:&amp;quot;%file&amp;quot;;s:34:&amp;quot;/vagrant/public/includes/cache.inc&amp;quot;;s:5:&amp;quot;%line&amp;quot;;i:176;s:14:&amp;quot;severity_level&amp;quot;;i:3;}
    [:db_insert_placeholder_4] =&amp;gt; 3
    [:db_insert_placeholder_5] =&amp;gt; 
    [:db_insert_placeholder_6] =&amp;gt; http://default/index.php
    [:db_insert_placeholder_7] =&amp;gt; 
    [:db_insert_placeholder_8] =&amp;gt; 127.0.0.1
    [:db_insert_placeholder_9] =&amp;gt; 1359514539
)
 in dblog_watchdog() (line 154 of /vagrant/public/modules/dblog/dblog.module).</p><hr />Drush command terminated abnormally due to an unrecoverable error.                                                               [error]
CommentFileSizeAuthor
#3 screenshot omega wizard error.jpg226 KBAnonymous (not verified)
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

msmithcti’s picture

Assigned: Unassigned » msmithcti

I'll take a look at this over the next few days.

fubhy’s picture

Status: Active » Closed (works as designed)

I can't reproduce this error anymore. Also, sites/default/themes is not a valid theme folder anymore and does not work anyways :).

Anonymous’s picture

Issue summary: View changes
Status: Closed (works as designed) » Needs review
Issue tags: +omega, +wizard, +drush, +MySQL 2006 error
FileSize
226 KB

I am getting the same error when using drush omega-wizard.

See uploaded file: screenshot omega wizard error.jpg

The relevant error message seem to be:

Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT filename, name, type, status, schema_version, weight FROM {system} WHERE type = :type; Array

steinmb’s picture

Status: Needs review » Closed (cannot reproduce)
Issue tags: -omega, -wizard, -drush, -MySQL 2006 error