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

job fail in vendure popularity score plugin #413

Open
ashishkpaul opened this issue May 3, 2024 · 3 comments
Open

job fail in vendure popularity score plugin #413

ashishkpaul opened this issue May 3, 2024 · 3 comments
Labels
Not yet supported Vendure version The plugin hasn't been updated to support this version of Vendure yet

Comments

@ashishkpaul
Copy link

Hi, in vendure version 2.2.3 and getting job fail in packages/vendure-plugin-popularity-scores version 1.6.1

[worker] debug 5/3/24, 1:37 PM - [Vendure Worker] Job 135 [calculate-popularity-scores] starting (attempt 2 of 6) 
[worker] info 5/3/24, 1:37 PM - [PopularityScoresPlugin] Started calculating popularity scores 
[worker] warn 5/3/24, 1:37 PM - [PopularityScoresPlugin] Failed to handle popularity calculation job: invalid input syntax for type integer: "NaN" 
[worker] warn 5/3/24, 1:37 PM - [BullMQJobQueuePlugin] Job 135 [calculate-popularity-scores] failed (attempt 1 of 6) 

while it works with version 1.6.0

[worker] debug 5/3/24, 1:39 PM - [Vendure Worker] Job 136 [calculate-popularity-scores] starting (attempt 2 of 6) 
[worker] info 5/3/24, 1:39 PM - [PopularityScoresPlugin] Started calculating popularity scores 
[worker] info 5/3/24, 1:39 PM - [PopularityScoresPlugin] Finished calculating popularity scores 
[worker] debug 5/3/24, 1:39 PM - [BullMQJobQueuePlugin] Job 136 [calculate-popularity-scores] completed
@ashishkpaul ashishkpaul changed the title jop fail in vendure popularity score plugin job fail in vendure popularity score plugin May 5, 2024
@martijnvdbrug martijnvdbrug added the Not yet supported Vendure version The plugin hasn't been updated to support this version of Vendure yet label Jun 22, 2024
@martijnvdbrug
Copy link
Member

Hi @ashishkpaul . The plugin hasn't been upgraded to support v2.2 yet, but we are almost there. I will try to reproduce your issue when we've finished the upgrade.

@thochoertler
Copy link

Hi @martijnvdbrug , I get the same error with vendure 3.1.1. Just as a heads up as I already saw #550 :)

@martijnvdbrug
Copy link
Member

martijnvdbrug commented Dec 18, 2024

@thochoertler Thanks for the report. What database are you using?

I can not seem to reproduce this behavior, while our client envs are also on 3.1.1 already. Any other details? Do you have any placed orders? Does your store have 0 products, or maybe products without variants or anything out of the ordinary?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Not yet supported Vendure version The plugin hasn't been updated to support this version of Vendure yet
Projects
None yet
Development

No branches or pull requests

3 participants