shopware / development

MIT License
189 stars 170 forks source link

Error Demodata Generator #160

Closed DiarQoroviqi closed 3 years ago

DiarQoroviqi commented 3 years ago

PHP Version

7.4.21

Shopware Version

shopware/platform": "6.4.x@dev || dev-trunk

Expected behaviour

When connecting in shopware via ssh comman ./psh.phar docker:ssh than execute the install command ./psh.phar intall the installation process stop on step (36/52) APP_ENV=prod bin/console framework:demodata

Actual behaviour

(36/52) Starting

APP_ENV=prod bin/console framework:demodata

Demodata Generator
==================

13:06:26 CRITICAL  [console] Error thrown while running command "framework:demodata". Message: "Class 'bheller\ImagesGenerator\ImagesGeneratorProvider' not found" ["exception" => Error { …},"command" => "framework:demodata","message" => "Class 'bheller\ImagesGenerator\ImagesGeneratorProvider' not found"]

In DemodataService.php line 95:

  Attempted to load class "ImagesGeneratorProvider" from namespace "bheller\ImagesGenerator".
  Did you forget a "use" statement for "Maltyxx\ImagesGenerator\ImagesGeneratorProvider"?

framework:demodata [-p|--products PRODUCTS] [-c|--categories CATEGORIES] [-o|--orders ORDERS] [-m|--manufacturers MANUFACTURERS] [-cs|--customers CUSTOMERS] [--media MEDIA] [--properties PROPERTIES] [--users USERS] [-ps|--product-streams PRODUCT-STREAMS] [-mt|--mail-template MAIL-TEMPLATE] [-mhf|--mail-header-footer MAIL-HEADER-FOOTER] [-y|--with-media [WITH-MEDIA]] [-r|--reviews [REVIEWS]] [--attribute-sets ATTRIBUTE-SETS] [--product-attributes PRODUCT-ATTRIBUTES] [--manufacturer-attributes MANUFACTURER-ATTRIBUTES] [--order-attributes ORDER-ATTRIBUTES] [--customer-attributes CUSTOMER-ATTRIBUTES] [--media-attributes MEDIA-ATTRIBUTES]

Execution aborted, a subcommand failed!

How to reproduce

1. git clone https://github.com/shopware/development.git 2. cd development 3. ./psh.phar docker:start 4. ./psh.phar docker:ssh 5. ./psh.phar install

shyim commented 3 years ago

What gives you composer show shopware/platform?

DiarQoroviqi commented 3 years ago

name : shopware/platform descrip. : The Shopware e-commerce core keywords : framework, shopware versions : * 6.4.2.1 type : library license : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText homepage : https://www.shopware.com source : [git] https://github.com/shopware/platform.git 3a6490503ecf356500edc2bbbd104de1382216b9 dist : [zip] https://api.github.com/repos/shopware/platform/zipball/3a6490503ecf356500edc2bbbd104de1382216b9 3a6490503ecf356500edc2bbbd104de1382216b9 path : /Users/diar/Sites/PqtTrackingManager/development/vendor/shopware/platform names : shopware/platform, shopware/administration, shopware/core, shopware/elasticsearch, shopware/storefront

support issues : https://github.com/shopware/platform/issues source : https://github.com/shopware/platform/tree/v6.4.2.1

autoload psr-4 Shopware\Administration\ => src/Administration/ Shopware\Docs\ => src/Docs/ Shopware\Storefront\ => src/Storefront/ Shopware\Core\ => src/Core/ Shopware\Elasticsearch\ => src/Elasticsearch/ exclude-from-classmap

