You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
Is Code Not Running on Answers?
152 views (last 30 days)
Show older comments
Is code not running on Answers? Every time I hit the run button, the page hangs with the red square instead of the greeen triangle in the Run secition of the toolbar. Anyone else having the same problem?
28 Comments
John D'Errico
on 20 Nov 2024 at 2:37
They have been having problems for weeks. This is just the latest incarnation. But yes, the red square of code death has been seen on my computer too.
Rena Berman
on 20 Nov 2024 at 13:16
(Answers Dev) @Paul, I will report this internally and see if we have any updates on this. Thanks for reporting it.
John D'Errico
on 20 Nov 2024 at 13:16
I've been reverting to almost always running all code on my machine, then using copy/paste to insert results, like the old days. It works always, even though I don't get the pretty symbolic formatting.
Rena Berman
on 20 Nov 2024 at 13:34
(Answers dev) Hi, @Paul, @John D'Errico, @DGM, a fix was released late yesterday and you should be able to run code after clearing your browser cache.
Confirming the run capability:
a = 3
a = 3
b = 4
b = 4
a+b
ans = 7
Star Strider
on 20 Nov 2024 at 15:43
It’s not working for me either.
Cleared my Firefox browser cache and refreshed this page. (I only use Firefox for Answers.)
epi = exp(pi)
This doesn’t execute. (The red ‘Busy’ square appears in the top toolbar and never changes.)
.
Rena Berman
on 20 Nov 2024 at 16:06
(Answers dev) I'll report this...
epi = exp(pi)
epi = 23.1407
works for me
Rena Berman
on 20 Nov 2024 at 16:12
Edited: Rena Berman
on 20 Nov 2024 at 16:12
(Answers dev) @Star Strider can you confirm if you cleared the cache as suggested here https://support.mozilla.org/en-US/kb/how-clear-firefox-cache#w_clear-the-cache ? can you try running the code again?
Rena Berman
on 20 Nov 2024 at 16:17
(Answers dev) @Paul can you confirm if you cleared the edge cache as suggested here https://confluence.atlassian.com/bbkb/how-to-clear-browser-cache-for-chrome-edge-firefox-and-safari-1206562212.html and then try running code again?
John D'Errico
on 20 Nov 2024 at 16:53
Edited: John D'Errico
on 20 Nov 2024 at 16:54
A test just now shows it worked. The red square of code limbo is gone today!
x = exp(pi)
x = 23.1407
Star Strider
on 20 Nov 2024 at 16:55
@Rena Berman — I used exactly that Firefox page and proceedure.
epi = exp(pi)
epi = 23.1407
I just did it again to be sure, and I can now run that line of code here! (I couldn’t a couple minutes ago, though. Maybe it takes a bit of time?)
I have Edge open, however I don’t use it for anything related to MathWorks, and I can’t access that option in the link because it doesn’t exist in Edge for me. (I’m not logged in to Edge or Micro$oft on this machine.) It doeesn’t seem to be relevant to this problem, anyway.
SUCCESS! (At least for me ...)
.
Rena Berman
on 20 Nov 2024 at 17:07
(Answers dev) @Stephen23 can you refresh your page and try one more time? I'm wondering if there is something amiss with the first try after clearing one's browser cache but then the second one works.
Star Strider
on 20 Nov 2024 at 17:53
On a different note, can we have the symbolic results back?
They currently exist only when doing the symnbolic computations, and disappear after submitting a post.
.
Rena Berman
on 20 Nov 2024 at 18:32
(Answers dev) @Stephen23, a fix was released late yesterday so clearing the cache before then would not have helped. @Star Strider, we are working on the symbolic results.
Rena Berman
on 20 Nov 2024 at 19:36
(Answers dev) @Torsten, @Star Strider, I'm told it might take a week or so for the symbolic results part to be fixed.
Star Strider
on 20 Nov 2024 at 20:22
‘I'm told it might take a week or so for the symbolic results part to be fixed.’
Thank you for looking into that!
Just out of curiosity, is there a specific reason for all the recent problems? Is this all part of a general upgrade of some sort?
Rena Berman
on 20 Nov 2024 at 20:56
(Answers dev) @Star Strider, yes, there was an upper level navigation update for many parts of mw.com. Some Answers features broke with the updates.
Paul
on 20 Nov 2024 at 22:57
I did follow the intrusctions in that link. Just tried it again AND cleared out temporary internet files for Internet Explorer. Not sure if the latter mattered (don't know why it would, I don't use IE), but it's now working for me.
exp(pi)
ans = 23.1407
As the scope of this thread has expanded, I'll also note that:
The link at the top of the page for the most recent activity on a thread no longer works. As I type this, the top of this thread shows:
"Commented: Rena Berman (Staff) about 2 hours ago"
Clicking on the Commented link doesn't take me to your comment, in fact it doesn't take me anywhere.
Also, I've notice that the @doc functionality seems to be mangled as well. The "Search in Documentation" list is not displaying correctly. I might be able to post a screen cap if needed.
More generally, might it be useful to have a link on the Answers front page that lists current, known issues with Answers functionality, like the symbolic stuff not rendering and other things mentioned in this thread? And maybe that link would provide a means to report observed issues that are not currently listed. It could even be a link that could be "followed" so users can get up to date information as the developers add or remove things from the list when they've been fixed.
Walter Roberson
on 20 Nov 2024 at 23:05
I reported the @doc problem yesterday; they are working on the problem.
Walter Roberson
on 20 Nov 2024 at 23:14
I just created a Discussion about problems with MATLAB Answers. https://www.mathworks.com/matlabcentral/discussions/general/877440-known-problems-in-matlab-answers . (It is currently waiting moderation.)
John D'Errico
on 20 Nov 2024 at 23:37
Note that I had already created a discussion some weeks ago about the problems with Answers. No problem, as this just keeps the topic alive.
Walter Roberson
on 20 Nov 2024 at 23:51
Looks like John's discussion is at https://www.mathworks.com/matlabcentral/discussions/general/875491-answers-not-displaying-symbolic-results
Rena Berman
on 21 Nov 2024 at 13:22
(Answers dev) @Paul thanks for reporting the latest activity link issue. I'll investigate that. The latest activity links from the search page are working.
Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)