daltonserey / tst

Students assignments testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug on assign.

sormany opened this issue · comments

This error occurred when running the tst assign sormanysd@gmail.com
I was in the activity directory.

tst: fatal: server response
{
  "messages": [
    "Bad request",
    "Key path element must not be incomplete: [Group: ]",
    "BadRequestError"
  ],
  "error": 400
}

Reviewing the procedures, I check the config.json file. The line that identifies the discipline of the group is missing: "current_group": "prog1-20161"
I can not change under the risk of corrupting the file.

After changing the server to http://tst-online.appspot.com, the error still occurs.

tst: fatal: server response
{
  "messages": [
    "Oops, it seems you encountered an internal error!",
    "",
    "MissingUnitException",
    "Please contact developers."
  ],
  "error": 500
}

Question: How can I assign an activity without indicating the unit to which it belongs?