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

Never goes to the next page #24

Closed
Nuku opened this issue Feb 23, 2019 · 21 comments
Closed

Never goes to the next page #24

Nuku opened this issue Feb 23, 2019 · 21 comments
Assignees
Labels
bug Something isn't working

Comments

@Nuku
Copy link

Nuku commented Feb 23, 2019

giveaway 18 did not exist?
giveaway 19 did not exist?
giveaway 20 did not exist?
giveaway 21 did not exist?
giveaway 22 did not exist?
giveaway 23 did not exist?
giveaway 24 did not exist?
{ TimeoutError: waiting for selector "ul.a-pagination li:last-child" failed: timeout 30000ms exceeded

This happens every time, no matter the page. Then the entire process stops.

@jpchip jpchip self-assigned this Feb 23, 2019
@jpchip jpchip added the bug Something isn't working label Feb 23, 2019
@jpchip
Copy link
Owner

jpchip commented Feb 23, 2019

Will take a look when I get a sec. Seems to be related to #23

@jpchip
Copy link
Owner

jpchip commented Feb 24, 2019

I'm sorry, was never able to reproduce this. I have two guesses though. Did you minimize the window? That causes it to break. The other possible culprit is you need to enable two factor authentication?

@Nuku
Copy link
Author

Nuku commented Feb 24, 2019 via email

@Nuku
Copy link
Author

Nuku commented Feb 24, 2019

One thing I notice is that my chromium doesn't use its entire window?
image

@jpchip
Copy link
Owner

jpchip commented Feb 24, 2019

Very strange. I was just using it and even did a release to fix #23 and #19 , for which I did lots of testing and let it run across multiple pages mutiple times and didn't have a problem.

Maybe after updating to latest version, if it's still happening, could you record a video or get a screen grab on the page it is getting stuck on? Maybe the pagination buttons aren't rendering for some weird reason?

The chromium window size is normal (though I honestly don't know why it does that).

@Nuku
Copy link
Author

Nuku commented Feb 24, 2019

image
There were plenty of more pages. This was the first page.

@jpchip
Copy link
Owner

jpchip commented Feb 24, 2019

uhhh, you should probably delete that image, and change your amazon credentials!!!

@jpchip
Copy link
Owner

jpchip commented Feb 24, 2019

I'm really stumped. I just tried it again, using the CLI like you pictured, and it seems to be working fine. I'm really sorry you are having problems! If you can figure out the problem or can somehow better capture it I will gladly dig into it further. ¯_(ツ)_/¯

@Nuku
Copy link
Author

Nuku commented Feb 24, 2019

How would I get the perfect capture for you?

Repository owner deleted a comment from Nuku Feb 25, 2019
@jpchip
Copy link
Owner

jpchip commented Feb 25, 2019

I deleted your comment because the image you posted contained your amazon credentials (as I tried telling you), probably not something you want to share with the world!

It's interesting that in the second screenshot you posted there were a bunch of "already entered" logs, which means the script did go into those giveaways? So it's working some of the time?

I guess what I'd need at this point is something that shows how I can reproduce the problem. Or, something that showed the "why" behind it so I could take a shot in the dark at least. Maybe do some digging using chrome dev tools to show if certain elements the script is expecting don't exist? Right now I don't think there is anything else I can do at my end....

@Nuku
Copy link
Author

Nuku commented Feb 25, 2019 via email

@Frank350
Copy link

Im also getting this error, but it happens at number 20, without fail.

@jpchip
Copy link
Owner

jpchip commented Feb 28, 2019

I published a new release that might fix this issue. I say might as I still was not able to duplicate it, but I found something that might have been the culprit. Please upgrade and give it another shot.

@Nuku
Copy link
Author

Nuku commented Feb 28, 2019

image
No page specified.

@jpchip
Copy link
Owner

jpchip commented Feb 28, 2019

sigh, I have no idea. It's a riddle, wrapped in a mystery, inside an enigma.

@mistergregg
Copy link

I had the same problem when I did the installation. I then cloned it and it worked fine.

@Nuku
Copy link
Author

Nuku commented Feb 28, 2019 via email

@mistergregg
Copy link

Hit the green clone or download
Extract it somewhere

In the extracted folder
Edit .env.example put your user and pass then save as .env

navigate to that folder in cmd
npm install
npm start

@Nuku
Copy link
Author

Nuku commented Mar 1, 2019 via email

@jpchip
Copy link
Owner

jpchip commented Mar 16, 2019

finally got around to trying to clean install it globally and run it the gg command. Still couldn't duplicate the problem. 🤷‍♂️

@jpchip
Copy link
Owner

jpchip commented Mar 31, 2019

Closing this ticket as was never able to duplicate and sounds like you found a work around.

@jpchip jpchip closed this as completed Mar 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants