Error Running Local Development Server

10 views
Skip to first unread message

Dean Ang Gmail

unread,
Jul 2, 2025, 11:05:46 PMJul 2
to Numbas Users
Hi,

May I know what kind of error is this?
Numbas Error: Error parsing marking script: Invalid note definition: // Mastery diagnostic script // The student must answer every question correctly. // They start with a topic that has no dependencies. // After answering a question, if they get it correct, it's done forever. // If it's incorrect, the question is put on the end of that topic's "queue", // so they'll be asked it again later. // Once all the questions in the topic are answered correctly, the next topic // with no unmet dependencies is picked..

Christian Lawson-Perfect

unread,
Jul 3, 2025, 5:07:16 AMJul 3
to numbas...@googlegroups.com
Hi,
It says it's a parsing error. I don't know what more than that I can say! 
Where are you getting this error? Are you able to send me the compiled Numbas package that gives this error?

--
You received this message because you are subscribed to the Google Groups "Numbas Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to numbas-users...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/numbas-users/31e36991-c252-4ad6-a78e-2268211e483fn%40googlegroups.com.
Message has been deleted
Message has been deleted
Message has been deleted

Dean Ang Gmail

unread,
Jul 4, 2025, 10:45:28 AMJul 4
to Numbas Users

Dean Ang Gmail

unread,
Jul 8, 2025, 12:24:04 AMJul 8
to Numbas Users
It is a system error and not peculiar to one particular question . I was trying to migrate my server. 

Christian Lawson-Perfect

unread,
Jul 16, 2025, 5:46:02 AMJul 16
to numbas...@googlegroups.com
You seem to have two copies of most of the runtime scripts inside scripts.js. Something has gone wrong on your server!

The Numbas compiler collects together all the .js files it can find inside the `runtime` directory and the theme directory, which is `themes/default` if you use the default theme. If you're using a different theme, check that you don't have another copy of the Numbas compiler files inside it.

Can you run `git status` inside your Numbas compiler directory (should be /srv/numbas/compiler if you followed the installation instructions exactly), and tell me what it produces?




Reply all
Reply to author
Forward
0 new messages