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 trying to run my algorithm in multiple iteration and after approximately 155 iterations the following error message is received:
Traceback (most recent call last): File "/Users/mapet/PycharmProjects/omni-channel-mip/test_lead_time_penalty/main_run_payloads.py", line 107, in <module> result = omni_channel_model.solve(time_limit=config_dict['solver_time_limit_seconds']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/mapet/PycharmProjects/omni-channel-mip/omni_channel_mip/oc_mip_model.py", line 52, in solve super().solve(time_limit=time_limit, **kwargs) File "/Users/mapet/Library/Caches/pypoetry/virtualenvs/omni-channel-mip-CIBSmqiu-py3.11/lib/python3.11/site-packages/generic_mip/abstract_mip.py", line 100, in solve with self._logger.redirect(log_level=LogLevel.INFO): File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/Users/mapet/Library/Caches/pypoetry/virtualenvs/omni-channel-mip-CIBSmqiu-py3.11/lib/python3.11/site-packages/adapta/logs/_internal_logger.py", line 323, in _redirect tmp_symlink_out, tmp_symlink_err = self._activate_redirect(libc, tmp_file_out, tmp_file_err) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/mapet/Library/Caches/pypoetry/virtualenvs/omni-channel-mip-CIBSmqiu-py3.11/lib/python3.11/site-packages/adapta/logs/_internal_logger.py", line 244, in _activate_redirect os.chmod(tmp_symlink_stderr, 420) FileNotFoundError: [Errno 2] No such file or directory: b'/var/folders/zs/4gh0wr6s6vq0217l6v_pjz280000gp/T/e2e29796-c547-416a-87b7-24f72e2cb617-err'
I have instantiated the logger like this: logger = SemanticLogger().add_log_source( log_source_name=f"MyModel_{request_id}", min_log_level=LogLevel.ERROR, log_handlers=[StreamHandler(sys.stdout)], is_default=True )
The text was updated successfully, but these errors were encountered:
I trying to run my algorithm in multiple iteration and after approximately 155 iterations the following error message is received:
Traceback (most recent call last): File "/Users/mapet/PycharmProjects/omni-channel-mip/test_lead_time_penalty/main_run_payloads.py", line 107, in <module> result = omni_channel_model.solve(time_limit=config_dict['solver_time_limit_seconds']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/mapet/PycharmProjects/omni-channel-mip/omni_channel_mip/oc_mip_model.py", line 52, in solve super().solve(time_limit=time_limit, **kwargs) File "/Users/mapet/Library/Caches/pypoetry/virtualenvs/omni-channel-mip-CIBSmqiu-py3.11/lib/python3.11/site-packages/generic_mip/abstract_mip.py", line 100, in solve with self._logger.redirect(log_level=LogLevel.INFO): File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/Users/mapet/Library/Caches/pypoetry/virtualenvs/omni-channel-mip-CIBSmqiu-py3.11/lib/python3.11/site-packages/adapta/logs/_internal_logger.py", line 323, in _redirect tmp_symlink_out, tmp_symlink_err = self._activate_redirect(libc, tmp_file_out, tmp_file_err) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/mapet/Library/Caches/pypoetry/virtualenvs/omni-channel-mip-CIBSmqiu-py3.11/lib/python3.11/site-packages/adapta/logs/_internal_logger.py", line 244, in _activate_redirect os.chmod(tmp_symlink_stderr, 420) FileNotFoundError: [Errno 2] No such file or directory: b'/var/folders/zs/4gh0wr6s6vq0217l6v_pjz280000gp/T/e2e29796-c547-416a-87b7-24f72e2cb617-err'
I have instantiated the logger like this:
logger = SemanticLogger().add_log_source( log_source_name=f"MyModel_{request_id}", min_log_level=LogLevel.ERROR, log_handlers=[StreamHandler(sys.stdout)], is_default=True )
The text was updated successfully, but these errors were encountered: