Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-24334

Error exporting ezpackage with ezpm.php through ezpublish:legacy:script

    XMLWordPrintable

Details

    Description

      Exporting a package using ezpm.php, through SF's ezpublish/console, results in a fatal exception:

      $ php ezpublish/console ezpublish:legacy:script --siteaccess=ezdemo_site_admin ezpm.php export test_package --output -d .
      Running script 'ezpm.php' in eZ Publish legacy context
      
      
      
        [RuntimeException]
        Trying to run recursive callback in legacy kernel! Inception!
      
      
      Exception trace:
       () at /Users/lolautruche/workspace/ezsystems/LegacyBridge/mvc/Kernel.php:148
       eZ\Publish\Core\MVC\Legacy\Kernel->runCallback() at /Users/lolautruche/workspace/ezsystems/LegacyBridge/mvc/Session/LegacySessionStorage.php:104
       eZ\Publish\Core\MVC\Legacy\Session\LegacySessionStorage->regenerate() at /Users/lolautruche/workspace/ezsystems/ezpublish-legacy/lib/ezsession/classes/ezpsessionhandlersymfony.php:60
       ezpSessionHandlerSymfony->regenerate() at /Users/lolautruche/workspace/ezsystems/ezpublish-legacy/lib/ezsession/classes/ezsession.php:496
       eZSession::regenerate() at /Users/lolautruche/workspace/ezsystems/ezpublish-legacy/kernel/classes/datatypes/ezuser/ezuser.php:1078
       eZUser::logoutCurrent() at /Users/lolautruche/workspace/ezsystems/ezpublish-legacy/kernel/classes/ezscript.php:389
       eZScript->shutdown() at /Users/lolautruche/workspace/ezsystems/LegacyBridge/mvc/Kernel/CLIHandler.php:162
       eZ\Publish\Core\MVC\Legacy\Kernel\CLIHandler->runCallback() at /Users/lolautruche/workspace/ezsystems/ezpublish-legacy/kernel/private/classes/ezpkernel.php:68
       ezpKernel->runCallback() at /Users/lolautruche/workspace/ezsystems/LegacyBridge/mvc/Kernel.php:162
       eZ\Publish\Core\MVC\Legacy\Kernel->runCallback() at /Users/lolautruche/workspace/ezsystems/LegacyBridge/mvc/Session/LegacySessionStorage.php:104
       eZ\Publish\Core\MVC\Legacy\Session\LegacySessionStorage->regenerate() at /Users/lolautruche/workspace/ezsystems/ezpublish-legacy/lib/ezsession/classes/ezpsessionhandlersymfony.php:60
       ezpSessionHandlerSymfony->regenerate() at /Users/lolautruche/workspace/ezsystems/ezpublish-legacy/lib/ezsession/classes/ezsession.php:496
       eZSession::regenerate() at /Users/lolautruche/workspace/ezsystems/ezpublish-legacy/kernel/classes/datatypes/ezuser/ezuser.php:1078
       eZUser::logoutCurrent() at /Users/lolautruche/workspace/ezsystems/ezpublish-legacy/kernel/classes/ezscript.php:389
       eZScript->shutdown() at /Users/lolautruche/workspace/ezsystems/ezpublish-legacy/ezpm.php:1059
       include() at /Users/lolautruche/workspace/ezsystems/LegacyBridge/mvc/Kernel/CLIHandler.php:128
       eZ\Publish\Core\MVC\Legacy\Kernel\CLIHandler->run() at /Users/lolautruche/workspace/ezsystems/ezpublish-legacy/kernel/private/classes/ezpkernel.php:53
       ezpKernel->run() at /Users/lolautruche/workspace/ezsystems/LegacyBridge/mvc/Kernel.php:123
       eZ\Publish\Core\MVC\Legacy\Kernel->run() at /Users/lolautruche/workspace/ezsystems/LegacyBridge/bundle/Command/LegacyEmbedScriptCommand.php:80
       eZ\Bundle\EzPublishLegacyBundle\Command\LegacyEmbedScriptCommand->execute() at /Users/lolautruche/workspace/ezsystems/ezpublish/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:259
       Symfony\Component\Console\Command\Command->run() at /Users/lolautruche/workspace/ezsystems/ezpublish/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:886
       Symfony\Component\Console\Application->doRunCommand() at /Users/lolautruche/workspace/ezsystems/ezpublish/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:195
       Symfony\Component\Console\Application->doRun() at /Users/lolautruche/workspace/ezsystems/ezpublish/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:96
       Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /Users/lolautruche/workspace/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Console/Application.php:41
       eZ\Bundle\EzPublishCoreBundle\Console\Application->doRun() at /Users/lolautruche/workspace/ezsystems/ezpublish/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:126
       Symfony\Component\Console\Application->run() at /Users/lolautruche/workspace/ezsystems/ezpublish/ezpublish/console:27
      
      
      ezpublish:legacy:script [--legacy-help] script
      
      Fatal error: eZ Publish did not finish its request
      The execution of eZ Publish was abruptly ended, the debug output is present below.
      Package test_package exported to directory .
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            joao.inacio-obsolete@ez.no Joao Inacio (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: