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

Not (yet) compatible with Terminus 3.x #33

Open
dalin- opened this issue Dec 22, 2021 · 4 comments
Open

Not (yet) compatible with Terminus 3.x #33

dalin- opened this issue Dec 22, 2021 · 4 comments

Comments

@dalin-
Copy link

dalin- commented Dec 22, 2021

 $ terminus self:plugin:install terminus-plugin-project/terminus-pancakes-plugin
 [notice] Installed terminus-plugin-project/terminus-pancakes-plugin.
 [notice]

~/.terminus/plugins took 10s
 $ terminus self:plugin:list
PHP Warning:  include(/Users/dave/.terminus/terminus-dependencies-2512c16/vendor/terminus-plugin-project/terminus-pancakes-plugin/src/Commands/../../vendor/autoload.php): failed to open stream: No such file or directory in /Users/dave/.terminus/terminus-dependencies-2512c16/vendor/terminus-plugin-project/terminus-pancakes-plugin/src/Commands/PancakesCommand.php on line 13

Warning: include(/Users/dave/.terminus/terminus-dependencies-2512c16/vendor/terminus-plugin-project/terminus-pancakes-plugin/src/Commands/../../vendor/autoload.php): failed to open stream: No such file or directory in /Users/dave/.terminus/terminus-dependencies-2512c16/vendor/terminus-plugin-project/terminus-pancakes-plugin/src/Commands/PancakesCommand.php on line 13
PHP Warning:  include(): Failed opening '/Users/dave/.terminus/terminus-dependencies-2512c16/vendor/terminus-plugin-project/terminus-pancakes-plugin/src/Commands/../../vendor/autoload.php' for inclusion (include_path='.:/usr/local/Cellar/[email protected]/7.4.19_1/share/[email protected]/pear') in /Users/dave/.terminus/terminus-dependencies-2512c16/vendor/terminus-plugin-project/terminus-pancakes-plugin/src/Commands/PancakesCommand.php on line 13

Warning: include(): Failed opening '/Users/dave/.terminus/terminus-dependencies-2512c16/vendor/terminus-plugin-project/terminus-pancakes-plugin/src/Commands/../../vendor/autoload.php' for inclusion (include_path='.:/usr/local/Cellar/[email protected]/7.4.19_1/share/[email protected]/pear') in /Users/dave/.terminus/terminus-dependencies-2512c16/vendor/terminus-plugin-project/terminus-pancakes-plugin/src/Commands/PancakesCommand.php on line 13
 -------------------------- ----------------------------------------------------------------------------- ------------------- ---------------- -----------------
  Name                       Description                                                                   Installed Version   Latest Version   Compatible With
 -------------------------- ----------------------------------------------------------------------------- ------------------- ---------------- -----------------
  terminus-pancakes-plugin   Terminus Plugin to open Pantheon Site Databases in your Favorite SQL Client   2.0.0               2.0.0            ^1.9|^2
 -------------------------- ----------------------------------------------------------------------------- ------------------- ---------------- -----------------

Let's see if it works anyway

$ terminus pc <my-site>.<a-multidev>
PHP Warning:  include(/Users/dave/.terminus/terminus-dependencies-2512c16/vendor/terminus-plugin-project/terminus-pancakes-plugin/src/Commands/../../vendor/autoload.php): failed to open stream: No such file or directory in /Users/dave/.terminus/terminus-dependencies-2512c16/vendor/terminus-plugin-project/terminus-pancakes-plugin/src/Commands/PancakesCommand.php on line 13

Warning: include(/Users/dave/.terminus/terminus-dependencies-2512c16/vendor/terminus-plugin-project/terminus-pancakes-plugin/src/Commands/../../vendor/autoload.php): failed to open stream: No such file or directory in /Users/dave/.terminus/terminus-dependencies-2512c16/vendor/terminus-plugin-project/terminus-pancakes-plugin/src/Commands/PancakesCommand.php on line 13
PHP Warning:  include(): Failed opening '/Users/dave/.terminus/terminus-dependencies-2512c16/vendor/terminus-plugin-project/terminus-pancakes-plugin/src/Commands/../../vendor/autoload.php' for inclusion (include_path='.:/usr/local/Cellar/[email protected]/7.4.19_1/share/[email protected]/pear') in /Users/dave/.terminus/terminus-dependencies-2512c16/vendor/terminus-plugin-project/terminus-pancakes-plugin/src/Commands/PancakesCommand.php on line 13

Warning: include(): Failed opening '/Users/dave/.terminus/terminus-dependencies-2512c16/vendor/terminus-plugin-project/terminus-pancakes-plugin/src/Commands/../../vendor/autoload.php' for inclusion (include_path='.:/usr/local/Cellar/[email protected]/7.4.19_1/share/[email protected]/pear') in /Users/dave/.terminus/terminus-dependencies-2512c16/vendor/terminus-plugin-project/terminus-pancakes-plugin/src/Commands/PancakesCommand.php on line 13
 [error]  HTTP request has failed with error "Maximum retry attempts reached".
@vinmassaro
Copy link

Upgrading to Terminus 3.0.3 allows it to work, but it still will generate those warnings.

@joelsteidl
Copy link
Contributor

joelsteidl commented Dec 23, 2021

FWIW, removing include __DIR__ . DIRECTORY_SEPARATOR . '../..' . DIRECTORY_SEPARATOR . 'vendor/autoload.php'; on line 13 clears up the error and it still works as expected. Using Terminus 3.0.3

@vinmassaro
Copy link

FWIW, removing include __DIR__ . DIRECTORY_SEPARATOR . '../..' . DIRECTORY_SEPARATOR . 'vendor/autoload.php'; on line 13 clears up the error and it still works as expected. Using Terminus 3.0.3

Thanks! Looks like this was committed but a new release is not out yet.

@philoSurfer
Copy link
Contributor

It now works with Terminus 3.

just use: terminus self:plugin:install terminus-plugin-project/terminus-pancakes-plugin

PR for documentation update:
02c92c2

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

4 participants