Crash with non-initialized database
If the user starts with a freshly created database, texts session
(or texts script -m workflow
) crashes with this error:
ValueError: Could not get next FW id! If you have not yet initialized the database, please do so by performing a database reset (e.g., lpad reset)
The above exception was the direct cause of the following exception:
...
RuntimeError: non-handled exception
Though the exception is not specific it can be handled based on the message.
Edited by Ivan Kondov