requires aws/aws-sdk-php 3.133.6 cocur/slugify 4.0.0 composer-runtime-api ^2.0 composer/composer ~2.0.9 composer/semver ~3.2.4 doctrine/annotations 1.11.1 doctrine/dbal 2.12.1 doctrine/inflector ~1.4.4 dompdf/dompdf 1.0.2 elasticsearch/elasticsearch 7.11.0 enqueue/dbal 0.10.11 erusev/parsedown-extra 0.8.1 ext-curl ext-dom ext-fileinfo ext-gd ext-iconv ext-intl ext-json ext-mbstring ext-openssl ext-pdo ext-pdo_mysql ext-simplexml ext-sodium ext-xml ext-zip ext-zlib ezyang/htmlpurifier 4.13.0 google/cloud-storage 1.17.0 guzzlehttp/guzzle ~7.2 jdorn/sql-formatter 1.2.17 lcobucci/jwt 4.1.4 league/flysystem ~1.1.4 league/flysystem-aws-s3-v3 ~1.0.29 league/oauth2-server 8.2.4 marc1706/fast-image-size 1.1.6 nyholm/psr7 1.4.0 ongr/elasticsearch-dsl 7.2.1 padaliyajay/php-autoprefixer 1.3 php ^7.4.3 || ^8.0 psr/cache 1.0.1 psr/event-dispatcher 1.0.0 psr/http-factory 1.0.1 psr/http-message 1.0.1 psr/log 1.1.2 scssphp/scssphp 1.0.6 sensio/framework-extra-bundle 5.5.6 sroze/messenger-enqueue-transport 0.4.0 superbalist/flysystem-google-storage 7.2.2 symfony/asset ~5.2.3 symfony/cache ~5.2.3 symfony/cache-contracts 2.2.0 symfony/config ~5.2.3 symfony/console ~5.2.3 symfony/debug-bundle ~5.2.3 symfony/dependency-injection ~5.2.3 symfony/deprecation-contracts 2.2.0 symfony/dotenv ~5.2.3 symfony/error-handler ~5.2.3 symfony/event-dispatcher ~5.2.3 symfony/event-dispatcher-contracts 2.2.0 symfony/filesystem ~5.2.3 symfony/finder ~5.2.3 symfony/framework-bundle ~5.2.3 symfony/http-foundation ~5.2.3 symfony/http-kernel ~5.2.3 symfony/inflector ~5.2.3 symfony/mailer ~5.2.3 symfony/messenger ~5.2.3 symfony/mime ~5.2.3 symfony/monolog-bridge ~5.2.3 symfony/monolog-bundle 3.6.0 symfony/options-resolver ~5.2.3 symfony/polyfill-php80 * symfony/process ~5.2.3 symfony/property-access ~5.2.3 symfony/property-info ~5.2.3 symfony/proxy-manager-bridge ~5.2.3 symfony/psr-http-message-bridge 2.1.0 symfony/routing ~5.2.3 symfony/security-core ~5.2.3 symfony/security-csrf ~5.2.3 symfony/serializer ~5.2.3 symfony/service-contracts 2.2.0 symfony/translation ~5.2.3 symfony/translation-contracts 2.3.0 symfony/twig-bridge ~5.2.3 symfony/twig-bundle ~5.2.3 symfony/validator ~5.2.3 symfony/var-exporter ~5.2.3 symfony/yaml ~5.2.3 true/punycode 2.1.1 twig/intl-extra 3.3.0 twig/string-extra 3.3.0 twig/twig 3.3.0 zircote/swagger-php 3.1.0

requires (dev) bheller/images-generator 1.0.1 brianium/paratest ^6.2 dms/phpunit-arraysubset-asserts ^0.2.1 ext-tokenizer ext-xmlwriter fzaninotto/faker 1.9.1 johnkary/phpunit-speedtrap 3.3.0 league/flysystem-memory 1.0.2 mbezhanov/faker-provider-collection 1.2.1 nikic/php-parser 4.10.4 opis/json-schema 1.0.19 phpunit/php-code-coverage 9.2.5 phpunit/phpunit 9.5.2 smalot/pdfparser 0.14.0 symfony/browser-kit ~5.2.3 symfony/dom-crawler ~5.2.3 symfony/phpunit-bridge ~5.2.3 symfony/stopwatch ~5.2.3 symfony/var-dumper ~5.2.3 symfony/web-profiler-bundle ~5.2.3

conflicts symfony/symfony *

replaces shopware/administration self.version shopware/core self.version shopware/elasticsearch self.version shopware/storefront self.version

shyim commented 3 years ago

Check out a specifc tag: git checkout v6.4.2.1 and run the install again