You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I attempted to execute mystic/examples4/PP_surrogate_diam.py with mystic 0.4.0.
This caused a RecursionError to be thrown:
Traceback (most recent call last):
File "test_project/mystic_test.py", line 179, in <module>
diameter = UQ(RVstart, RVend, lower_bounds, upper_bounds)
File "test_project/mystic_test.py", line 115, in UQ
subdiameter, func_evals = optimize(cost, lb, ub) # XXX: no initial conditions
File "test_project/mystic_test.py", line 90, in optimize
solver.Solve(cost, termination=CRT(tol, tol), strategy=Best1Exp, \
File "test_project/venv/lib/python3.10/site-packages/mystic/differential_evolution.py", line 644, in Solve
super(DifferentialEvolutionSolver2, self).Solve(cost, termination,\
File "test_project/venv/lib/python3.10/site-packages/mystic/abstract_solver.py", line 1126, in Solve
self._Solve(cost, ExtraArgs, **settings)
File "test_project/venv/lib/python3.10/site-packages/mystic/abstract_solver.py", line 1069, in _Solve
stop = self.Step(**settings) #XXX: remove need to pass settings?
File "test_project/venv/lib/python3.10/site-packages/mystic/abstract_solver.py", line 1042, in Step
self._Step(**kwds) #FIXME: not all kwds are given in __doc__
File "test_project/venv/lib/python3.10/site-packages/mystic/differential_evolution.py", line 543, in _Step
trialEnergy = self._map(cost, self.trialSolution, **self._mapconfig)
File "test_project/venv/lib/python3.10/site-packages/pathos/parallel.py", line 226, in map
return list(self.imap(f, *args))
File "test_project/venv/lib/python3.10/site-packages/pathos/parallel.py", line 239, in imap
return (subproc() for subproc in list(builtins.map(submit, *args)))
File "test_project/venv/lib/python3.10/site-packages/pathos/parallel.py", line 235, in submit
return _pool.submit(f, argz, globals=globals())
File "test_project/venv/lib/python3.10/site-packages/ppft/_pp.py", line 474, in submit
sfunc = self.__dumpsfunc((func, ) + depfuncs, modules)
File "test_project/venv/lib/python3.10/site-packages/ppft/_pp.py", line 658, in __dumpsfunc
sources = [self.__get_source(func) for func in funcs]
File "test_project/venv/lib/python3.10/site-packages/ppft/_pp.py", line 658, in <listcomp>
sources = [self.__get_source(func) for func in funcs]
File "test_project/venv/lib/python3.10/site-packages/ppft/_pp.py", line 725, in __get_source
self.__sourcesHM[hashf] = importable(func)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
[...]
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 905, in _closuredsource
src = importable(fobj,alias=name)# wrong ref 'name'
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 962, in importable
src = _closuredsource(obj, alias=alias)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 902, in _closuredsource
src = getsource(fobj, alias) # DO NOT include dependencies
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 374, in getsource
lines, lnum = getsourcelines(object, enclosing=enclosing)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 345, in getsourcelines
code, n = getblocks(object, lstrip=lstrip, enclosing=enclosing, locate=True)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 271, in getblocks
lines, lnum = findsource(object)
File "test_project/venv/lib/python3.10/site-packages/dill/source.py", line 158, in findsource
sourcefile = getsourcefile(module)
File "/usr/lib/python3.10/inspect.py", line 817, in getsourcefile
filename = getfile(object)
File "/usr/lib/python3.10/inspect.py", line 775, in getfile
if ismodule(object):
File "/usr/lib/python3.10/inspect.py", line 189, in ismodule
return isinstance(object, types.ModuleType)
RecursionError: maximum recursion depth exceeded while calling a Python object
The text was updated successfully, but these errors were encountered:
I attempted to execute mystic/examples4/PP_surrogate_diam.py with mystic 0.4.0.
This caused a
RecursionError
to be thrown:The text was updated successfully, but these errors were encountered: