Commit 8c2c94ba69e4ecd9df4ff222c4fbbd50c80c6d3d

Authored by Miguel Barão
2 parents 6755e3de 2265a158
Exists in master and in 1 other branch dev

Merge branch 'master' into dev

Showing 2 changed files with 27 additions and 5 deletions   Show diff stats
.gitignore
1 1 # Specify filepatterns you want git to ignore.
2   -/aprendizations.egg-info/
3   -/aprendizations/__pycache__/
4   -/demo/students.db
5   -/node_modules/
6   -/.mypy_cache/
  2 +aprendizations.egg-info/
  3 +aprendizations/__pycache__/
  4 +aprendizations/.mypy_cache/
  5 +demo/students.db
  6 +node_modules/
  7 +.mypy_cache/
7 8 .DS_Store
8 9 demo/.DS_Store
9 10 demo/solar_system/.DS_Store
... ...
BUGS.md
1 1  
2 2 # BUGS
3 3  
  4 +
  5 +Traceback (most recent call last):
  6 + File "/home/mjsb/.local/lib/python3.7/site-packages/tornado/web.py", line 1697, in _execute
  7 + result = method(*self.path_args, **self.path_kwargs)
  8 + File "/home/mjsb/.local/lib/python3.7/site-packages/tornado/web.py", line 3174, in wrapper
  9 + return method(self, *args, **kwargs)
  10 + File "/usr/home/mjsb/Work/Projects/aprendizations/aprendizations/serve.py", line 213, in get
  11 + self.learn.start_course(uid, course)
  12 + File "/usr/home/mjsb/Work/Projects/aprendizations/aprendizations/learnapp.py", line 275, in start_course
  13 + student.start_course(course)
  14 + File "/usr/home/mjsb/Work/Projects/aprendizations/aprendizations/student.py", line 57, in start_course
  15 + self.topic_sequence = self.recommend_topic_sequence(topics)
  16 + File "/usr/home/mjsb/Work/Projects/aprendizations/aprendizations/student.py", line 216, in recommend_topic_sequence
  17 + ts.update(nx.ancestors(G, t))
  18 + File "/home/mjsb/.local/lib/python3.7/site-packages/networkx/algorithms/dag.py", line 92, in ancestors
  19 + raise nx.NetworkXError("The node %s is not in the graph." % source)
  20 +networkx.exception.NetworkXError: The node programming/languages/pseudo-tcg/functions-produtorio is not in the graph.
  21 +
  22 +
  23 +
  24 +- detectar se em courses.yaml falta declarar ficheiro. Por exemplo se houver goals que não estao em lado nenhum.
4 25 - se num topico, a ultima pergunta tem imagens, o servidor nao fornece as imagengs porque o current_topic passa a None antes de carregar no botao continuar. O caminho é prefix+None e dá erro.
5 26 - registar last_seen e remover os antigos de cada vez que houver um login.
6 27 - initdb da integrity error se no mesmo comando existirem alunos repetidos (p.ex em ficheiros csv diferentes ou entre csv e opcao -a)
... ...