print message if locals() is called but no local_variable_table is available