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

sh: line 0: cd: vendor/zendframework/zend-http/Zend/Http/ #48

Open
christianhaller opened this issue Aug 24, 2015 · 10 comments
Open

sh: line 0: cd: vendor/zendframework/zend-http/Zend/Http/ #48

christianhaller opened this issue Aug 24, 2015 · 10 comments

Comments

@christianhaller
Copy link


apply dirty patch hack until https://github.com/zendframework/zf2/issues/4039 is applied
> cd vendor/zendframework/zend-http/Zend/Http/ && patch --forward --batch -p1 < ../../../../../set_cookie.patch
sh: line 0: cd: vendor/zendframework/zend-http/Zend/Http/: No such file or directory
Script cd vendor/zendframework/zend-http/Zend/Http/ && patch --forward --batch -p1 < ../../../../../set_cookie.patch handling the post-update-cmd event returned with an error



  [RuntimeException]                                                                      
  Error Output: sh: line 0: cd: vendor/zendframework/zend-http/Zend/Http/: No such file   
  or directory         

OSX 10.10, php --version
PHP 5.5.27 (cli) (built: Jul 23 2015 00:21:59)

@phmLabs
Copy link
Owner

phmLabs commented Aug 24, 2015

What did you do?

@digitalkaoz
Copy link
Collaborator

mh it seems composer installed a newer version of zend/http and therefore the patching file doesnt exists anymore...maybe this is fixed by psr/http integration in zend-framework...

@christianhaller
Copy link
Author

I just tried to install LiveTest2

@digitalkaoz
Copy link
Collaborator

mh its an unbound constraint on zf*. can you paste the composer install log?

@christianhaller
Copy link
Author

I don't find any logs (sorry, but I'm new to composer)

Here is my bash output:

➜  LiveTest2 git:(master) ✗ bin/vendors 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  269k  100  269k    0     0  1477k      0 --:--:-- --:--:-- --:--:-- 1832k
#!/usr/bin/env php
All settings correct for using Composer
Downloading...

Composer successfully installed to: /Users/halle3/LiveTest2/composer.phar
Use it: php composer.phar
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing doctrine/lexer (v1.0.1)
    Loading from cache

  - Installing doctrine/annotations (v1.2.6)
    Loading from cache

  - Installing doctrine/collections (v1.3.0)
    Loading from cache

  - Installing doctrine/cache (v1.4.1)
    Loading from cache

  - Installing doctrine/inflector (v1.0.1)
    Loading from cache

  - Installing doctrine/common (v2.5.0)
    Loading from cache

  - Installing symfony/http-foundation (v2.7.3)
    Loading from cache

  - Installing symfony/yaml (v2.7.3)
    Loading from cache

  - Installing symfony/console (v2.7.3)
    Loading from cache

  - Installing zendframework/zend-stdlib (2.6.0)
    Loading from cache

  - Installing zendframework/zend-config (2.5.1)
    Loading from cache

  - Installing zendframework/zend-validator (2.5.2)
    Loading from cache

  - Installing zendframework/zend-escaper (2.5.1)
    Loading from cache

  - Installing zendframework/zend-uri (2.5.1)
    Loading from cache

  - Installing zendframework/zend-loader (2.5.1)
    Loading from cache

  - Installing zendframework/zend-http (2.5.2)
    Loading from cache

symfony/console suggests installing symfony/event-dispatcher ()
symfony/console suggests installing symfony/process ()
symfony/console suggests installing psr/log (For using the console logger)
zendframework/zend-stdlib suggests installing zendframework/zend-eventmanager (To support aggregate hydrator usage)
zendframework/zend-stdlib suggests installing zendframework/zend-serializer (Zend\Serializer component)
zendframework/zend-stdlib suggests installing zendframework/zend-servicemanager (To support hydrator plugin manager usage)
zendframework/zend-stdlib suggests installing zendframework/zend-filter (To support naming strategy hydrator usage)
zendframework/zend-config suggests installing zendframework/zend-filter (Zend\Filter component)
zendframework/zend-config suggests installing zendframework/zend-i18n (Zend\I18n component)
zendframework/zend-config suggests installing zendframework/zend-json (Zend\Json to use the Json reader or writer classes)
zendframework/zend-config suggests installing zendframework/zend-servicemanager (Zend\ServiceManager for use with the Config Factory to retrieve reader and writer instances)
zendframework/zend-validator suggests installing zendframework/zend-db (Zend\Db component)
zendframework/zend-validator suggests installing zendframework/zend-filter (Zend\Filter component, required by the Digits validator)
zendframework/zend-validator suggests installing zendframework/zend-i18n (Zend\I18n component to allow translation of validation error messages as well as to use the various Date validators)
zendframework/zend-validator suggests installing zendframework/zend-math (Zend\Math component)
zendframework/zend-validator suggests installing zendframework/zend-i18n-resources (Translations of validator messages)
zendframework/zend-validator suggests installing zendframework/zend-servicemanager (Zend\ServiceManager component to allow using the ValidatorPluginManager and validator chains)
zendframework/zend-validator suggests installing zendframework/zend-session (Zend\Session component)
Writing lock file
Generating autoload files
> echo apply dirty patch hack until https://github.com/zendframework/zf2/issues/4039 is applied
apply dirty patch hack until https://github.com/zendframework/zf2/issues/4039 is applied
> cd vendor/zendframework/zend-http/Zend/Http/ && patch --forward --batch -p1 < ../../../../../set_cookie.patch
sh: line 0: cd: vendor/zendframework/zend-http/Zend/Http/: No such file or directory
Script cd vendor/zendframework/zend-http/Zend/Http/ && patch --forward --batch -p1 < ../../../../../set_cookie.patch handling the post-update-cmd event returned with an error



  [RuntimeException]                                                           
  Error Output: sh: line 0: cd: vendor/zendframework/zend-http/Zend/Http/: No  
   such file or directory                                                      

@digitalkaoz
Copy link
Collaborator

mh probably its fixed in zend/http 2.5

@toddy
Copy link

toddy commented Dec 4, 2015

I have the same error. There is a newer lib: 2.5.3

Installing zendframework/zend-http (2.5.3)
Downloading: 100%

@sebastianneubert
Copy link
Contributor

I fixed this in a former pull request, which isnt merged yet. #47

Please try the version in my repository, if you want to avoid this failure:
https://github.com/sebastianneubert/LiveTest2

@toddy
Copy link

toddy commented Dec 15, 2015

Thank you. It works for me with this branch.

@sebastianneubert
Copy link
Contributor

@phmLabs Please merge. We'll fix the unittests later this year. ;)

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

5 participants