arXiv / arxiv-view-as-html

Repository for the view as html feature
15 stars 4 forks source link

ArXiv `Report Issue` does not work #158

Open JulianKnodt opened 5 months ago

JulianKnodt commented 5 months ago

Describe the bug When attempting to file a bug on ArXiv, currently it fails to send it to this github because of this error: image

To Reproduce Steps to reproduce the behavior:

  1. File a bug on ArXiv HTML
  2. Click send bug to github
  3. Should not have any response.

Expected behavior Should at least show there was an error, and fix the bug for sending bugs

Screenshots If applicable, add screenshots to help explain your problem. image

Desktop (please complete the following information):

Additional context It is a bit ironic that filing a bug didn't work for me

orionlee commented 4 months ago

I have encountered the same problem (with the same javascript error in developer console) with Google Chrome for Windows and Firefox for Windows.

chrisjcameron commented 4 months ago

Is it possible that JavaScript is blocked or disabled? I will do some examination on my end.

JulianKnodt commented 4 months ago

I definitely have javascript enabled and running otherwise the console wouldn't have any output

orionlee commented 4 months ago

I have ad blocker (uBlock origin) installed on my browsers. I did have it disabled (in case it blocks some of the required javascript files) and the results were the same.

chrisjcameron commented 4 months ago

I know that this does not impact every reader because dozens of issue reports have come in over the past few weeks. Would you be willing to test with an alternative browser with no add-ons/extensions installed?

orionlee commented 4 months ago

Okay. I think I identified the exact scenario where the javascript problem surfaced, and is not specific to browser/extensions.

Sequence of steps:

  1. Click Report Issue at the top bar, fill out the form and submit it. It does not work with the javascript problem.
  2. Click Report Issue at the lower right, submit the form. This time it works (spawning a new tab to github).
  3. Click Report Issue at the top bar, fill out the form and submit it. This time it works.

Another variation that also works: in step 2, click the Report Issue at the lower right, dismiss it right away, and click the Report Issue at the top bar to submit it. This time it works.

It is as if Report Issue at the lower right has done some required javascript setup while the report Issue at the top bar does not.

chrisjcameron commented 4 months ago

Thank you!

Logan1x commented 2 months ago

@orionlee Is this issue still happening or has it been fixed?

orionlee commented 1 month ago

The issue is still happening with no apparent change, e.g., https://arxiv.org/html/2408.03371v1