How to reproduce:
- Run coreform_cubit.exe.
- Switch off “Enable Journaling” in settings/history. Save settings and exit.
- Prepare bootstrap Python “boot.py”: :
import sys
with open('main.py') as f:
code = compile(f.read(), 'main.py', 'exec')
exec(code)
- Create main.py:
import cubit
cubit.cmd('reset')
- From the Windows command line execute:
"C:\Program Files\Coreform Cubit 2024.3\bin\coreform_cubit.exe" boot.py
- Open settings/history. Option “Enable Journaling” will be switched on???
- File cubit01.jou will be created
- Additionally: Command from the main.py will not be journaled in Cubit console:
********** Now playing boot.py **********
Journaled Command: import sys
Journaled Command: with open('main.py') as f:
code = compile(f.read(), 'main.py', 'exec')
Journaled Command: exec(code)
Journaled Command:
Cubit>
May be, it is more serious issue.
P.S. At least in 2022.11 all was Ok. Journal file is not created, all cubit commands in console are journaled:
********** Now playing C:/Users/UshakovAY/PycharmProjects/GOMA/tst/boot.py **********
Changing directory to: C:/Users/UshakovAY/PycharmProjects/GOMA/tst
Cubit>
Cubit>
Cubit>
Cubit>
Finished Command: reset
Changing directory back to: C:\Users\UshakovAY\PycharmProjects\GOMA\tst
Cubit>
Cubit>