soscripted / sox

Stack Overflow Extras: a userscript for the Stack Exchange websites to add a bunch of optional toggle-able features
http://stackapps.com/q/6091/
MIT License
72 stars 15 forks source link

Show when the post's author was last seen and whether they are registered in the comments section #73

Closed fixer1234 closed 8 years ago

fixer1234 commented 8 years ago

Installed Version: 2.0.0 | Environment: undefined

Expected Behavior

How do you expect the feature to work? New feature, looking for behavior.

Actual Behavior

How is the feature currently behaving? No information relating to this is shown.

Steps to reproduce

What steps did you take to reproduce the issue? Went to an older question with lots of older answers.

shu8 commented 8 years ago

@fixer1234 This should also be fixed in the new version :)

fixer1234 commented 8 years ago

Update for v2.0.1: This is another feature that is erratic. On most threads, the information does not appear, but it did appear on one thread. I'll capture error reports and add them.

fixer1234 commented 8 years ago

One suggestion to improve the feature: The main value of this feature relates to the author of the post (are they still around to clarify the post or respond to feedback, or on a question, are they around to accept an answer?). The feature currently reports the status of the last person to edit the post. If that person wasn't the author, it's hard to imagine what use the information would be. Is there a way to capture the original author rather than the last editor? The author and editor IDs are displayed separately, so I'm assuming the information is associated with the post.

Just happened to spot this because it stood out: su author status

fixer1234 commented 8 years ago

Here's a screenshot of a post with no author status and the console output:

su no author console

shu8 commented 8 years ago

hmm, I can't repro this at all anymore.

I've added a bunch of logs to this feature now, so please can you install the new version and copy/paste (and screenshot as well if possible) the entire console log after refreshing a page?

fixer1234 commented 8 years ago

@shu8, on the SOX feature menu, this item is a different color and has a hover message that there was an error loading the feature, to raise the issue here.

BTW, the reporting of the last editor rather than the OP that I mentioned in an earlier comment: should I repost that as a new feature request or do you consider that a "bug"?


Adding this a few hours later. The plot thickens. The color and hover message are gone. The feature works on some posts but not others.

It works more reliably on the SU Meta site. Opening a question often shows the author status already populated. When it is not, clicking on the Add Comment button under the post not only opens the comment edit window, but triggers writing the author status. Between the two, all or most posts got the author status display.

On the SU site, performance is mixed. Some threads won't display the author status regardless of what I do. On others, a few posts will have it pre-populated (but that might be only one of the posts on the page). Sometimes, but not always, I can trigger the author status display by opening the comment edit window (but it's just for that post, not others on the page). A random spot check seems to show that if there is already a comment thread on a post, the author status is already displayed (if not always, then most of the time).

Here's the console output from a page that initially displayed author status on none of the posts. After generating the output, I opened a comment edit box and triggered the author status display on that post. That action added a few more lines to the console output. About 7 lines up from the end is a "not well formed" message, which was where it originally ended. The last 6 lines are what were added when I opened the comment edit box.

bg on Updatedbg.js:333:2
Object { status: "loading" }bg.js:334:2
Warning: NetUtil.asyncFetch() requires the channel to have one of the security flags set in the loadinfo (see nsILoadInfo). Please create channel using NetUtil.newChannel()
bg on Updatedbg.js:333:2
Object { status: "loading", url: "http://superuser.com/questions/4715…" }bg.js:334:2
bg on Updatedbg.js:333:2
Object { favIconUrl: "http://cdn.sstatic.net/Sites/superu…" }bg.js:334:2
Warning: NetUtil.asyncFetch() requires the channel to have one of the security flags set in the loadinfo (see nsILoadInfo). Please create channel using NetUtil.newChannel()
bg runtime Object { action: "check_shortcuts" }bg.js:75:5
bg runtime Object { id: 32, index: 2, windowId: 0, selected: true, highlighted: true, active: true, pinned: false, status: "loading", incognito: false, width: 1411, 6 more… }bg.js:76:5
sendRequest:  tab 32 Object { action: "update_shortcuts", msObj: "{"visible":{"enable":true,"key":"V"…" }bg.js:762:3
request end:  check_shortcutsbg.js:307:5
bg on Updatedbg.js:333:2
Object { status: undefined }bg.js:334:2
content script runtime.onMessage:  update_shortcutscontent_script.js:91:2
content script runtime.onMessage:  tabupdatecontent_script.js:91:2
XrayWrapper denied access to property "ready" (reason: value is callable). See https://developer.mozilla.org/en-US/docs/Xray_vision for more information. Note that only the first denied property access from a given global object will be reported.sox.common.js:18
SOX:  initializing SOX dialogsox.common.js:63:17
SOX:  injecting features into dialogsox.common.js:63:17
observe: .inbox-dialogsox.common.js:70:13
observe: .commentsox.common.js:70:13
SOX Access Token: ******************************sox.common.js:46:13
observe: #wmd-redo-button-471551sox.common.js:70:13
observe: #wmd-redo-button-479644sox.common.js:70:13
observe: #wmd-redo-button-471526sox.common.js:70:13
observe: #wmd-redo-buttonsox.common.js:70:13
observe: [id^="wmd-redo-button"]sox.common.js:70:13
observe: .image-upload formsox.common.js:70:13
SOX Access Token: ***********************************sox.common.js:46:13
Array [  ]sox.features.js:1326:17
observe: .share-tipsox.common.js:70:13
"SOX editReasonTooltip URL: http://superuser.com/posts/471526/revisions"sox.features.js:883:21
Object { context: <div#question.question>, length: 1, 1 more… }sox.features.js:884:21
SOX editReasonTooltip text: edited tagssox.features.js:885:21
"SOX editReasonTooltip URL: http://superuser.com/posts/479644/revisions"sox.features.js:883:21
Object { context: <div#answer-479644.answer.deleted-answer>, length: 1, 1 more… }sox.features.js:884:21
SOX editReasonTooltip text: added 193 characters in bodysox.features.js:885:21
observe: .commentsox.common.js:70:13
fire: .commentsox.common.js:77:29
observe: .commentsox.common.js:70:13
fire: .commentsox.common.js:77:29
observe: .commentsox.common.js:70:13
fire: .commentsox.common.js:77:29
no element foundf446:1:1
fire: #wmd-redo-buttonsox.common.js:77:29
fire: [id^="wmd-redo-button"]sox.common.js:77:29
The object cannot be linked to the inspector without a toolbox
console-output.js:3266
bg on Updatedbg.js:333:2
Object { status: "complete" }bg.js:334:2
bg on Updatedbg.js:333:2
Object { status: undefined }bg.js:334:2
bg runtime Object { action: "enable_selected" }bg.js:75:5
bg runtime Object { id: 32, index: 2, windowId: 0, selected: true, highlighted: true, active: true, pinned: false, status: "complete", incognito: false, width: 1411, 6 more… }bg.js:76:5
request end:  enable_selectedbg.js:307:5
Use of getPreventDefault() is deprecated.  Use defaultPrevented instead.jquery.min.js:3:6598
content script runtime.onMessage:  tabupdatecontent_script.js:91:2
bg on Updatedbg.js:333:2
Object { status: undefined }bg.js:334:2
content script runtime.onMessage:  tabupdatecontent_script.js:91:2
Error: Could not establish connection. Receiving end does not exist.(unknown)
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help http://xhr.spec.whatwg.org/panel.js:3525:3
not well-formedmessages.json:1:1
TypeError: this.startBrowserTime is null
simpletimer.js:1452:27
bg on Updatedbg.js:333:2
Object { status: undefined }bg.js:334:2
content script runtime.onMessage:  tabupdatecontent_script.js:91:2
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help http://xhr.spec.whatwg.org/panel.js:3525:3
not well-formed
shu8 commented 8 years ago

@fixer1234 I've added a few more logs, these are kind of getting there, but these new ones should give me the answer!

Sorry to ask again, but please can you reinstall this even newer version and paste the log here again?

fixer1234 commented 8 years ago

Installed the newest, newer, new version. The author status does not appear on several random posts I tested. Console output:

bg on Updatedbg.js:333:2
Object { status: "loading" }bg.js:334:2
content script runtime.onMessage:  tabupdatecontent_script.js:91:2
bg on Updatedbg.js:333:2
Object { status: "loading", url: "http://superuser.com/questions/1115…" }bg.js:334:2
Warning: NetUtil.asyncFetch() requires the channel to have one of the security flags set in the loadinfo (see nsILoadInfo). Please create channel using NetUtil.newChannel()
bg runtime Object { action: "check_shortcuts" }bg.js:75:5
bg runtime Object { id: 3, index: 2, windowId: 0, selected: true, highlighted: true, active: true, pinned: false, status: "loading", incognito: false, width: 1411, 6 more… }bg.js:76:5
sendRequest:  tab 3 Object { action: "update_shortcuts", msObj: "{"visible":{"enable":true,"key":"V"…" }bg.js:762:3
request end:  check_shortcutsbg.js:307:5
content script runtime.onMessage:  update_shortcutscontent_script.js:91:2
XrayWrapper denied access to property "ready" (reason: value is callable). See https://developer.mozilla.org/en-US/docs/Xray_vision for more information. Note that only the first denied property access from a given global object will be reported.sox.common.js:18
SOX:  initializing SOX dialogsox.common.js:63:17
SOX:  injecting features into dialogsox.common.js:63:17
observe: .inbox-dialogsox.common.js:70:13
observe: .commentsox.common.js:70:13
SOX Access Token: CZFS8gYq1CSv9OYdwT7tiw))sox.common.js:46:13
observe: #wmd-redo-button-1115766sox.common.js:70:13
observe: #wmd-redo-button-1115725sox.common.js:70:13
observe: #wmd-redo-buttonsox.common.js:70:13
observe: [id^="wmd-redo-button"]sox.common.js:70:13
observe: .image-upload formsox.common.js:70:13
SOX Access Token: CZFS8gYq1CSv9OYdwT7tiw))sox.common.js:46:13
Array [  ]sox.features.js:1326:17
observe: .share-tipsox.common.js:70:13
"SOX editReasonTooltip URL: http://superuser.com/posts/1115725/revisions"sox.features.js:883:21
Object { context: <div#question.question>, length: 1, 1 more… }sox.features.js:884:21
SOX editReasonTooltip text: added 498 characters in bodysox.features.js:885:21
"SOX editReasonTooltip URL: http://superuser.com/posts/1115766/revisions"sox.features.js:883:21
Object { context: <div#answer-1115766.answer>, length: 1, 1 more… }sox.features.js:884:21
SOX editReasonTooltip text: mod evasivesox.features.js:885:21
no element found3966:1:1
The object cannot be linked to the inspector without a toolbox
console-output.js:3266
fire: #wmd-redo-buttonsox.common.js:77:29
fire: [id^="wmd-redo-button"]sox.common.js:77:29
StackExchange is not definedsox.common.js%20line%206%20%3E%20eval:1:1
bg on Updatedbg.js:333:2
Object { status: "complete" }bg.js:334:2
ReferenceError: jQuery is not defined
error-403-forbidden-with-many-file-requests:708:1
bg runtime Object { action: "enable_selected" }bg.js:75:5
bg runtime Object { id: 3, index: 2, windowId: 0, selected: true, highlighted: true, active: true, pinned: false, status: "complete", incognito: false, width: 1411, 6 more… }bg.js:76:5
request end:  enable_selectedbg.js:307:5
Use of getPreventDefault() is deprecated.  Use defaultPrevented instead.jquery.min.js:3:6598
content script runtime.onMessage:  tabupdatecontent_script.js:91:2
'mozHidden' and 'mozVisibilityState' are deprecated.  Please use the unprefixed 'hidden' and 'visibilityState' instead.lidar.js:32:420
Error: Could not establish connection. Receiving end does not exist.(unknown)
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help http://xhr.spec.whatwg.org/panel.js:3525:3
not well-formedmessages.json:1:1

It had previously worked on Meta, but no sign of it there either. Also, opening a comment edit box no longer triggers the author status display.

EDIT ~4 hr later:

At the time of the post above (which was probably within an hour of installing the latest SOX), the feature wouldn't work on any post. Those tested ones still don't work, but I came across a few threads where it does. Of these, ones that already have comments posted already had author status. On some others, status appeared when I opened a comment edit box.

Note: it is still picking up the last editor, not the post author. Example:

http://superuser.com/questions/1115640/uefi-bios-settings-inaccessible-ultrabook-samsung

shu8 commented 8 years ago

@fixer1234 Can you try refreshing with the net tab enabled and paste the log here, and please screenshot the network tab in the console pane and post it here?

fixer1234 commented 8 years ago

This is the still on the version prior to "a":

The connection to wss://qa.sockets.stackexchange.com/ was interrupted while the page was loading. full.en.js:1:5142
GET 
http://superuser.com/questions/1116828/how-can-i-link-a-numbered-bullet-point-to-a-sentence-that-references-that-bullet [HTTP/1.1 200 OK 61ms]
GET 
http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js [HTTP/1.1 304 Not Modified 44ms]
GET 
http://cdn.sstatic.net/Js/stub.en.js [HTTP/1.1 304 Not Modified 13ms]
GET 
http://cdn.sstatic.net/Sites/superuser/all.css [HTTP/1.1 304 Not Modified 23ms]
GET 
https://i.stack.imgur.com/DPd3M.jpg [HTTP/1.1 304 Not Modified 43ms]
GET 
https://www.gravatar.com/avatar/ee420049ad58853b2840cb8465d15510 [HTTP/1.1 304 Not Modified 19ms]
GET 
http://static.adzerk.net/ados.js [HTTP/1.1 304 Not Modified 30ms]
GET 
https://www.google-analytics.com/analytics.js [HTTP/2.0 304 Not Modified 14ms]
GET 
http://edge.quantserve.com/quant.js [HTTP/1.1 304 Not Modified 46ms]
GET 
http://b.scorecardresearch.com/beacon.js [HTTP/1.1 200 OK 20ms]
GET 
http://cdn.sstatic.net/img/share-sprite-new.svg [HTTP/1.1 304 Not Modified 16ms]
GET 
http://cdn.sstatic.net/Sites/superuser/img/sprites.svg [HTTP/1.1 304 Not Modified 26ms]
GET 
http://cdn.sstatic.net/img/favicons-sprite16.png [HTTP/1.1 304 Not Modified 13ms]
GET 
https://www.gravatar.com/avatar/dec6d93c74fd80dcaeb6a78aa1e55aaa [HTTP/1.1 304 Not Modified 12ms]
GET 
http://b.scorecardresearch.com/b [HTTP/1.1 204 No Content 14ms]
GET 
http://cdn.sstatic.net/Js/full.en.js [HTTP/1.1 304 Not Modified 13ms]
GET 
http://cdn.sstatic.net/Js/inline-tag-editing.en.js [HTTP/1.1 304 Not Modified 14ms]
XrayWrapper denied access to property "ready" (reason: value is callable). See https://developer.mozilla.org/en-US/docs/Xray_vision for more information. Note that only the first denied property access from a given global object will be reported. sox.common.js:18:0
GET 
https://www.gravatar.com/avatar/ee420049ad58853b2840cb8465d15510 [HTTP/1.1 200 OK 0ms]
GET 
https://i.stack.imgur.com/DPd3M.jpg [HTTP/1.1 200 OK 0ms]
GET 
https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css [HTTP/2.0 304 Not Modified 15ms]
SOX:  initializing SOX dialog sox.common.js:63:17
GET 
https://www.google-analytics.com/collect [HTTP/2.0 200 OK 14ms]
GET 
http://engine.adzerk.net/ados [HTTP/1.1 200 OK 71ms]
GET 
http://cdn.sstatic.net/img/share-sprite-new.svg [HTTP/1.1 200 OK 0ms]
GET 
http://pixel.quantserve.com/pixel;r=734209914;a=p-c1rF4kxgLUzNc;fpan=0;fpa=P0-2087723673-1465952398859;ns=0;ce=1;cm=;je=1;sr=2048x1152x24;enc=n;dst=1;et=1471987212671;tzo=240;ref=http%3A%2F%2Fsuperuser.com%2Fquestions;url=http%3A%2F%2Fsuperuser.com%2Fquestions%2F1116828%2Fhow-can-i-link-a-numbered-bullet-point-to-a-sentence-that-references-that-bullet;ogl=type.website%2Cimage.http%3A%2F%2Fcdn%252Esstatic%252Enet%2FSites%2Fsuperuser%2Fimg%2Fapple-touch-icon%402%252Epng%3Fv%3De869e4459439%2Ctitle.How%20can%20I%20link%20a%20numbered%20bullet%20point%20to%20a%20sentence%20that%20references%20that%20bullet%2Cdescription.I%20have%20a%20list%20of%20procedures%20such%20as%0A%0A%0ADo%20this%0ADo%20that%0ADo%20the%20same%20thing%20as%20done%20%2Curl.http%3A%2F%2Fsuperuser%252Ecom%2Fquestions%2F1116828%2Fhow-can-i-link-a-numbered-bullet-point-to [HTTP/1.1 200 OK 36ms]
GET 
http://cdn.sstatic.net/Sites/superuser/img/sprites.svg [HTTP/1.1 200 OK 0ms]
GET 
http://cdn.sstatic.net/img/favicons-sprite16.png [HTTP/1.1 200 OK 0ms]
GET 
https://www.gravatar.com/avatar/dec6d93c74fd80dcaeb6a78aa1e55aaa [HTTP/1.1 200 OK 0ms]
SOX:  injecting features into dialog sox.common.js:63:17
observe: .inbox-dialog sox.common.js:70:13
observe: .comment sox.common.js:70:13
SOX Access Token: XJUIjR9HFt16u5mikBfSBg)) sox.common.js:46:1
observe: #wmd-redo-button-1116847 sox.common.js:70:13
observe: #wmd-redo-button-1116828 sox.common.js:70:13
observe: #wmd-redo-button sox.common.js:70:13
observe: [id^="wmd-redo-button"] sox.common.js:70:13
observe: .image-upload form sox.common.js:70:13
SOX Access Token: XJUIjR9HFt16u5mikBfSBg)) sox.common.js:46:1
Array [  ] sox.features.js:1326:17
observe: .share-tip sox.common.js:70:13
GET 
https://rawgit.com/shu8/SE-Answers_scripts/master/dupeClosedMigratedCSS.css [HTTP/2.0 304 Not Modified 37ms]
vwof plugin, exception in ScreenWaveMedia: TypeError: video_data is undefined vwof.js:67:0
GET 
http://cdn.sstatic.net/Js/post-validation.en.js [HTTP/1.1 304 Not Modified 13ms]
GET 
XHR 
http://superuser.com/posts/1116828/ivc/cb80 [HTTP/1.1 204 No Content 22ms]
GET 
XHR 
https://query.yahooapis.com/v1/public/yql [HTTP/1.1 200 OK 324ms]
GET 
XHR 
https://api.stackexchange.com/2.2/users/633292;535106 [HTTP/1.1 200 OK 34ms]
GET 
XHR 
https://api.stackexchange.com/2.2/questions [HTTP/1.1 400 Bad Request 31ms]
GET 
XHR 
https://api.stackexchange.com/users/535106;633292 [HTTP/1.1 400 Bad Request 47ms]
GET 
http://cdn.sstatic.net/Js/external-editor.en.js [HTTP/1.1 304 Not Modified 14ms]
no element found cb80:1:1
GET 
http://static.adzerk.net/Extensions/adFeedback.js [HTTP/1.1 304 Not Modified 16ms]
GET 
http://static.adzerk.net/Extensions/adFeedback.css [HTTP/1.1 304 Not Modified 121ms]
Use of getPreventDefault() is deprecated.  Use defaultPrevented instead. jquery.min.js:3:6598
GET 
http://engine.adzerk.net/i.gif [HTTP/1.1 200 OK 32ms]
GET 
https://qa.sockets.stackexchange.com/ [HTTP/1.1 101 Switching Protocols 88ms]
GET 
http://static.adzerk.net/Advertisers/d290ba7e983642dba949c6b7c6a75f30.png [HTTP/1.1 304 Not Modified 36ms]
GET 
http://cdn.sstatic.net/Js/wmd.en.js [HTTP/1.1 304 Not Modified 13ms]
fire: #wmd-redo-button sox.common.js:77:29
fire: [id^="wmd-redo-button"] sox.common.js:77:29
GET 
http://cdn.sstatic.net/Sites/superuser/img/wmd-buttons.svg [HTTP/1.1 304 Not Modified 13ms]
GET 
XHR 
https://l.ghostery.com/api/page/ [HTTP/1.1 204 No Content 22ms]
GET 
http://cdn.sstatic.net/Sites/superuser/img/wmd-buttons.svg [HTTP/1.1 200 OK 0ms]
GET 
XHR 
https://l.ghostery.com/api/census [HTTP/1.1 204 No Content 25ms]
GET 
XHR 
https://l.ghostery.com/api/census [HTTP/1.1 204 No Content 27ms]
GET 
XHR 
https://l.ghostery.com/api/census [HTTP/1.1 204 No Content 30ms]
GET 
XHR 
https://l.ghostery.com/api/census [HTTP/1.1 204 No Content 36ms]
GET 
XHR 
https://l.ghostery.com/api/census [HTTP/1.1 204 No Content 39ms]
GET 
XHR 
https://l.ghostery.com/api/census [HTTP/1.1 204 No Content 40ms]
GET 
XHR 
https://l.ghostery.com/api/census [HTTP/1.1 204 No Content 45ms]
GET 
XHR 
https://l.ghostery.com/api/census [HTTP/1.1 204 No Content 42ms]
GET 
XHR 
https://l.ghostery.com/api/census [HTTP/1.1 204 No Content 46ms]
GET 
XHR 
https://l.ghostery.com/api/census [HTTP/1.1 204 No Content 44ms]
GET 
XHR 
https://l.ghostery.com/api/census [HTTP/1.1 204 No Content 53ms]
GET 
XHR 
https://l.ghostery.com/api/census [HTTP/1.1 204 No Content 51ms]
GET 
XHR 
https://l.ghostery.com/api/census [HTTP/1.1 204 No Content 62ms]
GET 
XHR 
https://l.ghostery.com/api/census [HTTP/1.1 204 No Content 73ms]
GET 
XHR 
https://l.ghostery.com/api/census [HTTP/1.1 204 No Content 76ms]
GET 
XHR 
https://l.ghostery.com/api/census [HTTP/1.1 204 No Content 81ms]
GET 
XHR 
https://l.ghostery.com/api/census [HTTP/1.1 204 No Content 86ms]
GET 
XHR 
https://l.ghostery.com/api/census [HTTP/1.1 204 No Content 92ms]
GET 
XHR 
https://l.ghostery.com/api/census [HTTP/1.1 204 No Content 92ms]
GET 
XHR 
https://l.ghostery.com/api/census [HTTP/1.1 204 No Content 98ms]
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create panel.js:5816:3
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help http://xhr.spec.whatwg.org/ panel.js:3525:3
not well-formed messages.json:1:1

BTW, this has all options under the Net tab selected (I hadn't been doing that before). When I try to take a screenshot of the tab, any action outside the console closes the tab. I'm on Linux and haven't figured out how to do the equivalent of a PrtScrn that doesn't affect pending actions.

I just retested on v2.0.1a, and it behaves the same.

fixer1234 commented 8 years ago

After the comment above, I installed v2.0.1a.

  1. The feature displays status, but it requires some comment thread. If there are already comments on a post, the status will be there. If there aren't already comments, status display can be triggered by opening a comment edit box. However, if the page is refreshed without actually posting a comment, the status is missing again when the page is refreshed.
  2. It isn't reliable. A few example threads that would not display status regardless of comment content: http://superuser.com/questions/142617/netbeans-not-able-to-include-files http://superuser.com/questions/516854/outlook-2013-refuses-to-start-due-to-unavailable-microsoft-exchange-server
  3. It still retrieves the wrong information. It displays the status of the last editor rather than the author. Example:

su author status

Knowing the moderator is still around isn't helpful. The person who's relevant is the post author.

shu8 commented 8 years ago

@fixer1234

  1. I see why this happens, will fix in v2.0.1b
  2. whenever it doesn't work, can you go on the console with net enabled, and then click on any links that have 'Bad Request' written after them that start with 'http(s)://api.stackexchange.com/*', and paste what comes up on that page?
  3. yeah, this is a bug, which I'll fix ASAP
fixer1234 commented 8 years ago

@shu8 1st linked problem thread - problem repeated : only spotted 1 Bad Request

https://api.stackexchange.com/2.2/questions:  {"error_id":400,"error_message":"site is required","error_name":"bad_parameter"}

2nd linked problem thread - problem repeated: only spotted 1 Bad Request: same link as above

The thread from which I posted the console output in the earlier comment is still failing with v2.0.1a. Several Bad Requests. One was the same as above. Also:

https://api.stackexchange.com/users/535106;633292: {"error_id":400,"error_message":"site is required","error_name":"bad_parameter"}

I'm assuming you were referring to the the issue of no status being reported rather than the wrong person being reported? If you want examples of that, I'll have to hunt some down again.

shu8 commented 8 years ago

@fixer1234 Thanks, I think I know the problem now :) will get back to you ASAP

shu8 commented 8 years ago

@fixer1234 hopefully this should work in v2.0.1b, or at least the editor shouldn't be displayed and it should be displayed no matter if comments exist or not. can you confirm?

fixer1234 commented 8 years ago

@shu8 I loaded v2.0.1b and the feature didn't work at all. Just noticed that the feature is in color on the SOX menu, with hover text that there was an error loading the feature and to raise the issue here.


(1 hr later) OK, another strange one. Went to the Meta site, and it was appearing there on a few random posts checked. Returned to the main site and it appearing there, too, on some random posts. Also, appears without needing comment thread. However, I checked the links listed previously that didn't work, and those still don't work.

On a positive note, it looks like it's pulling the author now rather than the last editor.

Console output on one that didn't show:

bg on Updatedbg.js:333:2
Object { status: "loading" }bg.js:334:2
content script runtime.onMessage:  tabupdatecontent_script.js:91:2
GET 
http://superuser.com/questions/516854/outlook-2013-refuses-to-start-due-to-unavailable-microsoft-exchange-server [HTTP/1.1 200 OK 79ms]
bg on Updatedbg.js:333:2
Object { status: "loading", url: "http://superuser.com/questions/5168…" }bg.js:334:2
GET 
http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js [HTTP/1.1 304 Not Modified 46ms]
GET 
http://cdn.sstatic.net/Js/stub.en.js [HTTP/1.1 304 Not Modified 14ms]
GET 
http://cdn.sstatic.net/Sites/superuser/all.css [HTTP/1.1 304 Not Modified 17ms]
Warning: NetUtil.asyncFetch() requires the channel to have one of the security flags set in the loadinfo (see nsILoadInfo). Please create channel using NetUtil.newChannel()
GET 
https://i.stack.imgur.com/DPd3M.jpg [HTTP/1.1 304 Not Modified 24ms]
GET 
https://www.gravatar.com/avatar/c4ac7e79f0ae33bf91474c85dd37bca4 [HTTP/1.1 304 Not Modified 12ms]
GET 
http://static.adzerk.net/ados.js [HTTP/1.1 304 Not Modified 39ms]
GET 
https://www.google-analytics.com/analytics.js [HTTP/2.0 304 Not Modified 21ms]
GET 
http://edge.quantserve.com/quant.js [HTTP/1.1 304 Not Modified 31ms]
GET 
http://b.scorecardresearch.com/beacon.js [HTTP/1.1 200 OK 21ms]
bg runtime Object { action: "check_shortcuts" }bg.js:75:5
bg runtime Object { id: 37, index: 10, windowId: 0, selected: true, highlighted: true, active: true, pinned: false, status: "loading", incognito: false, width: 1411, 6 more… }bg.js:76:5
sendRequest:  tab 37 Object { action: "update_shortcuts", msObj: "{"visible":{"enable":true,"key":"V"…" }bg.js:762:3
request end:  check_shortcutsbg.js:307:5
GET 
http://cdn.sstatic.net/img/share-sprite-new.svg [HTTP/1.1 304 Not Modified 15ms]
GET 
http://cdn.sstatic.net/Sites/superuser/img/sprites.svg [HTTP/1.1 304 Not Modified 15ms]
GET 
http://cdn.sstatic.net/img/favicons-sprite16.png [HTTP/1.1 304 Not Modified 13ms]
GET 
http://i.stack.imgur.com/1Vh9Q.jpg [HTTP/1.1 304 Not Modified 27ms]
GET 
http://i.stack.imgur.com/6dMQs.jpg [HTTP/1.1 304 Not Modified 45ms]
GET 
http://i.stack.imgur.com/AbyEi.jpg [HTTP/1.1 304 Not Modified 33ms]
GET 
https://www.gravatar.com/avatar/658b6155a02881dd7930ce98f9ea508f [HTTP/1.1 304 Not Modified 12ms]
GET 
https://www.gravatar.com/avatar/e3317df728ddbeef2900eb70e3665abc [HTTP/1.1 304 Not Modified 25ms]
GET 
https://www.gravatar.com/avatar/5ab96b06024fe14410bfbb8d6bbcc3e2 [HTTP/1.1 304 Not Modified 26ms]
GET 
https://www.gravatar.com/avatar/941a88d27c9f87c33b44be904ddc8c55 [HTTP/1.1 304 Not Modified 54ms]
GET 
https://www.gravatar.com/avatar/91957ce0de7c087de54bdfc409329be5 [HTTP/1.1 304 Not Modified 35ms]
content script runtime.onMessage:  update_shortcutscontent_script.js:91:2
XrayWrapper denied access to property "ready" (reason: value is callable). See https://developer.mozilla.org/en-US/docs/Xray_vision for more information. Note that only the first denied property access from a given global object will be reported.sox.common.js:18
GET 
http://b.scorecardresearch.com/b [HTTP/1.1 204 No Content 16ms]
GET 
http://cdn.sstatic.net/Js/full.en.js [HTTP/1.1 304 Not Modified 16ms]
GET 
http://cdn.sstatic.net/Js/inline-tag-editing.en.js [HTTP/1.1 304 Not Modified 18ms]
SOX:  initializing SOX dialogsox.common.js:63:17
GET 
https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css [HTTP/2.0 304 Not Modified 49ms]
SOX:  injecting features into dialogsox.common.js:63:17
observe: .inbox-dialogsox.common.js:70:13
observe: .commentsox.common.js:70:13
SOX Access Token: wf(MLeZcS61ToIOti1g59Q))sox.common.js:46:13
observe: #wmd-redo-button-516875sox.common.js:70:13
observe: #wmd-redo-button-516860sox.common.js:70:13
observe: #wmd-redo-button-557543sox.common.js:70:13
observe: #wmd-redo-button-667575sox.common.js:70:13
observe: #wmd-redo-button-576514sox.common.js:70:13
observe: #wmd-redo-button-516854sox.common.js:70:13
observe: #wmd-redo-buttonsox.common.js:70:13
observe: [id^="wmd-redo-button"]sox.common.js:70:13
observe: .image-upload formsox.common.js:70:13
SOX error: There was an error loading the feature "Unsorted-quickAuthorInfo". Please raise an issue on GitHub, and copy the following error log:
TypeError: $userDetails.find(...).last(...).attr(...) is undefinedsox.user.js:129:25
GET 
https://www.google-analytics.com/collect [HTTP/2.0 200 OK 22ms]
GET 
http://engine.adzerk.net/ados [HTTP/1.1 200 OK 71ms]
GET 
http://pixel.quantserve.com/pixel;r=606474597;a=p-c1rF4kxgLUzNc;fpan=0;fpa=P0-43830223-1458445567807;ns=0;ce=1;cm=;je=1;sr=1600x900x24;enc=n;dst=1;et=1472089582880;tzo=240;ref=;url=http%3A%2F%2Fsuperuser.com%2Fquestions%2F516854%2Foutlook-2013-refuses-to-start-due-to-unavailable-microsoft-exchange-server;ogl=type.website%2Cimage.http%3A%2F%2Fcdn%252Esstatic%252Enet%2FSites%2Fsuperuser%2Fimg%2Fapple-touch-icon%402%252Epng%3Fv%3De869e4459439%2Ctitle.Outlook%202013%20refuses%20to%20start%20due%20to%20unavailable%20Microsoft%20Exchange%20Server%2Cdescription.Cannot%20start%20Outlook%202013%252E%20It%20refuses%20to%20start%20due%20to%20unavailable%20Microsoft%20Exch%2Curl.http%3A%2F%2Fsuperuser%252Ecom%2Fquestions%2F516854%2Foutlook-2013-refuses-to-start-due-to-unava [HTTP/1.1 200 OK 34ms]
GET 
XHR 
https://api.stackexchange.com/2.2/questions [HTTP/1.1 200 OK 82ms]
GET 
https://rawgit.com/shu8/SE-Answers_scripts/master/dupeClosedMigratedCSS.css [HTTP/2.0 304 Not Modified 662ms]
GET 
XHR 
https://query.yahooapis.com/v1/public/yql [HTTP/1.1 200 OK 246ms]
GET 
XHR 
https://api.stackexchange.com/2.2/users/63329;166847;157519;202408;19943;268266;48078 [HTTP/1.1 200 OK 33ms]
GET 
XHR 
http://superuser.com/posts/516854/revisions [HTTP/1.1 200 OK 49ms]
GET 
XHR 
http://superuser.com/posts/667575/revisions [HTTP/1.1 200 OK 63ms]
"SOX editReasonTooltip URL: http://superuser.com/posts/516854/revisions"sox.features.js:883:21
Object { context: <div#question.question>, length: 1, 1 more… }sox.features.js:884:21
SOX editReasonTooltip text: added 129 characters in bodysox.features.js:885:21
"SOX editReasonTooltip URL: http://superuser.com/posts/667575/revisions"sox.features.js:883:21
Object { context: <div#answer-667575.answer>, length: 1, 1 more… }sox.features.js:884:21
SOX editReasonTooltip text: formattingsox.features.js:885:21
GET 
http://cdn.sstatic.net/Js/post-validation.en.js [HTTP/1.1 304 Not Modified 15ms]
GET 
http://cdn.sstatic.net/Js/external-editor.en.js [HTTP/1.1 304 Not Modified 15ms]
GET 
https://www.gravatar.com/avatar/e88cb2b3858ca0df735806f1a8476b23 [HTTP/1.1 304 Not Modified 12ms]
GET 
https://i.stack.imgur.com/OMFSg.png [HTTP/1.1 304 Not Modified 21ms]
GET 
https://www.gravatar.com/avatar/27f497f619785fb64129b9472c101a5a [HTTP/1.1 304 Not Modified 14ms]
GET 
https://i.stack.imgur.com/vBJkv.png [HTTP/1.1 304 Not Modified 20ms]
GET 
https://i.stack.imgur.com/3sHLe.png [HTTP/1.1 304 Not Modified 24ms]
GET 
https://www.gravatar.com/avatar/d0683e1bba122b890c46783bad51bdc0 [HTTP/1.1 304 Not Modified 17ms]
GET 
https://www.gravatar.com/avatar/082d6a8bed92991450502419bdf5d420 [HTTP/1.1 304 Not Modified 16ms]
GET 
https://i.stack.imgur.com/jt6hT.png [HTTP/1.1 304 Not Modified 17ms]
GET 
https://i.stack.imgur.com/qEvBM.jpg [HTTP/1.1 304 Not Modified 20ms]
GET 
XHR 
http://superuser.com/posts/516854/ivc/0af1 [HTTP/1.1 204 No Content 27ms]
GET 
http://static.adzerk.net/Extensions/adFeedback.js [HTTP/1.1 304 Not Modified 35ms]
GET 
http://static.adzerk.net/Extensions/adFeedback.css [HTTP/1.1 304 Not Modified 27ms]
GET 
http://engine.adzerk.net/i.gif [HTTP/1.1 200 OK 92ms]
no element found0af1:1:1
Use of getPreventDefault() is deprecated.  Use defaultPrevented instead.jquery.min.js:3:6598
GET 
http://static.adzerk.net/Advertisers/9ac90f1573054823a45bfca9f5aa5738.png [HTTP/1.1 304 Not Modified 18ms]
The object cannot be linked to the inspector without a toolbox
console-output.js:3266
GET 
https://qa.sockets.stackexchange.com/ [HTTP/1.1 101 Switching Protocols 58ms]
GET 
http://cdn.sstatic.net/Js/wmd.en.js [HTTP/1.1 304 Not Modified 14ms]
bg on Updatedbg.js:333:2
Object { status: "complete" }bg.js:334:2
bg on Updatedbg.js:333:2
Object { status: undefined }bg.js:334:2
bg runtime Object { action: "enable_selected" }bg.js:75:5
bg runtime Object { id: 37, index: 10, windowId: 0, selected: true, highlighted: true, active: true, pinned: false, status: "complete", incognito: false, width: 1411, 6 more… }bg.js:76:5
request end:  enable_selectedbg.js:307:5
fire: #wmd-redo-buttonsox.common.js:77:29
fire: [id^="wmd-redo-button"]sox.common.js:77:29
content script runtime.onMessage:  tabupdatecontent_script.js:91:2
GET 
http://cdn.sstatic.net/Sites/superuser/img/wmd-buttons.svg [HTTP/1.1 304 Not Modified 17ms]
bg on Updatedbg.js:333:2
Object { status: undefined }bg.js:334:2
content script runtime.onMessage:  tabupdatecontent_script.js:91:2
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help http://xhr.spec.whatwg.org/panel.js:3525:3
not well-formedmessages.json:1:1
Error: Could not establish connection. Receiving end does not exist.(unknown)

I didn't spot any Bad Requests

shu8 commented 8 years ago

@fixer1234 Can you try this again in v2.0.1f please?

fixer1234 commented 8 years ago

@shu8 I jumped right to v2.0.1f. It worked on a bunch of random selections, and displayed the right person. However, the two links I included in a previous comment that it didn't work on -- those still don't work. Strange. Something about specific questions that work differently. I'll go ahead and post console output for one of them.

bg on Updatedbg.js:333:2
Object { status: "loading" }bg.js:334:2
content script runtime.onMessage:  tabupdatecontent_script.js:91:2
GET 
http://superuser.com/questions/142617/netbeans-not-able-to-include-files [HTTP/1.1 200 OK 81ms]
bg on Updatedbg.js:333:2
Object { status: "loading", url: "http://superuser.com/questions/1426…" }bg.js:334:2
GET 
https://pagead2.googlesyndication.com/activeview [HTTP/2.0 200 OK 28ms]
GET 
http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js [HTTP/1.1 304 Not Modified 46ms]
GET 
http://cdn.sstatic.net/Js/stub.en.js [HTTP/1.1 304 Not Modified 29ms]
GET 
http://cdn.sstatic.net/Sites/superuser/all.css [HTTP/1.1 304 Not Modified 38ms]
Warning: NetUtil.asyncFetch() requires the channel to have one of the security flags set in the loadinfo (see nsILoadInfo). Please create channel using NetUtil.newChannel()
GET 
https://i.stack.imgur.com/DPd3M.jpg [HTTP/1.1 304 Not Modified 23ms]
GET 
http://i.stack.imgur.com/C3jDs.png [HTTP/1.1 304 Not Modified 72ms]
GET 
http://i.stack.imgur.com/rrVfm.png [HTTP/1.1 304 Not Modified 70ms]
GET 
http://i.stack.imgur.com/ofwTC.png [HTTP/1.1 304 Not Modified 69ms]
GET 
https://i.stack.imgur.com/rLaSo.jpg [HTTP/1.1 304 Not Modified 28ms]
GET 
https://www.gravatar.com/avatar/77d0f6949f176dfef1647d0404cfc4a6 [HTTP/1.1 304 Not Modified 18ms]
GET 
https://www.gravatar.com/avatar/a3cbe304bbde4cf021a9ff56275d1bf7 [HTTP/1.1 304 Not Modified 17ms]
GET 
https://www.gravatar.com/avatar/4320a2cff7bffc61d9d13ed9fb987946 [HTTP/1.1 304 Not Modified 20ms]
GET 
https://www.gravatar.com/avatar/1762e26a09e694ada6998c6045150f72 [HTTP/1.1 304 Not Modified 26ms]
GET 
https://www.gravatar.com/avatar/c4ac7e79f0ae33bf91474c85dd37bca4 [HTTP/1.1 304 Not Modified 19ms]
GET 
https://www.gravatar.com/avatar/058daa98c49b7c2f58e9ee661433e600 [HTTP/1.1 304 Not Modified 18ms]
GET 
https://www.gravatar.com/avatar/3f3df95fbff015d5c1621bfd966277c1 [HTTP/1.1 304 Not Modified 20ms]
GET 
https://www.gravatar.com/avatar/85d75b1b43c490290a47a2111b9d8f9f [HTTP/1.1 304 Not Modified 18ms]
GET 
https://www.gravatar.com/avatar/c78b0df70c864f3341fe6a17c859482c [HTTP/1.1 304 Not Modified 18ms]
GET 
http://static.adzerk.net/ados.js [HTTP/1.1 304 Not Modified 33ms]
GET 
https://www.google-analytics.com/analytics.js [HTTP/2.0 304 Not Modified 15ms]
GET 
http://edge.quantserve.com/quant.js [HTTP/1.1 304 Not Modified 32ms]
GET 
http://b.scorecardresearch.com/beacon.js [HTTP/1.1 200 OK 36ms]
bg runtime Object { action: "check_shortcuts" }bg.js:75:5
bg runtime Object { id: 35, index: 8, windowId: 0, selected: true, highlighted: true, active: true, pinned: false, status: "loading", incognito: false, width: 1427, 6 more… }bg.js:76:5
sendRequest:  tab 35 Object { action: "update_shortcuts", msObj: "{"visible":{"enable":true,"key":"V"…" }bg.js:762:3
request end:  check_shortcutsbg.js:307:5
GET 
http://cdn.sstatic.net/img/share-sprite-new.svg [HTTP/1.1 304 Not Modified 15ms]
GET 
http://cdn.sstatic.net/img/favicons-sprite16.png [HTTP/1.1 304 Not Modified 13ms]
content script runtime.onMessage:  update_shortcutscontent_script.js:91:2
XrayWrapper denied access to property "ready" (reason: value is callable). See https://developer.mozilla.org/en-US/docs/Xray_vision for more information. Note that only the first denied property access from a given global object will be reported.sox.common.js:18
GET 
http://cdn.sstatic.net/Sites/superuser/img/sprites.svg [HTTP/1.1 304 Not Modified 15ms]
GET 
http://b.scorecardresearch.com/b [HTTP/1.1 204 No Content 23ms]
GET 
http://cdn.sstatic.net/Js/full.en.js [HTTP/1.1 304 Not Modified 17ms]
GET 
http://cdn.sstatic.net/Js/inline-tag-editing.en.js [HTTP/1.1 304 Not Modified 20ms]
SOX:  initializing SOX dialogsox.common.js:63:17
GET 
https://www.google-analytics.com/collect [HTTP/2.0 200 OK 16ms]
GET 
http://engine.adzerk.net/ados [HTTP/1.1 200 OK 45ms]
GET 
http://pixel.quantserve.com/pixel;r=1472573292;a=p-c1rF4kxgLUzNc;fpan=0;fpa=P0-43830223-1458445567807;ns=0;ce=1;cm=;je=1;sr=1600x900x24;enc=n;dst=1;et=1472231917611;tzo=240;ref=;url=http%3A%2F%2Fsuperuser.com%2Fquestions%2F142617%2Fnetbeans-not-able-to-include-files;ogl=type.website%2Cimage.http%3A%2F%2Fcdn%252Esstatic%252Enet%2FSites%2Fsuperuser%2Fimg%2Fapple-touch-icon%402%252Epng%3Fv%3De869e4459439%2Ctitle.NetBeans%20not%20able%20to%20include%20files%2Cdescription.IDE%3A%20NetBeans%206%252E8%0AOS%3A%20Fedora%2012%0A%0A%0AI%20have%20been%20having%20this%20problem%20for%20a%20long%20tim%2Curl.http%3A%2F%2Fsuperuser%252Ecom%2Fquestions%2F142617%2Fnetbeans-not-able-to-include-files [HTTP/1.1 200 OK 40ms]
GET 
https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css [HTTP/2.0 304 Not Modified 16ms]
SOX:  injecting features into dialogsox.common.js:63:17
observe: .inbox-dialogsox.common.js:78:13
observe: .commentsox.common.js:78:13
SOX Access Token: SETsox.common.js:46:13
observe: #wmd-redo-button-142814sox.common.js:78:13
observe: #wmd-redo-button-222918sox.common.js:78:13
observe: #wmd-redo-button-698652sox.common.js:78:13
observe: #wmd-redo-button-639882sox.common.js:78:13
observe: #wmd-redo-button-586286sox.common.js:78:13
observe: #wmd-redo-button-146148sox.common.js:78:13
observe: #wmd-redo-button-186849sox.common.js:78:13
observe: #wmd-redo-button-142617sox.common.js:78:13
observe: #wmd-redo-buttonsox.common.js:78:13
observe: [id^="wmd-redo-button"]sox.common.js:78:13
observe: .image-upload formsox.common.js:78:13
SOX Access Token: SETsox.common.js:46:13
DOWNVOTE NOTIFICATION DEBUGGINGsox.features.js:1332:17
Array [  ]sox.features.js:1333:17
Last checked date: 0sox.features.js:1334:17
Current date: Fri Aug 26 2016 13:18:38 GMT-0400 (Eastern Standard Time)sox.features.js:1335:17
SOX error: There was an error loading the feature "Unsorted-quickAuthorInfo". Please raise an issue on GitHub, and copy the following error log:
TypeError: $userDetails.find(...).last(...).attr(...) is undefinedsox.user.js:129:25
GET 
XHR 
https://api.stackexchange.com/2.2/users/73637;8829;7951;59461;287906;19943;250645;138254;219007;68918;38282;201739;20088 [HTTP/1.1 200 OK 68ms]
GET 
https://rawgit.com/shu8/SE-Answers_scripts/master/dupeClosedMigratedCSS.css [HTTP/2.0 304 Not Modified 485ms]
GET 
http://static.adzerk.net/Extensions/adFeedback.js [HTTP/1.1 304 Not Modified 26ms]
GET 
http://static.adzerk.net/Extensions/adFeedback.css [HTTP/1.1 304 Not Modified 27ms]
GET 
XHR 
https://query.yahooapis.com/v1/public/yql [HTTP/1.1 200 OK 107ms]
GET 
XHR 
https://api.stackexchange.com/2.2/questions [HTTP/1.1 200 OK 31ms]
GET 
XHR 
http://superuser.com/posts/142617/revisions [HTTP/1.1 200 OK 67ms]
GET 
XHR 
http://superuser.com/posts/142814/revisions [HTTP/1.1 200 OK 82ms]
GET 
XHR 
http://superuser.com/posts/639882/revisions [HTTP/1.1 200 OK 101ms]
GET 
XHR 
http://superuser.com/posts/586286/revisions [HTTP/1.1 200 OK 85ms]
GET 
XHR 
http://superuser.com/posts/146148/revisions [HTTP/1.1 200 OK 121ms]
"SOX editReasonTooltip URL: http://superuser.com/posts/142617/revisions"sox.features.js:887:21
Object { context: <div#question.question>, length: 1, 1 more… }sox.features.js:888:21
SOX editReasonTooltip text: reupload imagessox.features.js:889:21
"SOX editReasonTooltip URL: http://superuser.com/posts/142814/revisions"sox.features.js:887:21
Object { context: <div#answer-142814.answer.accepted-answer>, length: 1, 1 more… }sox.features.js:888:21
SOX editReasonTooltip text: added 186 characters in bodysox.features.js:889:21
"SOX editReasonTooltip URL: http://superuser.com/posts/586286/revisions"sox.features.js:887:21
Object { context: <div#answer-586286.answer>, length: 1, 1 more… }sox.features.js:888:21
SOX editReasonTooltip text: deleted 12 characters in bodysox.features.js:889:21
"SOX editReasonTooltip URL: http://superuser.com/posts/639882/revisions"sox.features.js:887:21
Object { context: <div#answer-639882.answer>, length: 1, 1 more… }sox.features.js:888:21
SOX editReasonTooltip text: removing HTH signoffsox.features.js:889:21
"SOX editReasonTooltip URL: http://superuser.com/posts/146148/revisions"sox.features.js:887:21
Object { context: <div#answer-146148.answer>, length: 1, 1 more… }sox.features.js:888:21
SOX editReasonTooltip text: added 33 characters in bodysox.features.js:889:21
GET 
http://engine.adzerk.net/i.gif [HTTP/1.1 200 OK 35ms]
GET 
http://imgur.com/ZsXb5.png [HTTP/1.1 302 Moved Temporarily 40ms]
GET 
http://imgur.com/WjwYq.png [HTTP/1.1 302 Moved Temporarily 40ms]
GET 
http://imgur.com/nwsGI.png [HTTP/1.1 302 Moved Temporarily 68ms]
GET 
https://www.gravatar.com/avatar/d3b75bb3bda58d5d4a7d31b820f856c9 [HTTP/1.1 304 Not Modified 16ms]
The object cannot be linked to the inspector without a toolbox
console-output.js:3266
GET 
http://i.imgur.com/ZsXb5.png [HTTP/1.1 304 Not Modified 28ms]
GET 
http://i.imgur.com/WjwYq.png [HTTP/1.1 304 Not Modified 29ms]
GET 
http://i.imgur.com/nwsGI.png [HTTP/1.1 304 Not Modified 73ms]
Use of getPreventDefault() is deprecated.  Use defaultPrevented instead.jquery.min.js:3:6598
GET 
http://cdn.sstatic.net/Js/post-validation.en.js [HTTP/1.1 304 Not Modified 14ms]
GET 
http://cdn.sstatic.net/Js/external-editor.en.js [HTTP/1.1 304 Not Modified 17ms]
GET 
https://i.stack.imgur.com/Ohyu2.png [HTTP/1.1 304 Not Modified 26ms]
GET 
https://www.gravatar.com/avatar/27f497f619785fb64129b9472c101a5a [HTTP/1.1 304 Not Modified 18ms]
GET 
https://i.stack.imgur.com/jt6hT.png [HTTP/1.1 304 Not Modified 93ms]
GET 
https://www.gravatar.com/avatar/082d6a8bed92991450502419bdf5d420 [HTTP/1.1 304 Not Modified 16ms]
GET 
https://www.gravatar.com/avatar/3e53e57f97ff1a63f41e421818d4836b [HTTP/1.1 304 Not Modified 18ms]
GET 
https://www.gravatar.com/avatar/e88cb2b3858ca0df735806f1a8476b23 [HTTP/1.1 304 Not Modified 19ms]
GET 
https://www.gravatar.com/avatar/ec198cb6fc38d98bb88dd390e0bed8e3 [HTTP/1.1 304 Not Modified 19ms]
GET 
https://i.stack.imgur.com/qEvBM.jpg [HTTP/1.1 304 Not Modified 41ms]
GET 
XHR 
http://superuser.com/posts/142617/ivc/ad17 [HTTP/1.1 204 No Content 28ms]
no element foundad17:1:1
GET 
https://qa.sockets.stackexchange.com/ [HTTP/1.1 101 Switching Protocols 66ms]
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help http://xhr.spec.whatwg.org/panel.js:3525:3
GET 
http://cdn.sstatic.net/Js/wmd.en.js [HTTP/1.1 304 Not Modified 17ms]
not well-formedmessages.json:1:1
bg on Updatedbg.js:333:2
Object { status: "complete" }bg.js:334:2
bg runtime Object { action: "enable_selected" }bg.js:75:5
bg runtime Object { id: 35, index: 8, windowId: 0, selected: true, highlighted: true, active: true, pinned: false, status: "complete", incognito: false, width: 1427, 6 more… }bg.js:76:5
request end:  enable_selectedbg.js:307:5
fire: #wmd-redo-buttonsox.common.js:85:29
fire: [id^="wmd-redo-button"]sox.common.js:85:29
content script runtime.onMessage:  tabupdatecontent_script.js:91:2
GET 
http://cdn.sstatic.net/Sites/superuser/img/wmd-buttons.svg [HTTP/1.1 200 OK 35ms]
Error: Could not establish connection. Receiving end does not exist.(unknown)

I didn't spot and Bad Requests.

shu8 commented 8 years ago

@fixer1234 If it's only not working on those 2 questions, or previously tested questions, it must be some sort of cache... try resetting cache/using private mode and using v2.0.1g

fixer1234 commented 8 years ago

@shu8 Cleared cache, installed v2.0.1g. The feature isn't displaying author status on any post. I'll recheck in awhile since this is one of the features that has to get in the right mood before it works.

bg on Updatedbg.js:333:2
Object { status: "loading" }bg.js:334:2
content script runtime.onMessage:  tabupdatecontent_script.js:91:2
GET 
http://superuser.com/questions/1118073/can-install-msata-or-m2-ssd-in-wi-fi-or-dvd-ports [HTTP/1.1 200 OK 84ms]
bg on Updatedbg.js:333:2
Object { status: "loading", url: "http://superuser.com/questions/1118…" }bg.js:334:2
GET 
http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js [HTTP/1.1 304 Not Modified 30ms]
GET 
http://cdn.sstatic.net/Js/stub.en.js [HTTP/1.1 304 Not Modified 20ms]
GET 
http://cdn.sstatic.net/Sites/superuser/all.css [HTTP/1.1 304 Not Modified 22ms]
Warning: NetUtil.asyncFetch() requires the channel to have one of the security flags set in the loadinfo (see nsILoadInfo). Please create channel using NetUtil.newChannel()
GET 
https://i.stack.imgur.com/DPd3M.jpg [HTTP/1.1 304 Not Modified 20ms]
GET 
https://www.gravatar.com/avatar/85967a18e779086e3d5c519b96092eb6 [HTTP/1.1 304 Not Modified 14ms]
GET 
http://static.adzerk.net/ados.js [HTTP/1.1 304 Not Modified 42ms]
GET 
https://www.google-analytics.com/analytics.js [HTTP/2.0 304 Not Modified 16ms]
GET 
http://edge.quantserve.com/quant.js [HTTP/1.1 304 Not Modified 38ms]
GET 
http://b.scorecardresearch.com/beacon.js [HTTP/1.1 200 OK 26ms]
bg runtime Object { action: "check_shortcuts" }bg.js:75:5
bg runtime Object { id: 21, index: 2, windowId: 0, selected: true, highlighted: true, active: true, pinned: false, status: "loading", incognito: false, width: 1427, 6 more… }bg.js:76:5
sendRequest:  tab 21 Object { action: "update_shortcuts", msObj: "{"visible":{"enable":true,"key":"V"…" }bg.js:762:3
request end:  check_shortcutsbg.js:307:5
GET 
http://cdn.sstatic.net/img/share-sprite-new.svg [HTTP/1.1 304 Not Modified 128ms]
GET 
http://cdn.sstatic.net/img/favicons-sprite16.png [HTTP/1.1 304 Not Modified 190ms]
GET 
http://i.stack.imgur.com/hQkVd.jpg [HTTP/1.1 304 Not Modified 183ms]
GET 
https://lh4.googleusercontent.com/-ipnvxwXyrdQ/AAAAAAAAAAI/AAAAAAAAAW8/ZlubQPKrJT8/photo.jpg [HTTP/2.0 304 Not Modified 16ms]
GET 
https://www.gravatar.com/avatar/dfa3a5d9bbb22874178c253cc85b2e86 [HTTP/1.1 304 Not Modified 15ms]
content script runtime.onMessage:  update_shortcutscontent_script.js:91:2
XrayWrapper denied access to property "ready" (reason: value is callable). See https://developer.mozilla.org/en-US/docs/Xray_vision for more information. Note that only the first denied property access from a given global object will be reported.sox.common.js:18
GET 
http://cdn.sstatic.net/Sites/superuser/img/sprites.svg [HTTP/1.1 304 Not Modified 48ms]
GET 
http://b.scorecardresearch.com/b [HTTP/1.1 204 No Content 16ms]
GET 
http://cdn.sstatic.net/Js/full.en.js [HTTP/1.1 304 Not Modified 21ms]
GET 
http://cdn.sstatic.net/Js/inline-tag-editing.en.js [HTTP/1.1 304 Not Modified 17ms]
SOX:  initializing SOX dialogsox.common.js:63:17
GET 
https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css [HTTP/2.0 304 Not Modified 64ms]
SOX:  injecting features into dialogsox.common.js:63:17
observe: .inbox-dialogsox.common.js:78:13
observe: .commentsox.common.js:78:13
SOX Access Token: SETsox.common.js:46:13
observe: #wmd-redo-button-1118074sox.common.js:78:13
observe: #wmd-redo-button-1118073sox.common.js:78:13
observe: #wmd-redo-buttonsox.common.js:78:13
observe: [id^="wmd-redo-button"]sox.common.js:78:13
observe: .image-upload formsox.common.js:78:13
SOX Access Token: SETsox.common.js:46:13
DOWNVOTE NOTIFICATION DEBUGGINGsox.features.js:1332:17
Array [  ]sox.features.js:1333:17
Last checked date: 0sox.features.js:1334:17
Current date: Fri Aug 26 2016 16:35:47 GMT-0400 (Eastern Standard Time)sox.features.js:1335:17
observe: .share-tipsox.common.js:78:13
GET 
https://www.google-analytics.com/collect [HTTP/2.0 200 OK 21ms]
GET 
http://engine.adzerk.net/ados [HTTP/1.1 200 OK 101ms]
GET 
http://pixel.quantserve.com/pixel;r=258409249;a=p-c1rF4kxgLUzNc;fpan=0;fpa=P0-43830223-1458445567807;ns=0;ce=1;cm=;je=1;sr=1600x900x24;enc=n;dst=1;et=1472243747248;tzo=240;ref=http%3A%2F%2Fsuperuser.com%2Fquestions;url=http%3A%2F%2Fsuperuser.com%2Fquestions%2F1118073%2Fcan-install-msata-or-m2-ssd-in-wi-fi-or-dvd-ports;ogl=type.website%2Cimage.http%3A%2F%2Fcdn%252Esstatic%252Enet%2FSites%2Fsuperuser%2Fimg%2Fapple-touch-icon%402%252Epng%3Fv%3De869e4459439%2Ctitle.Can%20Install%20mSata%20or%20M2%20SSD%20in%20Wi-FI%20or%20DVD%20ports%3F%2Cdescription.I%20have%20a%20standart%20loptop%252C%20I%20want%20to%20buy%20a%20mSata%252C%20but%20I%20dont%20know%20if%20my%20loptop%20su%2Curl.http%3A%2F%2Fsuperuser%252Ecom%2Fquestions%2F1118073%2Fcan-install-msata-or-m2-ssd-in-wi-fi-or-d [HTTP/1.1 200 OK 41ms]
GET 
https://rawgit.com/shu8/SE-Answers_scripts/master/dupeClosedMigratedCSS.css [HTTP/2.0 304 Not Modified 590ms]
GET 
XHR 
https://query.yahooapis.com/v1/public/yql [HTTP/1.1 200 OK 109ms]
GET 
XHR 
https://api.stackexchange.com/2.2/users/23133;634562;83283;581740 [HTTP/1.1 200 OK 31ms]
GET 
XHR 
https://api.stackexchange.com/2.2/questions [HTTP/1.1 400 Bad Request 33ms]
GET 
XHR 
http://superuser.com/posts/1118073/revisions [HTTP/1.1 200 OK 62ms]
GET 
XHR 
https://api.stackexchange.com/users/581740;634562 [HTTP/1.1 400 Bad Request 35ms]
"SOX editReasonTooltip URL: http://superuser.com/posts/1118073/revisions"sox.features.js:887:21
Object { context: <div#question.question>, length: 1, 1 more… }sox.features.js:888:21
SOX editReasonTooltip text: added 1 character in bodysox.features.js:889:21
GET 
http://cdn.sstatic.net/Js/post-validation.en.js [HTTP/1.1 304 Not Modified 17ms]
GET 
http://cdn.sstatic.net/Js/external-editor.en.js [HTTP/1.1 304 Not Modified 20ms]
GET 
XHR 
http://superuser.com/posts/1118073/ivc/cb15 [HTTP/1.1 204 No Content 30ms]
GET 
http://static.adzerk.net/Extensions/adFeedback.js [HTTP/1.1 304 Not Modified 20ms]
GET 
http://static.adzerk.net/Extensions/adFeedback.css [HTTP/1.1 304 Not Modified 73ms]
GET 
http://engine.adzerk.net/i.gif [HTTP/1.1 200 OK 77ms]
no element foundcb15:1:1
GET 
http://stackexchange.com/ads/launched-question/js [HTTP/1.1 200 OK 29ms]
The object cannot be linked to the inspector without a toolbox
console-output.js:3266
GET 
https://qa.sockets.stackexchange.com/ [HTTP/1.1 101 Switching Protocols 71ms]
GET 
http://cdn.sstatic.net/Js/wmd.en.js [HTTP/1.1 304 Not Modified 14ms]
GET 
http://sstatic.net/stackexchange/Img/launched-ads/worldbuilding.png [HTTP/1.1 200 OK 108ms]
fire: #wmd-redo-buttonsox.common.js:85:29
fire: [id^="wmd-redo-button"]sox.common.js:85:29
GET 
http://cdn.sstatic.net/Sites/superuser/img/wmd-buttons.svg [HTTP/1.1 304 Not Modified 15ms]
bg on Updatedbg.js:333:2
Object { status: "complete" }bg.js:334:2
bg on Updatedbg.js:333:2
Object { status: undefined }bg.js:334:2
bg runtime Object { action: "enable_selected" }bg.js:75:5
bg runtime Object { id: 21, index: 2, windowId: 0, selected: true, highlighted: true, active: true, pinned: false, status: "complete", incognito: false, width: 1427, 6 more… }bg.js:76:5
request end:  enable_selectedbg.js:307:5
Use of getPreventDefault() is deprecated.  Use defaultPrevented instead.jquery.min.js:3:6598
content script runtime.onMessage:  tabupdatecontent_script.js:91:2
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help http://xhr.spec.whatwg.org/panel.js:3525:3
not well-formedmessages.json:1:1
Error: Could not establish connection. Receiving end does not exist.(unknown)

Spotted several Bad Requests:

https://api.stackexchange.com/2.2/questions :  {"error_id":400,"error_message":"site is required","error_name":"bad_parameter"}

https://api.stackexchange.com/users/581740;634562 :  {"error_id":400,"error_message":"site is required","error_name":"bad_parameter"}
shu8 commented 8 years ago

@fixer1234 Can you dump the console with v2.0.1k as well please?

fixer1234 commented 8 years ago

@shu8 Tested v2.0.1k on #95, caused a throttle. I'll wait for instructions before testing other features.

shu8 commented 8 years ago

You're going to keep on getting throttled (SOX's fault, not yours). To make it eventually work, please disable SOX for at least 24 hours -- sorry, it's the only way as of now, because there's nothing currently in SOX to say "STOP SENDING REQUESTS IF THROTTLED", which I need to add... :/

On 31 August 2016 at 04:28, fixer1234 notifications@github.com wrote:

@shu8 https://github.com/shu8 Tested v2.0.1k on #95 https://github.com/soscripted/sox/issues/95, caused a throttle. I'll wait for instructions before testing other features.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/soscripted/sox/issues/73#issuecomment-243648370, or mute the thread https://github.com/notifications/unsubscribe-auth/AIcNjmuuOeGDNvtiW9lviQ4pUaZCvBa-ks5qlPTPgaJpZM4JDvYk .

mezmi commented 8 years ago

I still don't understand how or why you're being throttled, most requests are batched. If I am reading the documentation correctly you should be able to make 10,000 requests to the API per day.

If an application does have an access_token, then the application is on a distinct user/app pair daily quota (default size of 10,000).

There are a few possible reasons why you're getting throttled.

If a single IP is making more than 30 requests a second, new requests will be dropped.

...

A dynamic throttle is also in place on a per-method level. If an application receives a response with the backoff field set, it must wait that many seconds before hitting the same method again. For the purposes of throttling, all /me routes are considered to be identical to their /users/{ids} equivalent. Note that backoff is set based on a combination of factors, and may not be consistently returned for the same arguments to the same method. Additionally, all methods (even seemingly trivial ones) may return backoff.

So, we need to figure out WHAT is causing the throttling, inspect the responses for the backoff property and adjust accordingly.

You can read up on the throttling here.

shu8 commented 8 years ago

@fixer1234 Can you try with v1.0.2l now please? Hopefully you shouldn't be throttled anymore! :)

fixer1234 commented 8 years ago

@shu8 Loaded v2.0.1L and it looks like the magic smoke has returned. I just went directly to the posts listed earlier that didn't work. The feature works, displays the correct person, and displays regardless of comment content. I'll close this.