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
After a while and some updating on my local Windows machine (of R, Python, their libraries, including liesel), the rliesel::liesel() function is not called successfully in two scripts where it used to work fine previously. I don't know yet whether this a weird local issue in my environment / a coding error, or indeed some general incompatability of software versions. I'd be interested in whether you can reproduce the problem.
The messages, warnings and error I get from the last chunk are:
Installed Liesel version 0.2.9 is compatible, continuing to set up model
liesel.model.nodes - WARNING - Calc(name="") was not updated during initialization, because the following exception occured: RuntimeError('Error while updating Calc(name="").'). See debug log for the full traceback.
liesel.model.nodes - WARNING - Calc(name="") was not updated during initialization, because the following exception occured: RuntimeError('Error while updating Calc(name="").'). See debug log for the full traceback.
liesel.model.nodes - WARNING - Calc(name="_model_log_lik") was not updated during initialization, because the following exception occured: RuntimeError('Error while updating Calc(name="_model_log_lik").'). See debug log for the full traceback.
liesel.model.nodes - WARNING - Calc(name="_model_log_prior") was not updated during initialization, because the following exception occured: RuntimeError('Error while updating Calc(name="_model_log_prior").'). See debug log for the full traceback.
liesel.model.nodes - WARNING - Calc(name="_model_log_prob") was not updated during initialization, because the following exception occured: RuntimeError('Error while updating Calc(name="_model_log_prob").'). See debug log for the full traceback.
Error in py_call_impl(callable, call_args$unnamed, call_args$named) :
RuntimeError: Error while updating Calc(name="scale_value").
And the traceback is:
── Python Exception Message ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Traceback (most recent call last):
File "C:\Users\stefa\AppData\Local\Programs\Python\Python312\Lib\site-packages\liesel\model\nodes.py", line 705, in update
self._value = self.function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\stefa\AppData\Local\Programs\Python\Python312\Lib\site-packages\liesel\model\legacy.py", line 102, in fn
return bijector().forward(x) if not inverse else bijector().inverse(x)
^^^^^^^^^^
TypeError: 'NoneType' object is not callable
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\stefa\AppData\Local\Programs\Python\Python312\Lib\site-packages\liesel\model\model.py", line 454, in build_model
model = Model(nodes_and_vars, grow=False, copy=copy)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\stefa\AppData\Local\Programs\Python\Python312\Lib\site-packages\liesel\model\model.py", line 1032, in init
node.update()
File "C:\Users\stefa\AppData\Local\Programs\Python\Python312\Lib\site-packages\liesel\model\nodes.py", line 707, in update
raise RuntimeError(f"Error while updating {self}.") from e
RuntimeError: Error while updating Calc(name="scale_value").
── R Traceback ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 1. └─rliesel::liesel(...) 2. └─mb$build_model() 3. └─reticulate:::py_call_impl(callable, call_args$unnamed, call_args$named)
The text was updated successfully, but these errors were encountered:
Thank you for your bug report, @stefgehrig, and sorry for the delay! The problem was caused by a reticulate update and should now be fixed. Could you confirm that things are working again for you with the latest commit from main?
After a while and some updating on my local Windows machine (of R, Python, their libraries, including liesel), the
rliesel::liesel()
function is not called successfully in two scripts where it used to work fine previously. I don't know yet whether this a weird local issue in my environment / a coding error, or indeed some general incompatability of software versions. I'd be interested in whether you can reproduce the problem.This is the code that fails since recently:
This is my config:
The messages, warnings and error I get from the last chunk are:
And the traceback is:
The text was updated successfully, but these errors were encountered: