You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0b3ca74
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: v5-unity/js/opt-frontend-common.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -182,7 +182,7 @@ export abstract class AbstractBaseFrontend {
182
182
this.setFronendError(
183
183
["Server error! Your code might have an INFINITE LOOP or be running for too long.",
184
184
"The server may also be OVERLOADED. Or you're behind a FIREWALL that blocks access.",
185
-
"Try again later, or <a href=\"https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md\">read this page for more info</a>."]);
185
+
"Try again later. This site is provided for free with no available technical support."]);
186
186
}
187
187
this.doneExecutingCode();
188
188
});
@@ -204,7 +204,7 @@ export abstract class AbstractBaseFrontend {
(ignoreLog ? '' : '<p/>Here is a list of <a target="_blank" href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md">UNSUPPORTED FEATURES</a>'));
207
+
(ignoreLog ? '' : '<p/>Read this list of <a target="_blank" href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md">UNSUPPORTED FEATURES</a>'));
208
208
209
209
// log it to the server as well (unless ignoreLog is on)
210
210
if(!ignoreLog){
@@ -337,7 +337,7 @@ export abstract class AbstractBaseFrontend {
337
337
this.setFronendError(
338
338
["Unknown error: The server may be OVERLOADED right now; try again later.",
339
339
"Your code may also contain UNSUPPORTED FEATURES that this tool cannot handle.",
340
-
"Try again later, or <a href=\"https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md\">read this page for more info</a>. [#NullTrace]"]);
340
+
"Try again later. This site is provided for free with no available technical support. [#NullTrace]"]);
341
341
}
342
342
}else{
343
343
// fail-soft to prevent running off of the end of trace
Copy file name to clipboardExpand all lines: v5-unity/js/opt-live.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -253,7 +253,7 @@ export class OptLiveFrontend extends OptFrontendSharedSessions {
253
253
curEntry.event==='uncaught_exception'){
254
254
assert(curEntry.exception_msg);
255
255
if(curEntry.exception_msg=="Unknown error"){
256
-
$("#frontendErrorOutput").html('Unknown error: <a href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md">read this page for more info</a>');
256
+
$("#frontendErrorOutput").html('Unknown error: <a target="_blank" href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md">read this page for more info</a>');
Copy file name to clipboardExpand all lines: v5-unity/js/opt-shared-sessions.ts
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1155,6 +1155,12 @@ Get live help!
1155
1155
1156
1156
p.Self.update({name: newName});// change our own name
1157
1157
}
1158
+
1159
+
1160
+
if(!this.meCreatedThisSession()){
1161
+
// 2019-03-26: display a more prominent warning here:
1162
+
this.chatbotPostMsg('Thanks for helping! This service is NOT being actively maintained, so it may crash at any time. Please do not contact the site owner for technical support or feature requests.');
1163
+
}
1158
1164
});
1159
1165
1160
1166
// someone ELSE sent a chat
@@ -1714,8 +1720,7 @@ Get live help!
1714
1720
$("#requestHelpBtn").hide();
1715
1721
1716
1722
// 2019-03-26: display a more prominent warning here:
1717
-
this.chatbotPostMsg('This service is NOT being actively maintained anymore, so it may crash at any time. It is available as-is for free with no technical support. Do not contact the owner to make any requests for new features.');
1718
-
1723
+
this.chatbotPostMsg('This service is NOT being actively maintained, so it may crash at any time. It is available for free with no technical support. Please do not contact the site owner to make any feature requests.');
1719
1724
}else{
1720
1725
alert("ERROR in getting live help. This isn't working at the moment. Please try again later.");
@@ -728,7 +728,7 @@ export class ExecutionVisualizer {
728
728
// render error (if applicable):
729
729
if(myViz.curLineExceptionMsg){
730
730
if(myViz.curLineExceptionMsg==="Unknown error"){
731
-
myViz.navControls.showError('Unknown error: <a href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md">read this page for more info</a>');
731
+
myViz.navControls.showError('Unknown error: <a target="_blank" href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/unsupported-features.md">read this page for more info</a>');
0 commit comments