Closed betterapp closed 2 months ago
@BlackbitDevs
The same with: 3.6.53
Can you please try 3.7.x-dev
? Will be released this or next week.
@BlackbitDevs
have the same issue with 3.7.0
It is try to make something every 2-3 seconds
Can you execute the follow-up call manually via CLI:
bin/console dd:complete "8" --locale=en --user=2 -f --parameters="{\"SKU\":\"123456\",\"assetFilename\":\"240806-143637-123456_1.png\",\"assetPath\":\"\/Products\/123456\/\",\"oldAssetFile\":\"\/pim\/web\/var\/assets\/Automap\/SKU\/123456_1.png\"}" -vv
?
(With the -vv
at the end you will see the logs on CLI)
daniel@bettr:~/Web/pim$ ./bin/console dd:complete "8" --locale=en --user=2 -f --parameters="{\"SKU\":\"123456\",\"assetFilename\":\"240821-092356-123456_1.png\",\"assetPath\":\"\/Products\/123456\/\",\"oldAssetFile\":\"\/home\/daniel\/Web\/pim\/web\/var\/assets\/Automap\/SKU\/123456_1.png\"}" -vv
09:25:21 INFO [php] User Deprecated: The "Blackbit\DataDirectorBundle\Tools\Installer" class implements "Pimcore\Extension\Bundle\Installer\MigrationInstallerInterface" that is deprecated will be removed in Pimcore 10, use InstallerInterface instead. ["exception" => ErrorException { …}]
Starting complete import for dataport "Automap - SKU - Assign Asset to Product Object" (#8)
Using default file
09:25:21 INFO [php] User Deprecated: Calling static methods on Pimcore\Model\DataObject\AbstractObject is deprecated, please use Pimcore\Model\DataObject::setHideUnpublished instead. ["exception" => ErrorException { …}]
09:25:21 INFO [php] User Deprecated: Calling static methods on Pimcore\Model\DataObject\AbstractObject is deprecated, please use Pimcore\Model\DataObject::setGetInheritedValues instead. ["exception" => ErrorException { …}]
09:25:21 INFO [php] User Deprecated: Calling static methods on Pimcore\Model\DataObject\AbstractObject is deprecated, please use Pimcore\Model\DataObject::getGetInheritedValues instead. ["exception" => ErrorException { …}]
09:25:21 INFO [php] User Deprecated: Calling static methods on Pimcore\Model\DataObject\AbstractObject is deprecated, please use Pimcore\Model\DataObject::setGetInheritedValues instead. ["exception" => ErrorException { …}]
09:25:21 INFO [php] User Deprecated: Calling static methods on Pimcore\Model\DataObject\AbstractObject is deprecated, please use Pimcore\Model\DataObject::getGetInheritedValues instead. ["exception" => ErrorException { …}]
09:25:21 INFO [php] User Deprecated: Calling static methods on Pimcore\Model\DataObject\AbstractObject is deprecated, please use Pimcore\Model\DataObject::setGetInheritedValues instead. ["exception" => ErrorException { …}]
In FileObject.php line 46:
[ErrorException]
Warning: fwrite() expects parameter 1 to be resource, bool given
Exception trace:
at /home/daniel/Web/pim/vendor/blackbit/data-director/lib/Pim/Logger/FileObject.php:46
Blackbit\DataDirectorBundle\lib\Pim\Logger\FileObject->__construct() at /home/daniel/Web/pim/vendor/blackbit/data-director/model/ImportStatus.php:130
Blackbit\DataDirectorBundle\model\ImportStatus->create() at /home/daniel/Web/pim/vendor/blackbit/data-director/lib/Pim/RawData/Importmanager.php:343
Blackbit\DataDirectorBundle\lib\Pim\RawData\Importmanager->importDataport() at /home/daniel/Web/pim/vendor/blackbit/data-director/Command/ImportCompleteCommand.php:335
Blackbit\DataDirectorBundle\Command\ImportCompleteCommand::import() at /home/daniel/Web/pim/vendor/blackbit/data-director/Command/ImportCompleteCommand.php:241
Blackbit\DataDirectorBundle\Command\ImportCompleteCommand->execute() at /home/daniel/Web/pim/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:255
Symfony\Component\Console\Command\Command->run() at /home/daniel/Web/pim/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:1027
Symfony\Component\Console\Application->doRunCommand() at /home/daniel/Web/pim/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:97
Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /home/daniel/Web/pim/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:273
Symfony\Component\Console\Application->doRun() at /home/daniel/Web/pim/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:83
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /home/daniel/Web/pim/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:149
Symfony\Component\Console\Application->run() at /home/daniel/Web/pim/bin/console:36
data-director:complete [-p|--parameters PARAMETERS] [--dry-run] [-f|--force] [--ignore-hash-check] [--clear-file-after-import] [--rm] [--status-key STATUS-KEY] [--monitoring-item-id MONITORING-ITEM-ID] [--dataport-resource-id DATAPO
RT-RESOURCE-ID] [--locale LOCALE] [--limit LIMIT] [--user USER] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [--ignore-maintenance-mode] [--maintenance-mode] [-e|--env ENV] [--no-debug] [--] <command> <dataport> [<filename>]
[ERROR] Process got aborted
Looks like permission error. I will check it.
Have no idea why I have root user here. Fixed.
Working now!!!!
I have two dataports. Here is the log from First one:
The second DataPort ID = 8 have such configuration:
But as I see the second dataport is "canceled"
When I click on "Execute again" the source have some additional conditions ?
Why it does not work ?
DD: 3.6.36