If I try to create a new site using this drush command, I get a "No such file or directory" error for the directory I'm trying to create. This happens whether I create the directory ahead of time, or not. I've tried a few variations of the command, changing the paths, using "sudo," with the same result:

drush quickstart-create all --domain=example7bjp.dev --codepath=~/Desktop/websites/example7bjp.dev --makefile=~/Desktop/websites/d7.make --profile=basic 

and here's the error:

mv: cannot stat `/home/quickstart/Desktop/websites/example7bjp.dev': No such file or directory

Version:

Ver: Quickstart 0.9.1
Cmd prompt: quickstart@qs091:~$ 
CommentFileSizeAuthor
quickstart-error.png53.36 KBBenPoole

Comments

MichaelCole’s picture

Hi Ben, thanks for moving the conversation.

There are 3 things I noticed about this:

1) don't use ~ in the command line with Druah and Quickstart. They don't automatically expand this. I created a bug for this and should fix it in v1.0. In the meantime, use /home/quickstart

2) don't use /home/quickstart/Desktop/websites, try /home/quickstart/websites instead (no Desktop). This may or may not cause problems. In the fix for 1) I'll try to dereference this shortcut as well, but no promises.

3) I had a problem with --profile=basic

$ ls ~/websites/example.dev/profiles to get a list of available profiles:
minimal provider standard testing

So, my version of this that works is:

drush quickstart-create all --domain=example7bjp.dev --codepath=/home/quickstart/websites/example7bjp.dev --makefile=/home/quickstart/websites/d7.make --profile=minimal

Note that this is equivalent to:

drush qc --domain=example7bjp.dev --makefile=/home/quickstart/websites/d7.make --profile=minimal

You could remove the --makefile parameter as default.make is a copy of d7.make.

drush qc --domain=example7bjp.dev --profile=minimal

Whew! Hope that helps,

Mike

MichaelCole’s picture

Status: Active » Fixed
chriscalip’s picture

Status: Fixed » Needs review
quickstart@qs091:~/websites$ drush qc all --domain=test.dev --codepath=/home/quickstart/websites/test.dev --makefile=/home/quickstart/websites/d6.make --profile=default
                                                                                                                                                   [ok]
Creating dns config (add test.dev to /etc/hosts) ...                                                                                               [ok]
                                                ... done.                                                                                          [ok]
Creating database: test_dev                                                                                                                        [ok]
                                                ... done.                                                                                          [ok]
Downloading code to /home/quickstart/websites/test.dev (takes a minute, check network activity) ...                                                [ok]
The external command could not be executed due to an application error.                                                                            [error]
simplexml_load_string(): Entity: line 109: parser error : Opening and ending tag mismatch: meta line 3 and head drush_make.drush.inc:256           [warning]
simplexml_load_string(): </head><body> drush_make.drush.inc:256                                                                                    [warning]
simplexml_load_string():        ^ drush_make.drush.inc:256                                                                                         [warning]
simplexml_load_string(): Entity: line 132: parser error : Opening and ending tag mismatch: br line 131 and div drush_make.drush.inc:256            [warning]
simplexml_load_string(): </div> drush_make.drush.inc:256                                                                                           [warning]
simplexml_load_string():       ^ drush_make.drush.inc:256                                                                                          [warning]
simplexml_load_string(): Entity: line 139: parser error : Opening and ending tag mismatch: hr line 134 and body drush_make.drush.inc:256           [warning]
simplexml_load_string(): </body></html> drush_make.drush.inc:256                                                                                   [warning]
simplexml_load_string():        ^ drush_make.drush.inc:256                                                                                         [warning]
simplexml_load_string(): Entity: line 139: parser error : Opening and ending tag mismatch: div line 116 and html drush_make.drush.inc:256          [warning]
simplexml_load_string(): </body></html> drush_make.drush.inc:256                                                                                   [warning]
simplexml_load_string():               ^ drush_make.drush.inc:256                                                                                  [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag hr line 114 drush_make.drush.inc:256                        [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag body line 109 drush_make.drush.inc:256                      [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag head line 2 drush_make.drush.inc:256                        [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag html line 2 drush_make.drush.inc:256                        [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
Could not retrieve version information for drupal.                                                                                                 [error]
Non-existent project type  on project views                                                                                                        [error]
simplexml_load_string(): Entity: line 109: parser error : Opening and ending tag mismatch: meta line 3 and head drush_make.drush.inc:256           [warning]
simplexml_load_string(): </head><body> drush_make.drush.inc:256                                                                                    [warning]
simplexml_load_string():        ^ drush_make.drush.inc:256                                                                                         [warning]
simplexml_load_string(): Entity: line 132: parser error : Opening and ending tag mismatch: br line 131 and div drush_make.drush.inc:256            [warning]
simplexml_load_string(): </div> drush_make.drush.inc:256                                                                                           [warning]
simplexml_load_string():       ^ drush_make.drush.inc:256                                                                                          [warning]
simplexml_load_string(): Entity: line 139: parser error : Opening and ending tag mismatch: hr line 134 and body drush_make.drush.inc:256           [warning]
simplexml_load_string(): </body></html> drush_make.drush.inc:256                                                                                   [warning]
simplexml_load_string():        ^ drush_make.drush.inc:256                                                                                         [warning]
simplexml_load_string(): Entity: line 139: parser error : Opening and ending tag mismatch: div line 116 and html drush_make.drush.inc:256          [warning]
simplexml_load_string(): </body></html> drush_make.drush.inc:256                                                                                   [warning]
simplexml_load_string():               ^ drush_make.drush.inc:256                                                                                  [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag hr line 114 drush_make.drush.inc:256                        [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag body line 109 drush_make.drush.inc:256                      [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag head line 2 drush_make.drush.inc:256                        [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag html line 2 drush_make.drush.inc:256                        [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
Could not retrieve version information for cck.                                                                                                    [error]
Non-existent project type  on project views                                                                                                        [error]
simplexml_load_string(): Entity: line 109: parser error : Opening and ending tag mismatch: meta line 3 and head drush_make.drush.inc:256           [warning]
simplexml_load_string(): </head><body> drush_make.drush.inc:256                                                                                    [warning]
simplexml_load_string():        ^ drush_make.drush.inc:256                                                                                         [warning]
simplexml_load_string(): Entity: line 132: parser error : Opening and ending tag mismatch: br line 131 and div drush_make.drush.inc:256            [warning]
simplexml_load_string(): </div> drush_make.drush.inc:256                                                                                           [warning]
simplexml_load_string():       ^ drush_make.drush.inc:256                                                                                          [warning]
simplexml_load_string(): Entity: line 139: parser error : Opening and ending tag mismatch: hr line 134 and body drush_make.drush.inc:256           [warning]
simplexml_load_string(): </body></html> drush_make.drush.inc:256                                                                                   [warning]
simplexml_load_string():        ^ drush_make.drush.inc:256                                                                                         [warning]
simplexml_load_string(): Entity: line 139: parser error : Opening and ending tag mismatch: div line 116 and html drush_make.drush.inc:256          [warning]
simplexml_load_string(): </body></html> drush_make.drush.inc:256                                                                                   [warning]
simplexml_load_string():               ^ drush_make.drush.inc:256                                                                                  [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag hr line 114 drush_make.drush.inc:256                        [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag body line 109 drush_make.drush.inc:256                      [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag head line 2 drush_make.drush.inc:256                        [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag html line 2 drush_make.drush.inc:256                        [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
Could not retrieve version information for views.                                                                                                  [error]
Non-existent project type  on project views                                                                                                        [error]
Drush command terminated abnormally due to an unrecoverable error.                                                                                 [error]
Error: Call to a member function make() on a non-object in /home/quickstart/.drush/drush_make/drush_make.drush.inc, line 239
Output from failed command :                                                                                                                       [error]
 
Fatal error: Call to a member function make() on a non-object in /home/quickstart/.drush/drush_make/drush_make.drush.inc on line 239

Call Stack:
    0.0005     394072   1. {main}() /home/quickstart/drush/drush.php:0
    0.0143    2229076   2. drush_main() /home/quickstart/drush/drush.php:41
    0.0583    6091160   3. drush_dispatch() /home/quickstart/drush/drush.php:101
    0.0583    6091656   4. call_user_func_array() /home/quickstart/drush/includes/command.inc:204
    0.0583    6091972   5. drush_command() /home/quickstart/drush/includes/command.inc:0
    0.0588    6097896   6. call_user_func_array() /home/quickstart/drush/includes/command.inc:721
    0.0588    6097932   7. drush_invoke() /home/quickstart/drush/includes/command.inc:0
    0.0591    6098424   8. drush_invoke_args() /home/quickstart/drush/includes/command.inc:58
    0.0628    6184744   9. call_user_func_array() /home/quickstart/drush/includes/command.inc:120
    0.0628    6185060  10. drush_drush_make_make() /home/quickstart/drush/includes/command.inc:0
    0.0630    6185184  11. drush_make_projects() /home/quickstart/.drush/drush_make/drush_make.drush.inc:124


The external command could not be executed due to an application error.                                                                            [error]
Drush command terminated abnormally due to an unrecoverable error.                                                                                 [error]
Error: Uncaught exception 'Exception' with message '
  chown: cannot access `/home/quickstart/websites/test.dev': No such file or directory' in /home/quickstart/quickstart/drush/quickstart.inc:30
