Closed soichih closed 4 years ago
The etherpad tries to address these issues REF https://github.com/datalad-datasets/ohbm2020-posters/issues/127 https://github.com/datalad-datasets/ohbm2020-posters/issues/157 (somewhat)
could not test locally, even if I allow cookies for 127.0.0.1 chromium doesn't really record it and I come back to
An error occurred
Please press and hold Ctrl and press F5 to reload this page
If the problem persists please send this error message to your webmaster:
ErrorId: trC36oQ4gYH2Mk17yHq0
URL: https://etherpad.wikimedia.org/p/ohbm2020-3
UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
Uncaught TypeError: Cannot read property 'setStateIdle' of null in https://etherpad.wikimedia.org/javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define&v=2eb54623 at line 3
even going to localhost doesn't help... will deploy/test tomorrow. If PDF was a separate PR - would have been easier to review/merge
and going back to df7edb282a0e3364fa51e87e09a7136143731a87 before presumably etherpad addition - doesn't work
Does it work on my fork? https://soichi.us/ohbm2020-posters/#/room/3/ohbm2020-3
Nope (although this time coming from phone not laptop) - similar cookie issue
I just tested with a few people and they all seemed to work.. on my fork. I am wondering if the issue is caused by your browser / OS?
[image: image.png]
I did forget to hide the note for mobile.. so I will do that now.
On Thu, Jul 2, 2020 at 8:51 AM Yaroslav Halchenko notifications@github.com wrote:
Nope (although this time coming from phone not laptop) - similar cookie issue
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/datalad-datasets/ohbm2020-posters/pull/163#issuecomment-652986765, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHBR6ENDYVJBG6LVGTS5ODRZR7E5ANCNFSM4OODUIFA .
from your clone:
etherpad.wikimedia.org
to the list of allowed websites for the cookiesI wonder if there could be at least a message (e.g. instead of error msg) in such cases instructing user to do that (add etherpad.wikimedia.org or allow for third-party cookies). I am not sure why chromium doesn't ask me explicitly for cookies from that website to be allowed or not.
Actually.. I was able to recreate this problem on some posters (happens on 1966 consistently).
It looks like etherpad is trying to send some warning message through "top" property.
r[t] = i(function() {
"setAuthorInfo" !== t || arguments[0] ? d[n + t].apply(this, arguments) : top.console.warn("setAuthorInfo AuthorId not set for some reason", arguments)
})
I don't know 1) what AuthorId
is, why it's not set and how to set it. 2) why this only happens on 1966, 3) if this is a bug with etherpad itself.. I don't think it should be accessing window.top
to post messages like that.
submit issue to etherpad and see what they say?
I've looked and it looks like they've already fixed it.
Also, I just refreshed 1966 and now it's working again.. :( I am guessing wikimedia.org has some old code stuck in one of their servers, or CDN.. or something)
FWIW, twitted:
An exciting new feature to the #GallOP (our platform name now) got just added by the amazing @soichih -- integration with @EtherpadOrg! "Video chat" has "Notes" on the right. Some rough corners might be yet to polish - please provide feedback! #OHBM2020Posters FOREVER! pic.twitter.com/1iLAENlcLk
— Yaroslav Halchenko (@yarikoptic) July 2, 2020
ref https://github.com/datalad-datasets/ohbm2020-posters/pull/143
This update converts github raw url (that doesn't set content-type) to raw.githack.com url so that user can open the pdf directly on the browser.