Open fbergmann opened 1 year ago
I have been experiencing the same issue. I am currently working on the implementation of a method that overrides this disabled logging such that the capture does not depend on config.LOG.
As I run your test script through the VS Code debugger, the error: TypeError: cannot pickle '_io.BufferedReader' object
is exposed. Interesting as this error never "makes it's way to the surface" to the user when executed from cli as normal. See a proposed WIP solution here: https://github.com/biosimulators/Biosimulators_utils/pull/134.
I'm having the problem in the COPASI biosimulators package, that the simulator hangs (on macOS) immediately as long as logging is enabled. I've narrowed this down to the capturer module being used by the utils package, unfortunately even the simple test file:
freezes the application immediately. Unfortunately with logging disabled, the application does not actually process the model. I've verified this with python 3.11 and python 3.9.