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

Issue translation products #2

Open
noxs4u opened this issue Jun 5, 2024 · 6 comments
Open

Issue translation products #2

noxs4u opened this issue Jun 5, 2024 · 6 comments

Comments

@noxs4u
Copy link

noxs4u commented Jun 5, 2024

Akeneo Versie: CE 7.0.30 Sahara Hare
After doing translations in bulk we got different errors

this is what we see in akeno tasks..

Attribute is not editableObject weergeven -- Attribute is not editableObject weergeven Attribute is not editableObject weergeven Property "" does not exist.

and here are some logs

[2024-06-05T08:18:40.708258+00:00] app.ERROR: 08:18:40 ERROR [batch] Akeneo\Tool\Component\StorageUtils\Exception\UnknownPropertyException: Property "" does not exist. in /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/StorageUtils/Exception/UnknownPropertyException.php:34 Stack trace: #0 /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Component/Product/Updater/PropertySetter.php(52): Akeneo\Tool\Component\StorageUtils\Exception\UnknownPropertyException::unknownProperty() #1 /home/akeneo/pim-community-standard/vendor/macopedia/akeneo-openai-translator/src/Macopedia/OpenAiTranslator/Service/TranslateAttributesService.php(100): Akeneo\Pim\Enrichment\Component\Product\Updater\PropertySetter->setData() #2 /home/akeneo/pim-community-standard/vendor/macopedia/akeneo-openai-translator/src/Macopedia/OpenAiTranslator/Connector/Processor/MassEdit/TranslateAttributesProcessor.php(50): Macopedia\OpenAiTranslator\Service\TranslateAttributesService->translateAttributes() #3 /home/akeneo/pim-community-standard/vendor/macopedia/akeneo-openai-translator/src/Macopedia/OpenAiTranslator/Connector/Processor/MassEdit/TranslateAttributesProcessor.php(28): Macopedia\OpenAiTranslator\Connector\Processor\MassEdit\TranslateAttributesProcessor->translateAttributes() #4 /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/Batch/Step/ItemStep.php(183): Macopedia\OpenAiTranslator\Connector\Processor\MassEdit\TranslateAttributesProcessor->process() #5 /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/Batch/Step/ItemStep.php(115): Akeneo\Tool\Component\Batch\Step\ItemStep->process() #6 /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/Batch/Step/AbstractStep.php(79): Akeneo\Tool\Component\Batch\Step\ItemStep->doExecute() #7 /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/Batch/Job/Job.php(252): Akeneo\Tool\Component\Batch\Step\AbstractStep->execute() #8 /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/Batch/Job/Job.php(202): Akeneo\Tool\Component\Batch\Job\Job->handleStep() #9 /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/Batch/Job/Job.php(126): Akeneo\Tool\Component\Batch\Job\Job->doExecute() #10 /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/BatchBundle/JobExecution/ExecuteJobExecutionHandler.php(62): Akeneo\Tool\Component\Batch\Job\Job->execute() #11 /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/BatchBundle/JobExecution/ExecuteJobExecutionHandler.php(39): Akeneo\Tool\Bundle\BatchBundle\JobExecution\ExecuteJobExecutionHandler->doExecute() #12 /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/BatchBundle/Command/BatchCommand.php(141): Akeneo\Tool\Bundle\BatchBundle\JobExecution\ExecuteJobExecutionHandler->executeFromJobExecutionId() #13 /home/akeneo/pim-community-standard/vendor/symfony/console/Command/Command.php(298): Akeneo\Tool\Bundle\BatchBundle\Command\BatchCommand->execute() #14 /home/akeneo/pim-community-standard/vendor/symfony/console/Application.php(1058): Symfony\Component\Console\Command\Command->run() #15 /home/akeneo/pim-community-standard/vendor/symfony/framework-bundle/Console/Application.php(96): Symfony\Component\Console\Application->doRunCommand() #16 /home/akeneo/pim-community-standard/vendor/symfony/console/Application.php(301): Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() #17 /home/akeneo/pim-community-standard/vendor/symfony/framework-bundle/Console/Application.php(82): Symfony\Component\Console\Application->doRun() #18 /home/akeneo/pim-community-standard/vendor/symfony/console/Application.php(171): Symfony\Bundle\FrameworkBundle\Console\Application->doRun() #19 /home/akeneo/pim-community-standard/bin/console(36): Symfony\Component\Console\Application->run() #20 {main} ["exception" => Akeneo\Tool\Component\StorageUtils\Exception\UnknownPropertyException { ...}] [] []


