Error while creating child table

Hi.
I created a new doctype as a child table but I can’t save when I have values inside.
It’s returning me this error :
Traceback (most recent call last):
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/desk/form/save.py”, line 19, in savedocs
doc.submit()
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/model/document.py”, line 741, in submit
self._submit()
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/model/document.py”, line 730, in _submit
self.save()
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/model/document.py”, line 230, in save
return self._save(*args, **kwargs)
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/model/document.py”, line 279, in _save
self.update_children()
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/model/document.py”, line 297, in update_children
self.update_child_table(df.fieldname, df)
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/model/document.py”, line 306, in update_child_table
d.db_update()
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/model/base_document.py”, line 325, in db_update
self.db_insert()
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/model/base_document.py”, line 299, in db_insert
), d.values())
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/database.py”, line 142, in sql
self._cursor.execute(query, values)
File “/home/frappe/benches/bench-2017-07-18/env/lib/python2.7/site-packages/MySQLdb/cursors.py”, line 250, in execute
self.errorhandler(self, exc, value)
File “/home/frappe/benches/bench-2017-07-18/env/lib/python2.7/site-packages/MySQLdb/connections.py”, line 50, in defaulterrorhandler
raise errorvalue
ProgrammingError: (1146, “Table ‘1c64a58dc83c9f71.tabboletos’ doesn’t exist”)

Traceback (most recent call last):
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/app.py”, line 56, in application
response = frappe.handler.handle()
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/handler.py”, line 21, in handle
data = execute_cmd(cmd)
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/handler.py”, line 52, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/init.py”, line 922, in call
return fn(*args, **newargs)
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/desk/form/save.py”, line 19, in savedocs
doc.submit()
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/model/document.py”, line 741, in submit
self._submit()
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/model/document.py”, line 730, in _submit
self.save()
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/model/document.py”, line 230, in save
return self._save(*args, **kwargs)
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/model/document.py”, line 279, in _save
self.update_children()
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/model/document.py”, line 297, in update_children
self.update_child_table(df.fieldname, df)
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/model/document.py”, line 306, in update_child_table
d.db_update()
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/model/base_document.py”, line 325, in db_update
self.db_insert()
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/model/base_document.py”, line 299, in db_insert
), d.values())
File “/home/frappe/benches/bench-2017-07-18/apps/frappe/frappe/database.py”, line 142, in sql
self._cursor.execute(query, values)
File “/home/frappe/benches/bench-2017-07-18/env/lib/python2.7/site-packages/MySQLdb/cursors.py”, line 250, in execute
self.errorhandler(self, exc, value)
File “/home/frappe/benches/bench-2017-07-18/env/lib/python2.7/site-packages/MySQLdb/connections.py”, line 50, in defaulterrorhandler
raise errorvalue
ProgrammingError: (1146, “Table ‘1c64a58dc83c9f71.tabboletos’ doesn’t exist”)

How can I fix it?

Seems no schema exists for Doctype. Was there any error while creating a Doctype?

Try to delete Doctype record and recreate the one

I deleted and it worked