Skip to content

Runestone Issue: Sage interactive cell "Evaluate R" throws "Unprocessable Request" #1105

@iambethchance

Description

@iambethchance

Please check the current issues
--> I searched current issues for "unprocessable" but did not find any hits.

What Page were you on
https://author.runestone.academy/ns/books/published/calpoly_iscam_winter25/investigation1-2.html

Platforms
Initially we thought this was an iOS / Safari issue, but later we found that we get this error on iOS/Safari, and on Windows 11 / Chrome.

Describe the bug
To replicate:

  1. Scroll down to "Technology Detour – Calculating Binomial Probabilities. 18. Calculate Binomial Probabilities with Technology. "
  2. Click on this link to expand content "Hint 1. Calculating Binomial Probabilities in R"
Image
  1. Scroll down to "Evaluate R" and click on this button.
Image

I get this error:

Image

A Screenshot is worth a thousand words
See above screenshots.

Javascript Errors
Here is what I see in console when this occurs:

Image

Here is the console:
tex-chtml.js:1 No version information available for component [tex]/newcommand
(anonymous) @ tex-chtml.js:1
Promise.then
c @ tex-chtml.js:1
t.load @ tex-chtml.js:1
(anonymous) @ tex-chtml.js:1
(anonymous) @ tex-chtml.js:1
(anonymous) @ tex-chtml.js:1
pretext_add_on.js?x=1:23 minivers 0
user_preferences.js:310 adding tab listener
tex-chtml.js:1 No version information available for component [pretext]/mathjaxknowl3.js
(anonymous) @ tex-chtml.js:1
Promise.then
c @ tex-chtml.js:1
t.load @ tex-chtml.js:1
(anonymous) @ tex-chtml.js:1
(anonymous) @ tex-chtml.js:1
(anonymous) @ tex-chtml.js:1
console.js:19 sagecell.makeSagecell called
console.js:19 sagecell.makeSagecell finished
investigation1-2.html:90 in ready function
ethicalads.min.js:1 No ad placements found.
warn @ ethicalads.min.js:1
w @ ethicalads.min.js:1
(anonymous) @ ethicalads.min.js:1
Promise.then
(anonymous) @ ethicalads.min.js:1
(anonymous) @ ethicalads.min.js:1
a @ ethicalads.min.js:1
(anonymous) @ ethicalads.min.js:1
(anonymous) @ ethicalads.min.js:1
bookfuncs.js:276 Timezone cookie matches, not sending timezone to server
bookfuncs.js:304 This page served by undefined
OneProp.htm?hideExtras=1:3731 Blocked autofocusing on a element in a cross-origin subframe.
bookfuncs.js:368 triggering runestone:pre-login-complete
webpack.index.js:208 Runestone pre-login complete
webpack.index.js:189 Loading Runestone component: shortanswer
webpack.index.js:189 Loading Runestone component: multiplechoice
webpack.index.js:189 Loading Runestone component: answer
webpack.index.js:189 Loading Runestone component: feedback
webpack.index.js:189 Loading Runestone component: dragndrop
webpack.index.js:189 Loading Runestone component: fillintheblank
fitb.js:742 Assertion failed: Error rendering Fill in the Blank Problem __I1.2b.6
Details: SyntaxError: Unexpected end of JSON input
(anonymous) @ fitb.js:742
each @ jquery.min.js:2
each @ jquery.min.js:2
(anonymous) @ fitb.js:731
dispatch @ jquery.min.js:2
y.handle @ jquery.min.js:2
(anonymous) @ webpack.index.js:202
Promise.then
m @ webpack.index.js:200
l @ jquery.min.js:2
c @ jquery.min.js:2
setTimeout
(anonymous) @ jquery.min.js:2
u @ jquery.min.js:2
fireWith @ jquery.min.js:2
fire @ jquery.min.js:2
u @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
_ @ jquery.min.js:2
fitb.js:742 Assertion failed: Error rendering Fill in the Blank Problem __tech-detour-binomial-1-2b
Details: SyntaxError: Unexpected end of JSON input
(anonymous) @ fitb.js:742
each @ jquery.min.js:2
each @ jquery.min.js:2
(anonymous) @ fitb.js:731
dispatch @ jquery.min.js:2
y.handle @ jquery.min.js:2
(anonymous) @ webpack.index.js:202
Promise.then
m @ webpack.index.js:200
l @ jquery.min.js:2
c @ jquery.min.js:2
setTimeout
(anonymous) @ jquery.min.js:2
u @ jquery.min.js:2
fireWith @ jquery.min.js:2
fire @ jquery.min.js:2
u @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
_ @ jquery.min.js:2
fitb.js:742 Assertion failed: Error rendering Fill in the Blank Problem __PP1.2bA.2
Details: SyntaxError: Unexpected end of JSON input
(anonymous) @ fitb.js:742
each @ jquery.min.js:2
each @ jquery.min.js:2
(anonymous) @ fitb.js:731
dispatch @ jquery.min.js:2
y.handle @ jquery.min.js:2
(anonymous) @ webpack.index.js:202
Promise.then
m @ webpack.index.js:200
l @ jquery.min.js:2
c @ jquery.min.js:2
setTimeout
(anonymous) @ jquery.min.js:2
u @ jquery.min.js:2
fireWith @ jquery.min.js:2
fire @ jquery.min.js:2
u @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
_ @ jquery.min.js:2
dragndrop.js:70 Populating DragNDrop with premises and responses
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for __I1.2b.1 undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for __I1.2b.2 undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for __I1.2b.5 undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for __I1.2b.7 undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for __I1.2b.13 undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for __I1.2b.15 undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for __I1.2b.16 undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for __PP1.2bA.1 undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for __PP1.2bA.3 undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for __PP1.2bA.4 undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for __PP1.2bB.1 undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for __PP1.2bB.2 undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for __PP1.2bB.3 undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for __PP1.2bB.4 undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for __PP1.2bB.5 undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for __I1.2b.2b undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for __I1.2b.3 undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for __I1.2b.9 undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for undefined
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for __I1.2b.4 undefined
main.js:1 {uYln4: 'g'}
runestonebase.js:387 Response from server: 200
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
pretext_add_on.js?x=1:199 adding video popouts
pretext_add_on.js?x=1:326 scrollWidth 23
pretext_add_on.js?x=1:540 Source file unavailable: editing not possible
pretext.js:44 setting up pretext
runestonebase.js:387 Response from server: 200
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:387 Response from server: 200
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:387 Response from server: 200
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:387 Response from server: 200
runestonebase.js:387 Response from server: 200
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:387 Response from server: 200
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:387 Response from server: 200
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:387 Response from server: 200
runestonebase.js:387 Response from server: 200
runestonebase.js:387 Response from server: 200
runestonebase.js:387 Response from server: 200
runestonebase.js:387 Response from server: 200
runestonebase.js:387 Response from server: 200
runestonebase.js:387 Response from server: 200
runestonebase.js:387 Response from server: 200
runestonebase.js:387 Response from server: 200
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
dragndrop.js:184 Replacing origElem with containerDiv
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:660 MathJax Ready -- dequeing a typesetting run for __I1.2b.4 undefined
runestonebase.js:387 Response from server: 200
runestonebase.js:387 Response from server: 200
runestonebase.js:387 Response from server: 200
runestonebase.js:387 Response from server: 200
runestonebase.js:387 Response from server: 200
runestonebase.js:387 Response from server: 200
runestonebase.js:387 Response from server: 200
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:391 Data from server: "no data" calling repopulateFromStorage
runestonebase.js:399 resolving checkServer with server data
runestonebase.js:136 Save logging event {"event":"knowl","act":"open","div_id":"tech-detour-binomial-1-2b-2-3","course_name":"calpoly_iscam_winter25","clientLoginStatus":true,"timezoneoffset":8}
runestonebase.js:136 Save logging event {"event":"sage","act":"run","div_id":null,"course_name":"calpoly_iscam_winter25","clientLoginStatus":true,"timezoneoffset":8}
kernel.js:107 Kernel: kernel_starting (null)
kernel.js:107 Kernel: kernel_created (d96697e9-1e90-4f72-91f6-7719e72c6f3c)
kernel.js:464 Starting WebSockets: wss://author.runestone.academyhttps://sagecell.sagemath.org/kernel/d96697e9-1e90-4f72-91f6-7719e72c6f3c
runestonebase.js:177 POST https://author.runestone.academy/ns/logger/bookevent 422 (Unprocessable Content)
postLogMessage @ runestonebase.js:177
logBookEvent @ runestonebase.js:132
(anonymous) @ pretext.js:33
runestonebase.js:182 [
{
"type": "string_type",
"loc": [
"body",
"div_id"
],
"msg": "Input should be a valid string",
"input": null
}
]
runestonebase.js:222 Error: Error: Unprocessable Request Detail: [object Object] Status Code: 422
kernel.js:107 Kernel: kernel_connected (d96697e9-1e90-4f72-91f6-7719e72c6f3c)
kernel.js:107 Kernel: kernel_ready (d96697e9-1e90-4f72-91f6-7719e72c6f3c)

What is your username
runestone username: bchance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions