-
-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
follow-hint issue #1444
Comments
What exactly Jenkins webpage do you mean? Can you provide a link, please? https://www.jenkins.io/ seems to hint just fine. |
It's a company internal CI webpage. You wouldn't be able to access it... but I'm assuming it's not company-specific. |
Hmmm... Would yo be able to name the version that worked? Was it one of the pre-releases or 1.4/5? |
it was one of the pre-releases, it hadn't have prompt buffer yet. |
That's enough of a pointer, thanks! I'll check what changed from pre-prompt-buffer pre-releases then :) |
OK, it seems we haven't had much changes in element hints since before prompt buffer. Most recent changes influencing hints are:
The most plausible version is that the renderer gets overwhelmed with how much clickable/focusable elements there are (and there tend to be lots of these in JS-reliant code) and simply errors out. There are two ways to fix this:
|
Hi @aartaka, thanks for the investigation! |
I can confirm the issue on my company's Jenkins as well. So this is probably happening on other Web sites for others as well. I am using the Ubuntu 20 deb package, I'll probably try to build from master at some point. Just wanted to confirm the issue is not on @hajovonta end. Keep up the good work Atlas :). |
Hi, just a quick update: issue still present in 2.1.0-6-g5bdc58fe |
Thanks for the update :) |
@hajovonta, can you try building from master and trying hinting again? We've overhauled the hinting, so it should be much more stable now. |
Hi @aartaka , |
Nyxt version 2.1.1-215-g29e95a3b |
You can run |
here is the output of the session: 0712 17:08:03 /home λ nyxt -v Backtrace for: #<SB-THREAD:THREAD "Prompter source init thread" RUNNING {1006B73963}> unhandled condition in --disable-debugger mode, quitting |
Can you try again with bbfc156? I think that some parsing corner case could've been causing this crash. |
Unfortunately the issue is still there (the error output seems to be the same. I've tried it with Nyxt version 2.1.1-223-gd33257d4 (currently master) |
Still there with Nyxt version 2.1.1-365-gc61c17dd |
@aartaka
And I think the problem here is that this object actually does have a children subarray, but it starts with '[' like this: And this somehow ruins the parsing, as in the next step: then later receives this: My thought is that a new case might need to be added to the (let ((element (cond ... list for these pages. Do you need the source for the page, I can send it over? |
Children sub-array is parsed alright on all the other pages. There should be something else, some mangled markup.
Yes, that could help! |
I would like to send it as a html attachment, can I send it to your github email? |
Sure :) |
Hmmm... I cannot reproduce it with the HTML you provided 0_o Does this HTML file break Nyxt when you open it and try to hint it? Regarding the suspicious '[': the '[' is the standart JSON delimiter for array start. What looks wrong in the stacktrace is that it has I wish there were more websites this happens on, so that it's more testable :/ |
Neither can I... I'll try to make another one, it's possible that I messed this one up. |
Hi @aartaka, |
@hajovonta, I've tested your example and still cannot reproduce. However, I've looked at the stacktrace again and inferred that there was an incorrect type handling -- we were taking unparsed string for a parsed list, thus error about particulat characters not being list elements. 8f30ed0 should adress that. Can you test it? |
Yes, confirming the problem is now gone! Thanks for your efforts! |
I'm glad it works :D |
I'm having a problem using follow-hint on Jenkins webpage (heavy with JS): shows in minibuffer
Warning: Error on separate thread: The value "[{"type":"link","hint":"AB","href":"" ...
I'm not sure which sites have this problem, Jenkins does. Also, not sure what info would be needed (can reproduce easily)
Clicking on the links is ok.
The text was updated successfully, but these errors were encountered: