Closed mgineer85 closed 1 year ago
hi, the errors regarding to the old version of the .lock-file is because the latest .lock-file was not commited to the master before creating the 2.0.0-tag: see https://github.com/shopwareLabs/SwagMediaS3/tree/v2.0.0 the lock-file is 9 month old, while the composer.json is only 3 month young.
adding a new tag to the current master fixed the problem with build.sh not running through.
nevertheless, the fatal error with the plugin installed remains...
nevertheless, the fatal error with the plugin installed remains...
I think this commit causes your guzzle issue https://github.com/shopwareLabs/SwagMediaS3/commit/8ff8566d58b2c2a6198b7ea9d0d2da4a61361acd. Can you add again the replace part in your composer.json file and try it again?
no success unfortunately. I added the replace-lines as they were before the mentioned commit. afterwards I committed the changes and added a new tag (v2.0.3) so build.sh would use the currentmost version. the result is the error below:
michael@michael-linux:~/webdev/swagtest$ ./build.sh
Loading composer repositories with package information
Installing dependencies from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for shopwarelabs/swag-media-s3 dev-master -> satisfiable by shopwarelabs/swag-media-s3[dev-master].
- don't install guzzlehttp/guzzle 6.3.0|remove shopwarelabs/swag-media-s3 dev-master
- Installation request for guzzlehttp/guzzle 6.3.0 -> satisfiable by guzzlehttp/guzzle[6.3.0].
adding: SwagMediaS3/ (stored 0%)
adding: SwagMediaS3/SwagMediaS3.php (deflated 60%)
adding: SwagMediaS3/README.rst (deflated 50%)
adding: SwagMediaS3/composer.json (deflated 50%)
adding: SwagMediaS3/.gitignore (stored 0%)
adding: SwagMediaS3/LICENSE (deflated 42%)
adding: SwagMediaS3/build.sh (deflated 48%)
adding: SwagMediaS3/plugin.xml (deflated 41%)
adding: SwagMediaS3/composer.lock (deflated 84%)
I'm not familiar with composer. From guesswork I thought composer update or composer update --lock might be helpful or at least don't harm. It doesn't change anything... Am I doing something wrong?
Thanks.
here another post I just found, might be very related to the issue here? https://github.com/guzzle/guzzle/issues/1771
Hello guys, I tried to install this plugin, but all the time got same issue: public_html/custom/plugins/SwagMediaS3$ ./build.sh Loading composer repositories with package information Installing dependencies from lock file Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them. Your requirements could not be resolved to an installable set of packages.
Problem 1
Potential causes:
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems. adding: SwagMediaS3/ (stored 0%) adding: SwagMediaS3/composer.json (deflated 47%) adding: SwagMediaS3/build.sh (deflated 48%) adding: SwagMediaS3/LICENSE (deflated 42%) adding: SwagMediaS3/plugin.xml (deflated 41%) adding: SwagMediaS3/README.rst (deflated 50%) adding: SwagMediaS3/.gitignore (stored 0%) adding: SwagMediaS3/composer.lock (deflated 82%) adding: SwagMediaS3/SwagMediaS3.php (deflated 60%)
Can someone update composer requirements?
@shopwarrior Until my merge request has been processed and a new build has been generated, you can refer to my fork and build a new version of the plugin via
./build.sh sw5-compability
It would only work for shopware 5.4.x versions, though.
Feb. 2019 and the issue still is existing, we are currently at shopware 5.6.x ... @janbuecker is further work on that topic planned or is this plugin generally no longer "supported" / recommended for productive usage
@sydetion This Plugin is not required anymore since Shopware 5.5
so i tried again with composer update --lock and composer install afterwards
then it seems to finish pulling in the dependencies, but the plugin seems to be broken. here is the xdebug-errormessage, I get when I try to open the plugin manager. loading the pluginmanager fails then:
here the same problem was reported already: https://forum.shopware.com/discussion/comment/218672/#Comment_218672 and https://github.com/guzzle/guzzle/issues/1994