Stack trace:
#0 /home/quickstart/quickstart/drush/quickstart.drush.inc(204): quickstart_shell_exec('sudo chown -R q...')
#1 [internal function]: drush_quickstart_fixperms()
#2 /home/quickstart/drush/includes/command.inc(120): call_user_func_array('drush_quickstar...', Array)
#3 /home/quickstart/drush/includes/command.inc(58): drush_invoke_args('quickstart-fixp...', Array)
#4 [internal function]: drush_invoke('quickstart-fixp...')
#5 /home/quickstart/drush/includes/command.inc(721): call_user_func_array('drush_invoke', Array)
#6 [internal function]: drush_command()
#7 /home/quickstart/drush/includes/command.inc(204): call_user_func_array('drush_command', Array)
#8 /home/quickstart/drush/drush.php(101): drush_dispatch(Array)
#9 /home/quickstart/drush/drush.php(41): drush_main()
#10 {main}
  thrown in /home/quickstart/quickstart/drush/quickstart.inc, line 30
Output from failed command :                                                                                                                       [error]
 
Fatal error: Uncaught exception 'Exception' with message ' in /home/quickstart/quickstart/drush/quickstart.inc on line 30

Exception: 
  chown: cannot access `/home/quickstart/websites/test.dev': No such file or directory in /home/quickstart/quickstart/drush/quickstart.inc on line
30

Call Stack:
    0.0005     393932   1. {main}() /home/quickstart/drush/drush.php:0
    0.0154    2229000   2. drush_main() /home/quickstart/drush/drush.php:41
    0.0569    6091040   3. drush_dispatch() /home/quickstart/drush/drush.php:101
    0.0570    6093524   4. call_user_func_array() /home/quickstart/drush/includes/command.inc:204
    0.0570    6093716   5. drush_command() /home/quickstart/drush/includes/command.inc:0
    0.0574    6099192   6. call_user_func_array() /home/quickstart/drush/includes/command.inc:721
    0.0574    6099220   7. drush_invoke() /home/quickstart/drush/includes/command.inc:0
    0.0577    6099384   8. drush_invoke_args() /home/quickstart/drush/includes/command.inc:58
    0.0582    6111400   9. call_user_func_array() /home/quickstart/drush/includes/command.inc:120
    0.0582    6111592  10. drush_quickstart_fixperms() /home/quickstart/drush/includes/command.inc:0
    0.0622    6115280  11. quickstart_shell_exec() /home/quickstart/quickstart/drush/quickstart.drush.inc:204


                                                ... done.                                                                                          [ok]
Creating apache config (/etc/apache2/sites-enabled/test.dev)                                                                                       [ok]
                                                ... done.                                                                                          [ok]
Running installer (takes a minute, check cpu activity) ...                                                                                         [ok]
file_get_contents(/home/quickstart/websites/test.dev/CHANGELOG.txt): failed to open stream: No such file or directory quickstart.inc:257           [warning]
Command site-install needs a higher bootstrap level to run - you will need invoke drush from a more functional Drupal environment to run this      [error]
command.
Command site-install requires Drupal core version 6 or 7 to run.                                                                                   [error]
The drush command 'site-install default' could not be executed.                                                                                    [error]
The directory /home/quickstart/websites/test.dev does not contain a valid Drupal installation                                                      [error]
                                                                                                                                                   [ok]
URL:  http://test.dev
Admin user:  admin
Admin password: admin
                                                ... done.                                                                                          [ok]
Command completed successfully. 
chriscalip’s picture

Got an empty install with that run.

default d6.make

core = 6.x
api = 2

projects[drupal][type] = core
projects[] = cck
projects[] = views

Also googled that code.. it seems other folks are also experiencing the same thing:
http://pastebin.com/BQTgyb7H

MichaelCole’s picture

I'm not seeing this error. See below.

I want you to do 3 things:
1) Re-import a fresh copy of quickstart 0.9.1. Something is wonky in your current setup.
2) Run these commands:

cd ~/quickstart
git pull
bash update.sh

3) Run this command:

quickstart@qs091:~/websites$ drush qc all --domain=test.dev --codepath=/home/quickstart/websites/test.dev --makefile=/home/quickstart/websites/d6.make --profile=default

4) If it works, close this bug. If it doesn't work, paste all the output into this bug and we'll go from there.

This works for me.

quickstart@qs091:~/quickstart$ cd /home/quickstart/websites/
quickstart@qs091:~/websites$ drush qc all --domain=test.dev --codepath=/home/quickstart/websites/test.dev --makefile=/home/quickstart/websites/d6.make --profile=default
                                                                     [ok]
Creating dns config (add test.dev to /etc/hosts) ...                 [ok]
                                                ... done.            [ok]
Creating database: test_dev                                          [ok]
                                                ... done.            [ok]
Downloading code to /home/quickstart/websites/test.dev (takes a      [ok]
minute, check network activity) ...
Project information for drupal retrieved.                            [ok]
Project information for cck retrieved.                               [ok]
Project information for views retrieved.                             [ok]
drupal downloaded from                                               [ok]
http://ftp.drupal.org/files/projects/drupal-6.20.tar.gz.
cck downloaded from                                                  [ok]
http://ftp.drupal.org/files/projects/cck-6.x-2.9.tar.gz.
views downloaded from                                                [ok]
http://ftp.drupal.org/files/projects/views-6.x-2.12.tar.gz.
                                                ... done.            [ok]
Creating apache config (/etc/apache2/sites-enabled/test.dev)         [ok]
                                                ... done.            [ok]
Running installer (takes a minute, check cpu activity) ...           [ok]
No tables to drop.                                                   [ok]
You are about to DROP your 'test_dev' database and then CREATE a new one. Do you want to continue? (y/n): y
                                                                     [ok]
URL:  http://test.dev
Admin user:  admin
Admin password: admin
                                                ... done.            [ok]
Command completed successfully.                                      [success]
quickstart@qs091:~/websites$ 
MichaelCole’s picture

I'm not seeing this error. See below.

I want you to do 3 things:
1) Re-import a fresh copy of quickstart 0.9.1. Something is wonky in your current setup.
2) Run these commands:

cd ~/quickstart
git pull
bash update.sh

3) Run this command:

quickstart@qs091:~/websites$ drush qc all --domain=test.dev --codepath=/home/quickstart/websites/test.dev --makefile=/home/quickstart/websites/d6.make --profile=default

4) If it works, close this bug. If it doesn't work, paste all the output into this bug and we'll go from there.

This works for me.

quickstart@qs091:~/quickstart$ cd /home/quickstart/websites/
quickstart@qs091:~/websites$ drush qc all --domain=test.dev --codepath=/home/quickstart/websites/test.dev --makefile=/home/quickstart/websites/d6.make --profile=default
                                                                     [ok]
Creating dns config (add test.dev to /etc/hosts) ...                 [ok]
                                                ... done.            [ok]
Creating database: test_dev                                          [ok]
                                                ... done.            [ok]
Downloading code to /home/quickstart/websites/test.dev (takes a      [ok]
minute, check network activity) ...
Project information for drupal retrieved.                            [ok]
Project information for cck retrieved.                               [ok]
Project information for views retrieved.                             [ok]
drupal downloaded from                                               [ok]
http://ftp.drupal.org/files/projects/drupal-6.20.tar.gz.
cck downloaded from                                                  [ok]
http://ftp.drupal.org/files/projects/cck-6.x-2.9.tar.gz.
views downloaded from                                                [ok]
http://ftp.drupal.org/files/projects/views-6.x-2.12.tar.gz.
                                                ... done.            [ok]
Creating apache config (/etc/apache2/sites-enabled/test.dev)         [ok]
                                                ... done.            [ok]
Running installer (takes a minute, check cpu activity) ...           [ok]
No tables to drop.                                                   [ok]
You are about to DROP your 'test_dev' database and then CREATE a new one. Do you want to continue? (y/n): y
                                                                     [ok]
URL:  http://test.dev
Admin user:  admin
Admin password: admin
                                                ... done.            [ok]
Command completed successfully.                                      [success]
quickstart@qs091:~/websites$ 
chriscalip’s picture

quickstart@qs091:~/websites$ drush qc all --domain=test.dev --codepath=/home/quickstart/websites/test.dev --makefile=/home/quickstart/websites/d6.make --profile=default
                                                                                                                                                   [ok]
Creating dns config (add test.dev to /etc/hosts) ...                                                                                               [ok]
                                                ... done.                                                                                          [ok]
Creating database: test_dev                                                                                                                        [ok]
                                                ... done.                                                                                          [ok]
Downloading code to /home/quickstart/websites/test.dev (takes a minute, check network activity) ...                                                [ok]
The external command could not be executed due to an application error.                                                                            [error]
simplexml_load_string(): Entity: line 109: parser error : Opening and ending tag mismatch: meta line 3 and head drush_make.drush.inc:256           [warning]
simplexml_load_string(): </head><body> drush_make.drush.inc:256                                                                                    [warning]
simplexml_load_string():        ^ drush_make.drush.inc:256                                                                                         [warning]
simplexml_load_string(): Entity: line 132: parser error : Opening and ending tag mismatch: br line 131 and div drush_make.drush.inc:256            [warning]
simplexml_load_string(): </div> drush_make.drush.inc:256                                                                                           [warning]
simplexml_load_string():       ^ drush_make.drush.inc:256                                                                                          [warning]
simplexml_load_string(): Entity: line 139: parser error : Opening and ending tag mismatch: hr line 134 and body drush_make.drush.inc:256           [warning]
simplexml_load_string(): </body></html> drush_make.drush.inc:256                                                                                   [warning]
simplexml_load_string():        ^ drush_make.drush.inc:256                                                                                         [warning]
simplexml_load_string(): Entity: line 139: parser error : Opening and ending tag mismatch: div line 116 and html drush_make.drush.inc:256          [warning]
simplexml_load_string(): </body></html> drush_make.drush.inc:256                                                                                   [warning]
simplexml_load_string():               ^ drush_make.drush.inc:256                                                                                  [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag hr line 114 drush_make.drush.inc:256                        [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag body line 109 drush_make.drush.inc:256                      [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag head line 2 drush_make.drush.inc:256                        [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag html line 2 drush_make.drush.inc:256                        [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
Could not retrieve version information for drupal.                                                                                                 [error]
Non-existent project type  on project views                                                                                                        [error]
simplexml_load_string(): Entity: line 109: parser error : Opening and ending tag mismatch: meta line 3 and head drush_make.drush.inc:256           [warning]
simplexml_load_string(): </head><body> drush_make.drush.inc:256                                                                                    [warning]
simplexml_load_string():        ^ drush_make.drush.inc:256                                                                                         [warning]
simplexml_load_string(): Entity: line 132: parser error : Opening and ending tag mismatch: br line 131 and div drush_make.drush.inc:256            [warning]
simplexml_load_string(): </div> drush_make.drush.inc:256                                                                                           [warning]
simplexml_load_string():       ^ drush_make.drush.inc:256                                                                                          [warning]
simplexml_load_string(): Entity: line 139: parser error : Opening and ending tag mismatch: hr line 134 and body drush_make.drush.inc:256           [warning]
simplexml_load_string(): </body></html> drush_make.drush.inc:256                                                                                   [warning]
simplexml_load_string():        ^ drush_make.drush.inc:256                                                                                         [warning]
simplexml_load_string(): Entity: line 139: parser error : Opening and ending tag mismatch: div line 116 and html drush_make.drush.inc:256          [warning]
simplexml_load_string(): </body></html> drush_make.drush.inc:256                                                                                   [warning]
simplexml_load_string():               ^ drush_make.drush.inc:256                                                                                  [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag hr line 114 drush_make.drush.inc:256                        [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag body line 109 drush_make.drush.inc:256                      [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag head line 2 drush_make.drush.inc:256                        [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag html line 2 drush_make.drush.inc:256                        [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
Could not retrieve version information for cck.                                                                                                    [error]
Non-existent project type  on project views                                                                                                        [error]
simplexml_load_string(): Entity: line 109: parser error : Opening and ending tag mismatch: meta line 3 and head drush_make.drush.inc:256           [warning]
simplexml_load_string(): </head><body> drush_make.drush.inc:256                                                                                    [warning]
simplexml_load_string():        ^ drush_make.drush.inc:256                                                                                         [warning]
simplexml_load_string(): Entity: line 132: parser error : Opening and ending tag mismatch: br line 131 and div drush_make.drush.inc:256            [warning]
simplexml_load_string(): </div> drush_make.drush.inc:256                                                                                           [warning]
simplexml_load_string():       ^ drush_make.drush.inc:256                                                                                          [warning]
simplexml_load_string(): Entity: line 139: parser error : Opening and ending tag mismatch: hr line 134 and body drush_make.drush.inc:256           [warning]
simplexml_load_string(): </body></html> drush_make.drush.inc:256                                                                                   [warning]
simplexml_load_string():        ^ drush_make.drush.inc:256                                                                                         [warning]
simplexml_load_string(): Entity: line 139: parser error : Opening and ending tag mismatch: div line 116 and html drush_make.drush.inc:256          [warning]
simplexml_load_string(): </body></html> drush_make.drush.inc:256                                                                                   [warning]
simplexml_load_string():               ^ drush_make.drush.inc:256                                                                                  [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag hr line 114 drush_make.drush.inc:256                        [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag body line 109 drush_make.drush.inc:256                      [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag head line 2 drush_make.drush.inc:256                        [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
simplexml_load_string(): Entity: line 140: parser error : Premature end of data in tag html line 2 drush_make.drush.inc:256                        [warning]
simplexml_load_string():  drush_make.drush.inc:256                                                                                                 [warning]
simplexml_load_string(): ^ drush_make.drush.inc:256                                                                                                [warning]
Could not retrieve version information for views.                                                                                                  [error]
Non-existent project type  on project views                                                                                                        [error]
Drush command terminated abnormally due to an unrecoverable error.                                                                                 [error]
Error: Call to a member function make() on a non-object in /home/quickstart/.drush/drush_make_back/drush_make.drush.inc, line 239
Output from failed command :                                                                                                                       [error]
 
Fatal error: Call to a member function make() on a non-object in /home/quickstart/.drush/drush_make_back/drush_make.drush.inc on line 239

Call Stack:
    0.0008     394072   1. {main}() /home/quickstart/drush/drush.php:0
    0.0240    2229076   2. drush_main() /home/quickstart/drush/drush.php:41
    0.0775    6091116   3. drush_dispatch() /home/quickstart/drush/drush.php:101
    0.0776    6091612   4. call_user_func_array() /home/quickstart/drush/includes/command.inc:204
    0.0776    6091928   5. drush_command() /home/quickstart/drush/includes/command.inc:0
    0.0782    6097852   6. call_user_func_array() /home/quickstart/drush/includes/command.inc:721
    0.0782    6097888   7. drush_invoke() /home/quickstart/drush/includes/command.inc:0
    0.0785    6098380   8. drush_invoke_args() /home/quickstart/drush/includes/command.inc:58
    0.0825    6184740   9. call_user_func_array() /home/quickstart/drush/includes/command.inc:120
    0.0825    6185056  10. drush_drush_make_make() /home/quickstart/drush/includes/command.inc:0
    0.0826    6185180  11. drush_make_projects() /home/quickstart/.drush/drush_make_back/drush_make.drush.inc:124


The external command could not be executed due to an application error.                                                                            [error]
Drush command terminated abnormally due to an unrecoverable error.                                                                                 [error]
Error: Uncaught exception 'Exception' with message '
  chown: cannot access `/home/quickstart/websites/test.dev': No such file or directory' in /home/quickstart/quickstart/drush/quickstart.inc:30
Stack trace:
#0 /home/quickstart/quickstart/drush/quickstart.drush.inc(204): quickstart_shell_exec('sudo chown -R q...')
#1 [internal function]: drush_quickstart_fixperms()
#2 /home/quickstart/drush/includes/command.inc(120): call_user_func_array('drush_quickstar...', Array)
#3 /home/quickstart/drush/includes/command.inc(58): drush_invoke_args('quickstart-fixp...', Array)
#4 [internal function]: drush_invoke('quickstart-fixp...')
#5 /home/quickstart/drush/includes/command.inc(721): call_user_func_array('drush_invoke', Array)
#6 [internal function]: drush_command()
#7 /home/quickstart/drush/includes/command.inc(204): call_user_func_array('drush_command', Array)
#8 /home/quickstart/drush/drush.php(101): drush_dispatch(Array)
#9 /home/quickstart/drush/drush.php(41): drush_main()
#10 {main}
  thrown in /home/quickstart/quickstart/drush/quickstart.inc, line 30
Output from failed command :                                                                                                                       [error]
 
Fatal error: Uncaught exception 'Exception' with message ' in /home/quickstart/quickstart/drush/quickstart.inc on line 30

Exception: 
  chown: cannot access `/home/quickstart/websites/test.dev': No such file or directory in /home/quickstart/quickstart/drush/quickstart.inc on line
30

Call Stack:
    0.0006     393932   1. {main}() /home/quickstart/drush/drush.php:0
    0.0304    2229000   2. drush_main() /home/quickstart/drush/drush.php:41
    0.0868    6090996   3. drush_dispatch() /home/quickstart/drush/drush.php:101
    0.0869    6093480   4. call_user_func_array() /home/quickstart/drush/includes/command.inc:204
    0.0869    6093672   5. drush_command() /home/quickstart/drush/includes/command.inc:0
    0.0873    6099148   6. call_user_func_array() /home/quickstart/drush/includes/command.inc:721
    0.0873    6099176   7. drush_invoke() /home/quickstart/drush/includes/command.inc:0
    0.0877    6099340   8. drush_invoke_args() /home/quickstart/drush/includes/command.inc:58
    0.0881    6111356   9. call_user_func_array() /home/quickstart/drush/includes/command.inc:120
    0.0881    6111548  10. drush_quickstart_fixperms() /home/quickstart/drush/includes/command.inc:0
    0.0923    6115236  11. quickstart_shell_exec() /home/quickstart/quickstart/drush/quickstart.drush.inc:204


                                                ... done.                                                                                          [ok]
Creating apache config (/etc/apache2/sites-enabled/test.dev)                                                                                       [ok]
                                                ... done.                                                                                          [ok]
Running installer (takes a minute, check cpu activity) ...                                                                                         [ok]
file_get_contents(/home/quickstart/websites/test.dev/CHANGELOG.txt): failed to open stream: No such file or directory quickstart.inc:257           [warning]
Command site-install needs a higher bootstrap level to run - you will need invoke drush from a more functional Drupal environment to run this      [error]
command.
Command site-install requires Drupal core version 6 or 7 to run.                                                                                   [error]
The drush command 'site-install default' could not be executed.                                                                                    [error]
The directory /home/quickstart/websites/test.dev does not contain a valid Drupal installation                                                      [error]
                                                                                                                                                   [ok]
URL:  http://test.dev
Admin user:  admin
Admin password: admin
                                                ... done.                                                                                          [ok]
Command completed successfully.
chriscalip’s picture

Status: Fixed » Needs review

I've noticed a few things with the install...

It hangs on git pull, wget and drush dl ... i think thats what's going on..
you can't su to root. the pwd quickstart doesnt seem to work.

I had to manually copy an updated git directory..

MichaelCole’s picture

Status: Needs review » Fixed

Chris,

You shouldn't have to do that.

I think you've changed something in your dev env to wedge it. Follow the steps I outlined above and paste the results if you'd like more help.

It's frustrating to be asked for help and advice, to take the time to give it, and then not have it followed... Waaaaaah :-)

Mike

chriscalip’s picture

Michael,

Yeah i tried to follow your advice; but git pull hanged...

*** Found what's wonky:
/etc/resolve.conf does not have the proper values; double whammy is that .. I cannot seem to su to root. with the password: quickstart

MichaelCole’s picture

Status: Needs review » Fixed

Ok, great! Good to know.

Thanks for tracking that down Chris.

I'm guessing the root cause is a networking issue. If you find a reproducible bug, submit it to Ubuntu.

https://help.ubuntu.com/community/ReportingBugs

MichaelCole’s picture

$ sudo gedit /etc/resolv.conf

Works on QS 0.9.1 without a password.

MichaelCole’s picture

Also, could you report the bug to "drush make" so as to get a better error message.

chriscalip’s picture

Thanks confirmed it was the resolv.conf in my case.

MichaelCole’s picture

I experienced this "simplexml" issue and was able to work around it with:

sudo /etc/init.d/squid3 stop

MichaelCole’s picture

Try: sudo /etc/init.d/squid3 restart

BenPoole’s picture

I wanted to report back on the original solution from comment #1 was a big help - it worked for me, and it's what I needed. I had tried a few variations of the path, but must not have had it right. @MichaelCole, thanks for the explanation of the alias commands, as well. These commands are a huge efficiency within quickstart, thanks again.

MichaelCole’s picture

Awesome! Glad it worked :-)

Status: Fixed » Closed (fixed)

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

jelle_s’s picture

just wanted to say I had the same problem and #16 worked for me! thx ;-)

danlanglois’s picture

Component: Miscellaneous » Image Build
Category: support » bug
Status: Closed (fixed) » Needs review

I also had the same problem and #16 worked for me. I'm on qs10. Easy fix, but I think this might count as a bug report (I've changed the category), as there is a fair amount involved in Squid configuration, there's http_access configuration, all kinds of directives, swap directories, & it appears to me that, out of the box, Quickstart doesn't quite get Squick ready to serve requests. For me, everything was not working okay, until I did a Squid restart.

Before that, I couldn't to this:
drush quickstart-create --domain=test.dev

And, I also experienced the problem mentioned in the comments above, w/git pull hanging.

danlanglois’s picture

Status: Needs review » Active

hmm..cross-reference https://drupal.org/node/1249404
'Alot of Drush Make users, who are introduced to it with Quickstart, have this trouble.'

mortona2k’s picture

I had the error in #3 (and #7). First part in #5 fixed it.

mike stewart’s picture

Status: Active » Fixed

Doesnt seem to be a problem with quickstart in and of itself, except possibly networking. And one of major recurring problems seems related to squid. seems all of the fixes are here.

after Quickstart 2.x is released ... we'll keep an eye out for this problem. squid will be going away due to problems (search issue queue or see: http://drupal.org/node/1298560#comment-5070852 as one example)

If I seem to be missing something, please let me know by adding to this issue. (or post a new issue if using Quickstart v2.x+

Status: Fixed » Closed (fixed)

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

vacho’s picture

I have a mesaage "Command site-install needs a higher bootstrap level to run - you will need invoke drush from a more functional Drupal environment to run this [error]"
I tried to install Drupal with druhs but being located outside a folder with files downloaded drupal. I have resorted to this running drush commands within the drupal folder.

drupalreggie’s picture

#16 worked for me as well!