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

Änderungen in https://github.com/reactphp/http müssen eingearbeitet werden #577

Closed
bgewehr opened this issue Feb 15, 2017 · 10 comments
Closed
Assignees
Labels

Comments

@bgewehr
Copy link
Contributor

bgewehr commented Feb 15, 2017

Composer.json

In https://github.com/reactphp/http

    "require": {
        "php": ">=5.3.0",
        "ringcentral/psr7": "^1.2",
        "react/socket": "^0.5",
        "react/stream": "^0.4.4",
        "evenement/evenement": "^2.0 || ^1.0"

Bei volkszaehler.org

    "require": {
        "php": ">=5.6.0",
        "doctrine/orm": "^2.5",
        "doctrine/dbal": "^2.5",
        "andig/dbcopy": "dev-master",
        "symfony/console": "^2.6|^3.0",
        "symfony/http-kernel": "^2.6|^3.0",
        "symfony/http-foundation": "^2.6|^3.0",
        "symfony/routing": "^2.6|^3.0",
        "cboden/ratchet": "0.3.*",
        "react/socket": "0.4.*",
        "react/http": "dev-master#cd15204bd15d106d7832c680e4fb0ca0ce2f5e30"

Bei mir jedenfalls bricht der composer bei einer Neuinstallation mit dependency Fehlern ab:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for react/http dev-master#cd15204bd15d106d7832c680e4fb0ca0ce2f5e30 -> satisfiable by react/http[dev-master].
    - react/http dev-master requires react/socket ^0.5 -> satisfiable by react/socket[v0.5.0] but these conflict with your requirements or minimum-stability.
@andig
Copy link
Contributor

andig commented Feb 15, 2017

Was tust Du genau? Mit sauberer Installation reproduzierbar? Der Stand von "react/http": "dev-master#cd15204bd15d106d7832c680e4fb0ca0ce2f5e30" hat sich nicht geändert, insofern gibts da nix nachzuziehen?

@bgewehr
Copy link
Contributor Author

bgewehr commented Feb 16, 2017

Ich habe das install.sh script benutzt und auf die Frage des neuen clones Yes geantwortet.

Dann läuft das soweit, bis der composer die o. a. Fehlermeldung mit den dependencies auswirft.

@andig
Copy link
Contributor

andig commented Feb 16, 2017

Das ist wirklich hässlich. Müssen wir abwarten, siehe composer/composer#6166

@andig andig added the Bug label Feb 16, 2017
@andig andig self-assigned this Feb 16, 2017
andig added a commit to andig/volkszaehler.org that referenced this issue Feb 16, 2017
@andig
Copy link
Contributor

andig commented Feb 16, 2017

Bitte mal testen.

@BerndGewehr
Copy link

Leider nein:

Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for react/http dev-master#cd15204bd15d106d7832c680e4fb0ca0ce2f5e30 -> satisfiable by react/http[dev-master].
- react/http dev-master requires react/socket ^0.5 -> satisfiable by react/socket[v0.5.0] but these conflict with your requirements or minimum-stability.

@BerndGewehr
Copy link

BerndGewehr commented Feb 16, 2017

Mit react/http 0.4.* geht's (läuft durch und funktioniert)

Allerdings läuft dann der Pushserver nicht:
PHP Fatal error: Call to undefined method React\Http\Request::getBody() in /var/www/volkszaehler.org/lib/Server/HttpReceiver.php on line 54
ro

@andig
Copy link
Contributor

andig commented Feb 16, 2017

Mit react/http 0.4.* geht's

Interessiert nicht :( Hast Du meine Änderung überhaupt ausprobiert?

@BerndGewehr
Copy link

Naja, ich hab das wiederholt, was ich vorher auch schon gemacht hatte. Reicht das oder nicht?

@BerndGewehr
Copy link

Ich habe den Code manuell in die composer.json eingefügt. Läuft durch.

Pushserver läuft trotzdem nicht.
Volkszaehler Push Server
Listening for updates on 5582. Clients may connect at 8082.
PHP Fatal error: Call to undefined function GuzzleHttp\Psr7\parse_request() in /var/www/volkszaehler.org/vendor/react/http/src/RequestParser.php on line 98

@andig
Copy link
Contributor

andig commented Feb 16, 2017

Bitte neues Issue mit Inhalt composer.lock

@andig andig closed this as completed Feb 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants