php - zlib_decode(): data error using composer in the doctrine2 tutorial -


update: posted issue bug tracker while ago suggested in comments, , ran clean installation of new version of composer (composer version 7131607ad1d251c790ce566119d647e008972aa5 2014-05-27 14:26:24) , issue fixed.

original post: i'm trying learn how use doctrine2 using tutorial @ http://docs.doctrine-project.org/en/latest/tutorials/getting-started.html

but reason error when trying run composer install:

  [errorexception]              zlib_decode(): data error 

here contents of composer.json:

{     "require": {         "doctrine/orm": "2.4.*",         "symfony/yaml": "2.*"     },     "autoload": {         "psr-0": {"": "src/"}     } } 

edit: php version 5.5.9.

edit: output of composer install -vvv:

reading ./composer.json executing command (cwd): git describe --exact-match --tags executing command (cwd): git branch --no-color --no-abbrev -v executing command (cwd): hg branch executing command (cwd): svn info --xml loading composer repositories package information downloading https://packagist.org/packages.json writing c:/users/user/appdata/local/composer/repo/https---packagist.org/packages.json cache installing dependencies (including require-dev) downloading https://packagist.org/p/provider-active$1874cad4a77f2dbd91c33e813330434e6c38cd940846c58a610595dac158d161.json writing c:/users/user/appdata/local/composer/repo/https---packagist.org/p-provider-active.json cache downloading https://packagist.org/p/provider-archived$02a49245f4912f279bea7cd3a287cb32b6ab02623037965e5f9665bf27fe3ec9.json downloading https://packagist.org/p/provider-archived$02a49245f4912f279bea7cd3a287cb32b6ab02623037965e5f9665bf27fe3ec9.json downloading https://packagist.org/p/provider-archived$02a49245f4912f279bea7cd3a287cb32b6ab02623037965e5f9665bf27fe3ec9.json   [errorexception]   zlib_decode(): data error exception trace:  () @ phar://c:/composer/composer/src/composer/util/remotefilesystem.php:217  composer\util\errorhandler::handle() @ n/a:n/a  zlib_decode() @ phar://c:/composer/composer/src/composer/util/remotefilesystem .php:217  composer\util\remotefilesystem->get() @ phar://c:/composer/composer/src/compos er/util/remotefilesystem.php:82  composer\util\remotefilesystem->getcontents() @ phar://c:/composer/composer/sr c/composer/repository/composerrepository.php:612  composer\repository\composerrepository->fetchfile() @ phar://c:/composer/compo ser/src/composer/repository/composerrepository.php:519  composer\repository\composerrepository->loadproviderlistings() @ phar://c:/com poser/composer/src/composer/repository/composerrepository.php:271  composer\repository\composerrepository->whatprovides() @ phar://c:/composer/co mposer/src/composer/dependencyresolver/pool.php:254  composer\dependencyresolver\pool->computewhatprovides() @ phar://c:/composer/c omposer/src/composer/dependencyresolver/pool.php:243  composer\dependencyresolver\pool->whatprovides() @ phar://c:/composer/composer /src/composer/dependencyresolver/solver.php:149  composer\dependencyresolver\solver->setupinstalledmap() @ phar://c:/composer/c omposer/src/composer/dependencyresolver/solver.php:163  composer\dependencyresolver\solver->solve() @ phar://c:/composer/composer/src/ composer/installer.php:467  composer\installer->doinstall() @ phar://c:/composer/composer/src/composer/ins taller.php:215  composer\installer->run() @ phar://c:/composer/composer/src/composer/command/i nstallcommand.php:122  composer\command\installcommand->execute() @ phar://c:/composer/composer/vendo r/symfony/console/symfony/component/console/command/command.php:241  symfony\component\console\command\command->run() @ phar://c:/composer/composer /vendor/symfony/console/symfony/component/console/application.php:892  symfony\component\console\application->doruncommand() @ phar://c:/composer/com poser/vendor/symfony/console/symfony/component/console/application.php:191  symfony\component\console\application->dorun() @ phar://c:/composer/composer/s rc/composer/console/application.php:117  composer\console\application->dorun() @ phar://c:/composer/composer/vendor/sym fony/console/symfony/component/console/application.php:121  symfony\component\console\application->run() @ phar://c:/composer/composer/src /composer/console/application.php:83  composer\console\application->run() @ phar://c:/composer/composer/bin/composer :43  require() @ c:\composer\composer:15 install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-p lugins] [--no-custom-installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--ver bose] [-o|--optimize-autoloader] [packages1] ... [packagesn] 

in case avast antivirus. after disabling updated without problems.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -