math_check_online crashes
Closed, ResolvedPublic

Description

I found this error while rendering with the plugin math_check_online, wich didn't work. The other part of the renderer worked properly.

Traceback (most recent call last):

File "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap
  self.run()
File "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run
  self._target(*self._args, **self._kwargs)
File "/home/riccardo/texla/texla/Renderers/plugins/math_check_online.py", line 55, in start_pool
  pool = Pool(processes=int(configs["threads"]))

KeyError: 'threads'

davidev added a subscriber: davidev.Mar 6 2017, 3:00 PM

It's my fault. Now also the plugins get some configuration from configs.yaml. I have to update the README.
Add:

plugins_configs:
    math_check_online:
        domain : wikitolearn.org
        threads : 6

to the configs.yaml

This comment was removed by ScimmiaSpaziale.
This comment was removed by ScimmiaSpaziale.

It doesn't seem to work

What's the error?

Still the same error message

I had a typo in the config file. Please check that you have:

plugins: [MathCheck, spaces_check, math_check_online]
plugins_configs:
    math_check_online:
        domain: wikitolearn.org
        threads: 6
davidev claimed this task.May 18 2017, 7:39 AM
davidev closed this task as Resolved.May 18 2017, 7:59 AM