The bug comes up whenever I click a button to create a game, challenge a player, etc. Basically, anything that would open the new game dialog. When I click the button, nothing happens. I do, however, see messages in the developer console (see below). It looks like an object attribute that the button expects to call as a function is undefined.
This doesn’t always happen with every browser all the time; occasionally, I’ll be able to start a game, but there’s a lot of inconsistency with regards to when and with which browsers I can start games.
Chrome console message:
TypeError: undefined is not a function
at q.n.challenge (ogs.4.2-501-g8147904.min.js:1638)
at ve.functionCall (ogs.4.2-501-g8147904.min.js:556)
at ogs.4.2-501-g8147904.min.js:659
at q.$get.q.$eval (ogs.4.2-501-g8147904.min.js:481)
at q.$get.q.$apply (ogs.4.2-501-g8147904.min.js:481)
at HTMLButtonElement. (ogs.4.2-501-g8147904.min.js:659)
at HTMLButtonElement.u.event.dispatch (ogs.4.2-501-g8147904.min.js:272)
at HTMLButtonElement.b.dispatch (ogs.4.2-501-g8147904.min.js:1063)
at HTMLButtonElement.u.event.add.r.handle (ogs.4.2-501-g8147904.min.js:266)ogs.4.2-501-g8147904.min.js:456 (anonymous function)ogs.4.2-501-g8147904.min.js:430 $getogs.4.2-501-g8147904.min.js:481 $get.q.$applyogs.4.2-501-g8147904.min.js:659 (anonymous function)ogs.4.2-501-g8147904.min.js:272 u.event.dispatchogs.4.2-501-g8147904.min.js:1063 b.dispatchogs.4.2-501-g8147904.min.js:266 u.event.add.r.handle
This started… probably in the past month or two? I didn’t mark it down initially, figuring it was momentary, but it’s gone from “sometimes, one of my browsers” to “usually, all of my browsers”.
I’m running Ubuntu 14.04 with the browser versions listed above (14.04 was an LTS release, and I’m current with the Ubuntu repos for each up to maybe a week ago), and 12.04 with potentially different versions of both browsers. If I’m recalling correctly, the issue has manifested in all four cases, but Firefox on 12.04 /might/ have been immune thus far. I’ll test it later today.
In both cases, I’m running the Awesome window manager on top of a GNOME environment.
Both desktop machines are connected to the Internet through routers over HTTPS, and I personally manage the certificates, so I’m pretty sure I’m not under a weirdly specific MITM attack. No proxying was involved.
@chickadee or anyone else who can replicate this bug, if you’re interested in helping me debug a little, next time you get it into this state of not being able to challenge, can you do the following two things and let me know the results?
Can you click on a user to bring up the little action box, then click the circle with a slash in it. Ideally this would pop up a dialog box that allows you to ignore chats from this user. Can you let me know whether this pops up for you, or if it gives you a similar error?
In the javascript console, can copy and paste the following lines, then paste me the results?
I’ve seen the same issue on my PC: I have Firefox 38.0.1 on Win 7 Enterprise. No response when I click on until I clear cookies and login to OGS again. The problem doesn’t happen when I try to create a game from IE 11. I’d gladly send you some javascript console info, but I don’t know how to get it to show. I’m ticked from the configuration app, to no avail.
The problem reemerged, after lo these months. Firefox 38.0 on Ubuntu 14.04, awesome window manager, 64-bit architecture.
Stack trace:
Error: b.challenge is not a function
e/n.challenge@https://a00ce0086bda2213e89f-570db0116da8eb5fdc3ce95006e46d28.ssl.cf1.rackcdn.com/4.2/ogs.4.2-607-gdaae384.min.js:1684:425
ue.prototype.functionCall/<@https://a00ce0086bda2213e89f-570db0116da8eb5fdc3ce95006e46d28.ssl.cf1.rackcdn.com/4.2/ogs.4.2-607-gdaae384.min.js:556:150
ue.prototype.statements/<@https://a00ce0086bda2213e89f-570db0116da8eb5fdc3ce95006e46d28.ssl.cf1.rackcdn.com/4.2/ogs.4.2-607-gdaae384.min.js:550:169
@https://a00ce0086bda2213e89f-570db0116da8eb5fdc3ce95006e46d28.ssl.cf1.rackcdn.com/4.2/ogs.4.2-607-gdaae384.min.js:659:189
ob/this.$get</p.prototype.$eval@https://a00ce0086bda2213e89f-570db0116da8eb5fdc3ce95006e46d28.ssl.cf1.rackcdn.com/4.2/ogs.4.2-607-gdaae384.min.js:481:63
ob/this.$get</p.prototype.$apply@https://a00ce0086bda2213e89f-570db0116da8eb5fdc3ce95006e46d28.ssl.cf1.rackcdn.com/4.2/ogs.4.2-607-gdaae384.min.js:481:277
@https://a00ce0086bda2213e89f-570db0116da8eb5fdc3ce95006e46d28.ssl.cf1.rackcdn.com/4.2/ogs.4.2-607-gdaae384.min.js:659:169
u.event.dispatch@https://a00ce0086bda2213e89f-570db0116da8eb5fdc3ce95006e46d28.ssl.cf1.rackcdn.com/4.2/ogs.4.2-607-gdaae384.min.js:272:154
b.dispatch@https://a00ce0086bda2213e89f-570db0116da8eb5fdc3ce95006e46d28.ssl.cf1.rackcdn.com/4.2/ogs.4.2-607-gdaae384.min.js:1063:1
u.event.add/q.handle@https://a00ce0086bda2213e89f-570db0116da8eb5fdc3ce95006e46d28.ssl.cf1.rackcdn.com/4.2/ogs.4.2-607-gdaae384.min.js:266:38