[2024-06-05T08:13:54.218403+00:00] app.ERROR: 08:13:53 ERROR [batch] Akeneo\Tool\Component\StorageUtils\Exception\UnknownPropertyException: Property "data" does not exist. in /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/StorageUtils/Exception/UnknownPropertyException.php:34 Stack trace: #0 /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Component/Product/Updater/PropertySetter.php(52): Akeneo\Tool\Component\StorageUtils\Exception\UnknownPropertyException::unknownProperty() #1 /home/akeneo/pim-community-standard/vendor/macopedia/akeneo-openai-translator/src/Macopedia/OpenAiTranslator/Service/TranslateAttributesService.php(100): Akeneo\Pim\Enrichment\Component\Product\Updater\PropertySetter->setData() #2 /home/akeneo/pim-community-standard/vendor/macopedia/akeneo-openai-translator/src/Macopedia/OpenAiTranslator/Connector/Processor/MassEdit/TranslateAttributesProcessor.php(50): Macopedia\OpenAiTranslator\Service\TranslateAttributesService->translateAttributes() #3 /home/akeneo/pim-community-standard/vendor/macopedia/akeneo-openai-translator/src/Macopedia/OpenAiTranslator/Connector/Processor/MassEdit/TranslateAttributesProcessor.php(28): Macopedia\OpenAiTranslator\Connector\Processor\MassEdit\TranslateAttributesProcessor->translateAttributes() #4 /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/Batch/Step/ItemStep.php(183): Macopedia\OpenAiTranslator\Connector\Processor\MassEdit\TranslateAttributesProcessor->process() #5 /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/Batch/Step/ItemStep.php(115): Akeneo\Tool\Component\Batch\Step\ItemStep->process() #6 /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/Batch/Step/AbstractStep.php(79): Akeneo\Tool\Component\Batch\Step\ItemStep->doExecute() #7 /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/Batch/Job/Job.php(252): Akeneo\Tool\Component\Batch\Step\AbstractStep->execute() #8 /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/Batch/Job/Job.php(202): Akeneo\Tool\Component\Batch\Job\Job->handleStep() #9 /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/Batch/Job/Job.php(126): Akeneo\Tool\Component\Batch\Job\Job->doExecute() #10 /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/BatchBundle/JobExecution/ExecuteJobExecutionHandler.php(62): Akeneo\Tool\Component\Batch\Job\Job->execute() #11 /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/BatchBundle/JobExecution/ExecuteJobExecutionHandler.php(39): Akeneo\Tool\Bundle\BatchBundle\JobExecution\ExecuteJobExecutionHandler->doExecute() #12 /home/akeneo/pim-community-standard/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/BatchBundle/Command/BatchCommand.php(141): Akeneo\Tool\Bundle\BatchBundle\JobExecution\ExecuteJobExecutionHandler->executeFromJobExecutionId() #13 /home/akeneo/pim-community-standard/vendor/symfony/console/Command/Command.php(298): Akeneo\Tool\Bundle\BatchBundle\Command\BatchCommand->execute() #14 /home/akeneo/pim-community-standard/vendor/symfony/console/Application.php(1058): Symfony\Component\Console\Command\Command->run() #15 /home/akeneo/pim-community-standard/vendor/symfony/framework-bundle/Console/Application.php(96): Symfony\Component\Console\Application->doRunCommand() #16 /home/akeneo/pim-community-standard/vendor/symfony/console/Application.php(301): Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() #17 /home/akeneo/pim-community-standard/vendor/symfony/framework-bundle/Console/Application.php(82): Symfony\Component\Console\Application->doRun() #18 /home/akeneo/pim-community-standard/vendor/symfony/console/Application.php(171): Symfony\Bundle\FrameworkBundle\Console\Application->doRun() #19 /home/akeneo/pim-community-standard/bin/console(36): Symfony\Component\Console\Application->run() #20 {main} ["exception" => Akeneo\Tool\Component\StorageUtils\Exception\UnknownPropertyException { ...}] [] []


[2024-06-05T08:13:53.980972+00:00] app.WARNING: E_WARNING: Undefined array key "data" {"code":2,"message":"Undefined array key "data"","file":"/home/akeneo/pim-community-standard/vendor/macopedia/akeneo-openai-translator/src/Macopedia/OpenAiTranslator/Service/TranslateAttributesService.php","line":97} []

[2024-06-05T08:13:53.981140+00:00] app.WARNING: E_WARNING: Undefined array key "data" {"code":2,"message":"Undefined array key "data"","file":"/home/akeneo/pim-community-standard/vendor/macopedia/akeneo-openai-translator/src/Macopedia/OpenAiTranslator/Service/TranslateAttributesService.php","line":100} []

@noxs4u
Copy link
Author

noxs4u commented Jun 5, 2024

fout1
fout2

@noxs4u
Copy link
Author

noxs4u commented Jun 5, 2024

I's not working for a product model with variants

@piotrmus
Copy link
Collaborator

@noxs4u Thank you for creating this issue. We are working internally on this case.

@noxs4u
Copy link
Author

noxs4u commented Jun 10, 2024

@piotrmus thanks.
image
image
image

The issue is related to families. Because we manage these content on product model level. See images

@noxs4u
Copy link
Author

noxs4u commented Jun 10, 2024

image
this is what i get after trying to translate this product

@ktomaszewski
Copy link
Collaborator

@noxs4u
Could you please check if the problem still occurs after updating to version v1.2.2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants