AI Product Matcher avatar
AI Product Matcher
Try for free

No credit card required

View all Actors
AI Product Matcher

AI Product Matcher

equidem/ai-product-matcher
Try for free

No credit card required

Match products across multiple e-commerce websites. Use this AI product matching Actor whenever you need to find matching pairs of products from different online shops for dynamic pricing, competitor analysis or market research.

User avatar

Exception thrown

Closed

alina_test opened this issue
8 months ago

2023-09-19T08:48:15.507Z ACTOR: Pulling Docker image from repository. 2023-09-19T08:48:46.311Z ACTOR: Creating Docker container. 2023-09-19T08:48:47.024Z ACTOR: Starting Docker container. 2023-09-19T08:48:48.524Z /usr/src/app/actors/executor/product_mapping_engine/scripts/actor_model_interface.py:592: SyntaxWarning: "is not" with a literal. Did you mean "!="? 2023-09-19T08:48:48.526Z if PERFORMED_PARAMETERS_SEARCH is not 'none': 2023-09-19T08:48:49.627Z /usr/src/app/actors/executor/product_mapping_engine/scripts/dataset_handler/preprocessing/texts/keywords_detection.py:83: UserWarning: DataFrame columns are not unique, some columns will be omitted. 2023-09-19T08:48:49.630Z currencies_dict = currencies_df.set_index('name').T.to_dict('list') 2023-09-19T08:48:49.734Z /usr/src/app/actors/executor/product_mapping_engine/scripts/dataset_handler/preprocessing/texts/keywords_detection.py:153: UserWarning: DataFrame columns are not unique, some columns will be omitted. 2023-09-19T08:48:49.737Z imperial_to_metric_units_file = imperial_to_metric_units_file.set_index('shortcut').T.to_dict('list') 2023-09-19T08:48:51.171Z Actor failed with an exception 2023-09-19T08:48:51.174Z Traceback (most recent call last): 2023-09-19T08:48:51.176Z File "/usr/src/app/main.py", line 73, in main 2023-09-19T08:48:51.178Z perform_mapping( 2023-09-19T08:48:51.179Z File "/usr/src/app/actors/executor/main.py", line 204, in perform_mapping 2023-09-19T08:48:51.181Z dataset1 = assemble_dataset_from_partial_dataset_ids(data_client, parameters["dataset1_ids"]) 2023-09-19T08:48:51.183Z File "/usr/src/app/actors/executor/main.py", line 136, in assemble_dataset_from_partial_dataset_ids 2023-09-19T08:48:51.185Z partial_dataset_client = data_client.dataset(partial_dataset_id) 2023-09-19T08:48:51.187Z File "/opt/venv/lib/python3.9/site-packages/apify_client/client.py", line 175, in dataset 2023-09-19T08:48:51.188Z return DatasetClient(resource_id=dataset_id, **self._options()) 2023-09-19T08:48:51.190Z File "/opt/venv/lib/python3.9/site-packages/apify_client/clients/resource_clients/dataset.py", line 19, in init 2023-09-19T08:48:51.192Z super().init(*args, resource_path=resource_path, **kwargs) 2023-09-19T08:48:51.194Z File "/opt/venv/lib/python3.9/site-packages/apify_client/clients/base/base_client.py", line 85, in init 2023-09-19T08:48:51.195Z self.safe_id = _to_safe_id(self.resource_id) 2023-09-19T08:48:51.197Z File "/opt/venv/lib/python3.9/site-packages/apify_client/_utils.py", line 26, in _to_safe_id 2023-09-19T08:48:51.199Z return id.replace('/', '~') 2023-09-19T08:48:51.201Z AttributeError: 'dict' object has no attribute 'replace'

User avatar

Hi Martino, the "Dataset IDs from shop" inputs need Apify dataset ids, not the product information JSONs. For more information on how to structure the inputs, please read the tutorial (https://blog.apify.com/product-matching-ai-pricing-intelligence-web-scraping/) or the actor readme (https://apify.com/equidem/ai-product-matcher).

Developer
Maintained by Apify
Actor metrics
  • 38 monthly users
  • 0 stars
  • 52.4% runs succeeded
  • 19 days response time
  • Created in Apr 2023
  • Modified 5 months ago