Traceback (most recent call last):


 "C:\Users\...\AppData\Local\JetBrains\Toolbox\apps\PyCharm-C\ch-0\203.5981.165\plugins\python-ce\helpers\pydev\pydevd.py", line 1477, in _exec

pydev_imports.execfile(file, globals, locals)
# execute the script


 "C:\Users\...\AppData\Local\JetBrains\Toolbox\apps\PyCharm-C\ch-0\203.5981.165\plugins\python-ce\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile

exec(compile(contents+"\n", file, 'exec'), glob, loc)


 "D:/PycharmProjects/PyNPM/scr_sym.py", line 48, in <module>

minimize(deviation_from_target,


 "C:\Users\...\Anaconda3\envs\py39\lib\site-packages\scipy\optimize\_minimize.py", line 625, in minimize

return _minimize_slsqp(fun, x0, args, jac, bounds,


 "C:\Users\...\Anaconda3\envs\py39\lib\site-packages\scipy\optimize\slsqp.py", line 426, in _minimize_slsqp

g = append(sf.grad(x), 0.0)


 "C:\Users\...\Anaconda3\envs\py39\lib\site-packages\scipy\optimize\_differentiable_functions.py", line 188, in grad

self._update_grad()


 "C:\Users\...\Anaconda3\envs\py39\lib\site-packages\scipy\optimize\_differentiable_functions.py", line 171, in _update_grad

self._update_grad_impl()


 "C:\Users\...\Anaconda3\envs\py39\lib\site-packages\scipy\optimize\_differentiable_functions.py", line 91, in update_grad

self.g = approx_derivative(fun_wrapped, self.x, f0=self.f,


 "C:\Users\...\Anaconda3\envs\py39\lib\site-packages\scipy\optimize\_numdiff.py", line 391, in approx_derivative

raise ValueError("`x0` violates bound constraints.")
ValueError: `x0` violates bound constraints.

Traceback (most recent call last):


 "site-packages/calibre/utils/formatter.py", line 377, in safe_format


 "site-packages/calibre/utils/formatter.py", line 342, in evaluate


 "site-packages/calibre/utils/formatter.py", line 266, in _eval_program


 "site-packages/calibre/utils/formatter.py", line 108, in program


 "site-packages/calibre/utils/formatter.py", line 115, in statement


 "site-packages/calibre/utils/formatter.py", line 159, in expr


 "site-packages/calibre/utils/formatter.py", line 115, in statement


 "site-packages/calibre/utils/formatter.py", line 159, in expr


 "site-packages/calibre/utils/formatter.py", line 115, in statement


 "site-packages/calibre/utils/formatter.py", line 159, in expr


 "site-packages/calibre/utils/formatter.py", line 115, in statement


 "site-packages/calibre/utils/formatter.py", line 171, in expr


 "site-packages/calibre/utils/formatter_functions.py", line 134, in eval_


 "site-packages/calibre/utils/formatter_functions.py", line 361, in evaluate


 "site-packages/calibre/ebooks/metadata/book/formatter.py", line 31, in get_value
ValueError: Value: unknown field #kobo
