Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

unexpected EOF Error #1527

Closed
mikemadison13 opened this issue May 18, 2017 · 1 comment
Closed

unexpected EOF Error #1527

mikemadison13 opened this issue May 18, 2017 · 1 comment
Labels
Bug Something isn't working

Comments

@mikemadison13
Copy link
Contributor

My system information:

  • Operating system type: Mac OS
  • Operating system version: 10.11.6
  • BLT version: 8.x.dev (8.9.x -- 531b7e8)

Output of blt doctor:

+----------------------+--------------------------------------------------------------------------------+
| Property             | Value                                                                          |
+----------------------+--------------------------------------------------------------------------------+
| %paths               |                                                                                |
|  - %root             | /var/www/<project>/docroot                                                         |
|  - %site             | sites/default                                                                  |
|  - %modules          | modules                                                                        |
|  - %themes           | themes                                                                         |
|  - %config-sync      | ../config/default                                                              |
|  - %files            | sites/default/files                                                            |
|  - %private          | /var/www/<project>/files-private                                                   |
|  - %temp             | /tmp                                                                           |
| admin-theme          | seven                                                                          |
| blt-version          | 8.x-dev                                                                        |
| bootstrap            | Successful                                                                     |
| config-sync          | ../config/default                                                              |
| db-driver            | mysql                                                                          |
| db-hostname          | localhost                                                                      |
| db-name              | drupal                                                                         |
| db-password          | drupal                                                                         |
| db-port              | 3306                                                                           |
| db-status            | Connected                                                                      |
| db-username          | drupal                                                                         |
| drupal-settings-file | sites/default/settings.php                                                     |
| drupal-version       | 8.3.2                                                                          |
| drush-alias-files    | /var/www/<project>/docroot/../drush/site-aliases/aliases.drushrc.php               |
|                      | /var/www/<project>/docroot/../drush/site-aliases/example.acsf.aliases.drushrc.php  |
|                      | /var/www/<project>/docroot/../drush/site-aliases/example.local.aliases.drushrc.php |
|                      | /var/www/<project>/docroot/../drush/site-aliases/mtav2.aliases.drushrc.php         |
|                      | /var/www/<project>/docroot/../drush/site-aliases/pcac.aliases.drushrc.php          |
| drush-conf           | /var/www/<project>/drush/drushrc.php                                               |
| drush-script         | /var/www/<project>/vendor/drush/drush/drush.php                                    |
| drush-temp           | /tmp                                                                           |
| drush-version        | 8.1.11                                                                         |
| files                | sites/default/files                                                            |
| install-profile      | lightning                                                                      |
| local-drushrc        | /var/www/<project>/docroot/sites/default/local.drushrc.php                         |
| local-settings       | /var/www/<project>/docroot/sites/default/settings/local.settings.php               |
| modules              | modules                                                                        |
| php-bin              | /usr/bin/php                                                                   |
| php-conf             | /etc/php/5.6/cli/php.ini                                                       |
| php-os               | Linux                                                                          |
| private              | /var/www/<project>/files-private                                                   |
| root                 | /var/www/<project>/docroot                                                         |
| site                 | sites/default                                                                  |
| temp                 | /tmp                                                                           |
| theme                | <project>2                                                                         |
| themes               | themes                                                                         |
| uri                  | http://local.<project>.com                                                         |
| user                 |                                                                                |
+----------------------+--------------------------------------------------------------------------------+
+--------------------------+---------------------------------------------------------------------------------+
| Check                    | Outcome                                                                         |
+--------------------------+---------------------------------------------------------------------------------+
| checkDocrootExists       | Found docroot.                                                                  |
| checkCoreExists          | Drupal core exists                                                              |
| checkSettingsFile        | BLT settings are included in settings file.                                     |
| checkLocalSettingsFile   | Found your local settings file.                                                 |
| checkLocalDrushFile      | Found your local drush settings file.                                           |
| checkUri                 | $options['uri'] is set.                                                         |
| checkUriResponse         | Received a response from site http://local.<project>.com.                           |
| checkFileSystem:%files   | Public files directory is writable.                                             |
| checkFileSystem:%private | Private files directory does not exist.                                         |
|                          |                                                                                 |
|                          | Create /var/www/<project>/files-private.                                            |
|                          | Installing Drupal will create this directory for you.                           |
|                          | Run `blt setup:drupal:install` to install Drupal, or run `blt setup` to run the |
|                          | entire setup process.                                                           |
|                          | Otherwise, run `mkdir -p /var/www/<project>/files-private`.                         |
|                          |                                                                                 |
| checkFileSystem:%temp    | Temporary files directory is writable.                                          |
| checkDbConnection        | Connected to database.                                                          |
| checkDrupalBootstrapped  | Bootstrapped Drupal via drush.                                                  |
| checkDrupalInstalled     | Drupal is installed.                                                            |
| checkCaching:page        | Drupal cache is disabled.                                                       |
| checkCaching:css         | CSS preprocessing is disabled.                                                  |
| checkCaching:js          | JS preprocessing is disabled.                                                   |
| checkCiConfig            | Git remotes are set in project.yml.                                             |
| checkComposer:require    | acquia/blt is in composer.json's require object.                                |
| checkComposer:plugins    | hirak/prestissimo plugin for composer is installed.                             |
| checkBehat:exists        | Behat local settings file exists.                                               |
| checkProjectYml:keys     | project.yml has no deprecated keys.                                             |
| checkAcsfConfig          | BLT settings are not included in your pre-settings-php include.                 |
|                          |   Add a require statement for "/../vendor/acquia/blt/settings/blt.settings.php" |
|                          | to /var/www/<project>/docroot/../factory-hooks/pre-settings-php/includes.php        |
| checkPhpDateTimezone     | PHP setting for date.timezone is correctly set                                  |
+--------------------------+---------------------------------------------------------------------------------+

When I run this command:

blt local:sync:db 

I get the following output:

> setup:settings
[Acquia\Blt\Robo\Tasks\DrushTask] Running /Users/mike.madison/git/<project>/vendor/bin/drush cc drush" --uri=default --yes && /Users/mike.madison/git/<project>/vendor/bin/drush sql-drop --uri=default --yes && /Users/mike.madison/git/<project>/vendor/bin/drush sql-sync @pcac.test @<project>.local --structure-tables-key=lightweight --create-db --sanitize --uri=default --yes && /Users/mike.madison/git/<project>/vendor/bin/drush cache-clear drush --uri=default --yes && /Users/mike.madison/git/<project>/vendor/bin/drush @<project>.local cache-rebuild --uri=default --yes in /Users/mike.madison/git/<project>/docroot
sh: -c: line 0: unexpected EOF while looking for matching `"'
sh: -c: line 1: syntax error: unexpected end of file
[Acquia\Blt\Robo\Tasks\DrushTask]  Exit code 2  Time 0.01s
[error]   

And I expected this to happen:

@grasmash grasmash added the Bug Something isn't working label May 30, 2017
@grasmash
Copy link
Contributor

Yeah there were a bunch of issues with the local:* commands. They have been refactored and have passed testing now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants