Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue creating a new box #56

Open
gharth1 opened this issue Jun 24, 2016 · 2 comments
Open

Issue creating a new box #56

gharth1 opened this issue Jun 24, 2016 · 2 comments

Comments

@gharth1
Copy link

gharth1 commented Jun 24, 2016

Hi,

After select of options

Lets configure your server
Which OS would you like to install?
  [0] CentOS 6.5
  [1] Ubuntu 14
 > 
PHP Notice:  Undefined index: CentOS 6.5 in /Users/gavin/.composer/vendor/symfony/console/Question/ChoiceQuestion.php on line 165
PHP Stack trace:
PHP   1. {main}() /Users/gavin/.composer/vendor/richdynamix/magestead/magestead:0
PHP   2. Symfony\Component\Console\Application->run() /Users/gavin/.composer/vendor/richdynamix/magestead/magestead:61
PHP   3. Symfony\Component\Console\Application->doRun() /Users/gavin/.composer/vendor/symfony/console/Application.php:126
PHP   4. Symfony\Component\Console\Application->doRunCommand() /Users/gavin/.composer/vendor/symfony/console/Application.php:195
PHP   5. Symfony\Component\Console\Command\Command->run() /Users/gavin/.composer/vendor/symfony/console/Application.php:878
PHP   6. Magestead\Command\NewCommand->execute() /Users/gavin/.composer/vendor/symfony/console/Command/Command.php:259
PHP   7. Magestead\Helper\Options->__construct() /Users/gavin/.composer/vendor/richdynamix/magestead/src/Magestead/Command/NewCommand.php:47
PHP   8. Magestead\Helper\Options->setServerConfig() /Users/gavin/.composer/vendor/richdynamix/magestead/src/Magestead/Helper/Options.php:43
PHP   9. Magestead\Helper\Options->setOperatingSystem() /Users/gavin/.composer/vendor/richdynamix/magestead/src/Magestead/Helper/Options.php:227
PHP  10. Symfony\Component\Console\Helper\QuestionHelper->ask() /Users/gavin/.composer/vendor/richdynamix/magestead/src/Magestead/Helper/Options.php:261
PHP  11. Symfony\Component\Console\Helper\QuestionHelper->validateAttempts() /Users/gavin/.composer/vendor/symfony/console/Helper/QuestionHelper.php:58
PHP  12. call_user_func:{/Users/gavin/.composer/vendor/symfony/console/Helper/QuestionHelper.php:391}() /Users/gavin/.composer/vendor/symfony/console/Helper/QuestionHelper.php:391
PHP  13. Symfony\Component\Console\Question\ChoiceQuestion->Symfony\Component\Console\Question\{closure}() /Users/gavin/.composer/vendor/symfony/console/Helper/QuestionHelper.php:391

Notice: Undefined index: CentOS 6.5 in /Users/gavin/.composer/vendor/symfony/console/Question/ChoiceQuestion.php on line 165

Call Stack:
    0.0002     240936   1. {main}() /Users/gavin/.composer/vendor/richdynamix/magestead/magestead:0
    0.0156    2377136   2. Symfony\Component\Console\Application->run() /Users/gavin/.composer/vendor/richdynamix/magestead/magestead:61
    0.0189    2717680   3. Symfony\Component\Console\Application->doRun() /Users/gavin/.composer/vendor/symfony/console/Application.php:126
    0.0191    2718600   4. Symfony\Component\Console\Application->doRunCommand() /Users/gavin/.composer/vendor/symfony/console/Application.php:195
    0.0191    2719104   5. Symfony\Component\Console\Command\Command->run() /Users/gavin/.composer/vendor/symfony/console/Application.php:878
    0.0194    2723264   6. Magestead\Command\NewCommand->execute() /Users/gavin/.composer/vendor/symfony/console/Command/Command.php:259
    0.0199    2782024   7. Magestead\Helper\Options->__construct() /Users/gavin/.composer/vendor/richdynamix/magestead/src/Magestead/Command/NewCommand.php:47
    2.3110    2822392   8. Magestead\Helper\Options->setServerConfig() /Users/gavin/.composer/vendor/richdynamix/magestead/src/Magestead/Helper/Options.php:43
    2.3112    2822472   9. Magestead\Helper\Options->setOperatingSystem() /Users/gavin/.composer/vendor/richdynamix/magestead/src/Magestead/Helper/Options.php:227
    2.3116    2859216  10. Symfony\Component\Console\Helper\QuestionHelper->ask() /Users/gavin/.composer/vendor/richdynamix/magestead/src/Magestead/Helper/Options.php:261
    2.3116    2860704  11. Symfony\Component\Console\Helper\QuestionHelper->validateAttempts() /Users/gavin/.composer/vendor/symfony/console/Helper/QuestionHelper.php:58
    8.5906    2861696  12. call_user_func:{/Users/gavin/.composer/vendor/symfony/console/Helper/QuestionHelper.php:391}() /Users/gavin/.composer/vendor/symfony/console/Helper/QuestionHelper.php:391
    8.5906    2861872  13. Symfony\Component\Console\Question\ChoiceQuestion->Symfony\Component\Console\Question\{closure}() /Users/gavin/.composer/vendor/symfony/console/Helper/QuestionHelper.php:391

I changed line 151 of composer/vendor/symfony/console/Question/ChoiceQuestion.php on and removed the !(not)

@richdynamix
Copy link
Owner

I am unable to replicate this. Are you running the latest version of Magestead?

@gharth1
Copy link
Author

gharth1 commented Jun 26, 2016

Yes. OSX, PHP 5.6.21 (cli) (built: May 24 2016 23:20:56) .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants