Page 1 of 1

Promoting a pawn.

Posted: Sat Apr 17, 2021 4:42 pm
by rpatrick
How does one promote a pawn. I move a pawn to the C8 square and the screen goes dark and freezes. What do I need to do? Thanks.

Re: Promoting a pawn.

Posted: Sat Apr 17, 2021 11:33 pm
by gmiller
Using the new interface you should get a popup to select what piece to promote to. What game is it? What browser are you using?

Re: Promoting a pawn.

Posted: Sun Apr 18, 2021 7:08 am
by rpatrick
The game is g1105368029. The pop up does appear when I move the pawn to C8. But then the screen goes dark and freezes. The browser is Google. I am sure this is the first time I have tried to promote a pawn with the new interface. Thanks

Re: Promoting a pawn.

Posted: Sun Apr 18, 2021 10:46 am
by gmiller
Unfortunately "Google" isn't a browser. I'm not able to reproduce that issue in any browser I try. You can still make the move my typing c7c8=Q into the move box. If you can try to figure out which browser and version you're using, it might help me fix it for future instances.

Re: Promoting a pawn.

Posted: Sun Apr 18, 2021 12:42 pm
by rpatrick
Sorry about that. My browser is Edge 90 on Windows 10. I tried typing the move but that did not work. I may try to download a different browser.

Re: Promoting a pawn.

Posted: Sun Apr 18, 2021 10:40 pm
by gmiller
When viewing the game, can you press "ctrl+shift i". This will bring up the "developer tools", click on the tab that's labeled "console", then try to make your move. Let me know if anything appears in the console log.

Re: Promoting a pawn.

Posted: Mon Apr 19, 2021 9:47 am
by rpatrick
I followed your instructions:
2
responsive.js?38:646 Uncaught TypeError: Cannot read property 'substr' of null
at promoteClick (responsive.js?38:646)
at HTMLImageElement.onclick (viewgame.cgi?p1=g1105368029&r=2765.402242740609:4)
promoteClick @ responsive.js?38:646
onclick @ viewgame.cgi?p1=g1105368029&r=2765.402242740609:4

I copied the above messaged.

Re: Promoting a pawn.

Posted: Mon Apr 19, 2021 2:15 pm
by gmiller
Are you double clicking the piece you select to promote to? You should just single click.

Re: Promoting a pawn.

Posted: Mon Apr 19, 2021 3:52 pm
by rpatrick
I must have double clicked. I made the move. Thanks for your help.

Re: Promoting a pawn.

Posted: Mon Apr 19, 2021 4:01 pm
by gmiller
Thanks. I'll see if I can account for that when people do it.

Re: Promoting a pawn.

Posted: Thu Jun 10, 2021 7:57 am
by rpatrick
I am again not able to promote a Pawn. In game g1105368500 I want to move 42...b1 Queen. But my screen goes dark and freezes. Need help.

Rufus Patrick

Re: Promoting a pawn.

Posted: Sat Jun 12, 2021 11:45 am
by gmiller
Can you check the Javascript console for an error like you did above?

Re: Promoting a pawn.

Posted: Sun Jun 13, 2021 12:48 pm
by rpatrick
responsive.js?38:646 Uncaught TypeError: Cannot read property 'substr' of null
at promoteClick (responsive.js?38:646)
at HTMLImageElement.onclick (viewgame.cgi?p1=g1105368500:4)
promoteClick @ responsive.js?38:646
onclick @ viewgame.cgi?p1=g1105368500:4

This is the message to moving the Pawn to b1 and making one click on the Queen icon

Rufus Patrick

Re: Promoting a pawn.

Posted: Wed Jun 16, 2021 11:51 am
by gmiller
Give it a try now. It still looks like a double click, and I can't reproduce the problem, but I think at least it'll ignore it now.

Re: Promoting a pawn.

Posted: Wed Jun 16, 2021 2:25 pm
by rpatrick
Still cannot promote the Pawn. After clicking the Queen icon screen freezes.
This is the error message:
6
responsive.js?39:650 TypeError: Cannot read property 'substr' of null
at promoteClick (responsive.js?39:648)
at HTMLImageElement.onclick (viewgame.cgi?p1=g1105368500:4)
responsive.js?39:655 Uncaught TypeError: Cannot set property 'src' of undefined
at promoteClick (responsive.js?39:655)
at HTMLImageElement.onclick (viewgame.cgi?p1=g1105368500:4)

Rufus

Re: Promoting a pawn.

Posted: Wed Jun 16, 2021 3:27 pm
by gmiller
Ok, made another change, give it another try.

Re: Promoting a pawn.

Posted: Wed Jun 16, 2021 4:46 pm
by rpatrick
No. Same result.

Message:
6
responsive.js?31:650 TypeError: Cannot read property 'substr' of null
at promoteClick (responsive.js?31:648)
at HTMLImageElement.onclick (viewgame.cgi?p1=g1105368500:4)

Am I the only one having this problem?

Rufus

Re: Promoting a pawn.

Posted: Wed Jun 16, 2021 9:59 pm
by gmiller
You're the only one who's reported it, possible others have had it and not said anything.

At this point, you might want to just type "b2b1=Q" into the move box to make your move. I'll keep looking into it, but I don't think it's going to get solved anytime soon since I can't cause the problem myself.

Re: Promoting a pawn.

Posted: Thu Jun 17, 2021 8:43 am
by rpatrick
gmiller

I tried a different computer and the move was accepted. Thanks for your help. Thanks for Net-Chess.

Rufus