Error while executing reaction system

NameError Traceback (most recent call last)
in
72 # Create progress bar
73 progress = Progress(‘Time-stepping’)
—> 74 set_log_level(PROGRESS)
75
76 # Time-stepping

NameError: name ‘PROGRESS’ is not defined
I have that error while running reaction system. Can anyone please help? Thanks in advance.

set_log_level(LogLevel.PROGRESS)
should do it. Next time, please follow the guidelines in Read before posting: How do I get my question answered?

1 Like

AttributeError Traceback (most recent call last)
in
97
98 # Update progress bar
—> 99 progress.update(t / T)
100
101 # Hold plot

AttributeError: ‘dolfin.cpp.log.Progress’ object has no attribute ‘update’

Again, please read the post about how to ask a question. I need a minimal code example reproducing your error.