docudigger icon indicating copy to clipboard operation
docudigger copied to clipboard

"Couldn't get popover #a-popover-content-3 within 2000ms"

Open DiniskaWolfiii opened this issue 1 year ago • 1 comments

When I run the docker container for amazon (as well business and private), round about half of the invoices won't be downloaded as it seems to run into a timeout.

[0] [info] [2024-08-08 13:08:52] [scrape:amazon]:       Order date: *******
[0] [error] [2024-08-08 13:08:54] [scrape:amazon]:      Couldn't get popover #a-popover-content-1 within 2000ms. Skipping
[0] [warn] [2024-08-08 13:08:54] [scrape:amazon]:       No invoices found. Order may be undelivered. Check again later.
[0] [info] [2024-08-08 13:08:54] [scrape:amazon]:       Processing "51" orders
[0] [info] [2024-08-08 13:08:54] [scrape:amazon]:       Order date: *******
[0] [info] [2024-08-08 13:08:55] [scrape:amazon]:       1 invoices found 📃
[0] [info] [2024-08-08 13:08:55] [scrape:amazon]:       Processing "52" orders
[0] [info] [2024-08-08 13:08:55] [scrape:amazon]:       Checking if folder exists. If not, create: data
[0] [info] [2024-08-08 13:08:55] [scrape:amazon]:       Writing file: /home/node/docudigger/data/null_AMZ_*******.pdf
[0] [info] [2024-08-08 13:08:55] [scrape:amazon]:       Order date: *******
[0] [error] [2024-08-08 13:08:57] [scrape:amazon]:      Couldn't get popover #a-popover-content-3 within 2000ms. Skipping
[0] [warn] [2024-08-08 13:08:57] [scrape:amazon]:       No invoices found. Order may be undelivered. Check again later.
[0] [info] [2024-08-08 13:08:57] [scrape:amazon]:       Processing "53" orders
[0] [info] [2024-08-08 13:08:57] [scrape:amazon]:       Order date: *******
[0] [warn] [2024-08-08 13:08:57] [scrape:amazon]:       No invoices found. Order may be undelivered. Check again later.

System: Win 11 23H2 Docker Version: 27.1.1 TLD: de

I've seen some a issue with exact the same error, but maybe in the meantime there is a solution for that?

DiniskaWolfiii avatar Aug 08 '24 14:08 DiniskaWolfiii

Do you always have this errors? If not, please check if these orders are some sort of medias like purchased games or audible content. Please verify if they have an invoice too. Sometimes amazon (or mostly vendors from the marketplace) doesn't make them available instead thei send them with the article in the package physically.

Disane87 avatar Sep 09 '24 06:09 Disane87

This error comes in some orders (round about 50%). They all have invoices and they're all physical orders and no medias. The only difference is that some of these orders have multiple documents, like one order confirmation, one delivery confirmation or/and the actual invoice. Also what I've found is that in some orders there are 2 invoices. One from Amazon and another one from the seller.

DiniskaWolfiii avatar Oct 18 '24 15:10 DiniskaWolfiii

The only difference is that some of these orders have multiple documents, like one order confirmation, one delivery confirmation or/and the actual invoice. Also what I've found is that in some orders there are 2 invoices. One from Amazon and another one from the seller.

That shouldn't be a problem though because I select all links in the popover with *.pdf in the src tag. I got this error too on an old order but if I open the specific order popup the invoice is there. It seems that can be a race condition too, like in #1135. Need to investigate this.

Could you please set the LOG_LEVEL to debug and paste the content? You can remove sensitive data.

Disane87 avatar Oct 29 '24 14:10 Disane87

I have tried reproducing it in the last few weeks but wasn't able to reproduce this error. All documents are downloaded now without any error. I assume this were an issue with the German Amazon frontend?

DiniskaWolfiii avatar Jan 30 '25 10:01 DiniskaWolfiii

Hi, @DiniskaWolfiii. I'm Dosu, and I'm helping the docudigger team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • Timeout error occurred when running a Docker container for Amazon, affecting invoice downloads.
  • You confirmed the orders were physical, not media-related, as suggested by Disane87.
  • Disane87 suspected a race condition and requested debug logs.
  • You later noted the issue could not be reproduced and speculated it might be related to the German Amazon frontend.

Next Steps:

  • Please let me know if this issue is still relevant to the latest version of the docudigger repository by commenting here.
  • If there is no further activity, this issue will be automatically closed in 7 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar May 01 '25 16:05 dosubot[bot]