Kunstmaan / libphp-multichain

Unofficial PHP library for interacting with the Multichain JsonRPC interface.
MIT License
32 stars 29 forks source link

The required lib "fguillot/jsonrpc" had been archived #13

Open amroth23 opened 5 years ago

amroth23 commented 5 years ago

I've been using this multichain lib for the past 5 months and the required lib fguillot/jsonrpc has been archived.. So what can i do now? Any suggestions?

cebe commented 5 years ago

What's the problem?

https://packagist.org/packages/fguillot/json-rpc seems quite active, as well as the repo it points to: https://github.com/matasarei/JsonRPC

where do you see "archived"?

amroth23 commented 5 years ago

Hi, thanks for replying my issue... I'm trying to deploy my project on AWS, and i'm getting this error while dowloading the jsonrpc lib, this is the log i'm getting from AWS:

Application deployment failed at 2018-12-03T16:20:42Z with exit status 1 and error: Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/10_composer_install.sh failed.

  • . /opt/elasticbeanstalk/support/envvars ++ export PHP_MEMORY_LIMIT=256M ++ PHP_MEMORY_LIMIT=256M ++ export PHP_MAX_EXECUTION_TIME=60 ++ PHP_MAX_EXECUTION_TIME=60 ++ export PHP_DISPLAY_ERRORS=Off ++ PHP_DISPLAY_ERRORS=Off ++ export PHP_COMPOSER_OPTIONS= ++ PHP_COMPOSER_OPTIONS= ++ export PHP_ALLOW_URL_FOPEN=On ++ PHP_ALLOW_URL_FOPEN=On ++ export PHP_ZLIB_OUTPUT_COMPRESSION=Off ++ PHP_ZLIB_OUTPUT_COMPRESSION=Off ++ export PHP_DOCUMENT_ROOT=/web ++ PHP_DOCUMENT_ROOT=/web ++ export PHP_DATE_TIMEZONE=UTC ++ PHP_DATE_TIMEZONE=UTC ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
  • EB_APP_STAGING_DIR=/var/app/ondeck
  • cd /var/app/ondeck
  • '[' -f composer.json ']'
  • export COMPOSER_HOME=/root
  • COMPOSER_HOME=/root
  • '[' -d vendor ']' ++ /opt/elasticbeanstalk/bin/get-config optionsettings -n aws:elasticbeanstalk:container:php:phpini -o composer_options
  • PHP_COMPOSER_OPTIONS=
  • echo 'Found composer.json file. Attempting to install vendors.' Found composer.json file. Attempting to install vendors.
  • composer.phar install --no-ansi --no-interaction Do not run Composer as root/super user! See https://getcomposer.org/root for details Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Package operations: 44 installs, 0 updates, 0 removals
  • Installing doctrine/lexer (v1.0.1): Downloading (100%)
  • Installing doctrine/annotations (v1.2.7): Downloading (100%)
  • Installing twig/twig (v1.35.3): Downloading (100%)
  • Installing paragonie/random_compat (v2.0.15): Downloading (100%)
  • Installing symfony/polyfill-php70 (v1.8.0): Downloading (100%)
  • Installing symfony/polyfill-util (v1.8.0): Downloading (100%)
  • Installing symfony/polyfill-php56 (v1.8.0): Downloading (100%)
  • Installing symfony/polyfill-mbstring (v1.8.0): Downloading (100%)
  • Installing symfony/symfony (v3.4.11): Downloading (100%)
  • Installing symfony/polyfill-intl-icu (v1.8.0): Downloading (100%)
  • Installing symfony/polyfill-ctype (v1.8.0): Downloading (100%)
  • Installing symfony/polyfill-apcu (v1.8.0): Downloading (100%)
  • Installing psr/simple-cache (1.0.1): Downloading (100%)
  • Installing psr/log (1.0.2): Downloading (100%)
  • Installing psr/link (1.0.0): Downloading (100%)
  • Installing psr/container (1.0.0): Downloading (100%)
  • Installing psr/cache (1.0.1): Downloading (100%)
  • Installing fig/link-util (1.0.0): Downloading (100%)
  • Installing doctrine/inflector (v1.1.0): Downloading (100%)
  • Installing doctrine/collections (v1.3.0): Downloading (100%)
  • Installing doctrine/cache (v1.6.2): Downloading (100%)
  • Installing doctrine/common (v2.6.2): Downloading (100%)
  • Installing jdorn/sql-formatter (v1.2.17): Downloading (100%)
  • Installing doctrine/doctrine-cache-bundle (1.3.3): Downloading (100%)
  • Installing doctrine/dbal (v2.5.13): Downloading (100%)
  • Installing doctrine/doctrine-bundle (1.9.1): Downloading (100%)
  • Installing doctrine/instantiator (1.0.5): Downloading (100%)
  • Installing doctrine/orm (v2.5.14): Downloading (100%)
  • Installing willdurand/negotiation (v2.3.1): Downloading (100%)
  • Installing willdurand/jsonp-callback-validator (v1.1.0): Downloading (100%)
  • Installing friendsofsymfony/rest-bundle (2.3.1): Downloading (100%)
  • Installing incenteev/composer-parameter-handler (v2.1.3): Downloading (100%)
  • Installing fguillot/json-rpc (v1.2.5): Downloading Failed to download fguillot/json-rpc from dist: The "https://api.github.com/repos/fguillot/JsonRPC/zipball/fa075cc89c1ae5f0c4123d27772e5caeac045946" file could not be downloaded (HTTP/1.1 404 Not Found) Now trying to download from source
  • Installing fguillot/json-rpc (v1.2.5): Cloning fa075cc89c

[RuntimeException] Failed to clone https://github.com/fguillot/JsonRPC.git via https, ssh protocols, aborting.

Please make sure you have the correct access rights and the repository exists.

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] []...

cebe commented 5 years ago

Seems that the repo changed URLs, if you run composer update fguillot/json-rpc it does update the state and clone the correct (new) repo.