Traceback (most recent call last):
File "/mnt/utmp/gourmet//lib/python2.6/site-packages/gourmet/threadManager.py", line 97, in run
self.do_run()
File "/mnt/utmp/gourmet//lib/python2.6/site-packages/gourmet/importers/xml_importer.py", line 71, in do_run
self.parse = xml.sax.parse(self.fn, self.rh)
File "/usr/lib/python2.6/xml/sax/__init__.py", line 33, in parse
parser.parse(source)
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.6/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 304, in end_element
self._cont_handler.endElement(name)
File "/mnt/utmp/gourmet//lib/python2.6/site-packages/gourmet/plugins/import_export/gxml_plugin/gxml2_importer.py", line 44, in endElement
self.commit_rec()
File "/mnt/utmp/gourmet//lib/python2.6/site-packages/gourmet/importers/importer.py", line 242, in commit_rec
r = self.rd.add_rec(self.rec)
File "/mnt/utmp/gourmet//lib/python2.6/site-packages/gourmet/backends/db.py", line 1282, in add_rec
if c: self.do_add_cat({'recipe_id':ID,'category':c})
File "/mnt/utmp/gourmet//lib/python2.6/site-packages/gourmet/backends/db.py", line 1375, in do_add_cat
return self.do_add_and_return_item(self.categories_table,dic)
File "/mnt/utmp/gourmet//lib/python2.6/site-packages/gourmet/backends/db.py", line 1367, in do_add_and_return_item
result_proxy = self.do_add(table,dic)
File "/mnt/utmp/gourmet//lib/python2.6/site-packages/gourmet/backends/db.py", line 1359, in do_add
result_proxy = insert_statement.execute(**dic)
File "/mnt/utmp/gourmet/lib/python2.6/site-packages/SQLAlchemy-0.7.10-py2.6-linux-armv7l.egg/sqlalchemy/sql/expression.py", line 2841, in execute
return e._execute_clauseelement(self, multiparams, params)
File "/mnt/utmp/gourmet/lib/python2.6/site-packages/SQLAlchemy-0.7.10-py2.6-linux-armv7l.egg/sqlalchemy/engine/base.py", line 2453, in _execute_clauseelement
return connection._execute_clauseelement(elem, multiparams, params)
File "/mnt/utmp/gourmet/lib/python2.6/site-packages/SQLAlchemy-0.7.10-py2.6-linux-armv7l.egg/sqlalchemy/engine/base.py", line 1584, in _execute_clauseelement
compiled_sql, distilled_params
File "/mnt/utmp/gourmet/lib/python2.6/site-packages/SQLAlchemy-0.7.10-py2.6-linux-armv7l.egg/sqlalchemy/engine/base.py", line 1698, in _execute_context
context)
File "/mnt/utmp/gourmet/lib/python2.6/site-packages/SQLAlchemy-0.7.10-py2.6-linux-armv7l.egg/sqlalchemy/engine/base.py", line 1691, in _execute_context
context)
File "/mnt/utmp/gourmet/lib/python2.6/site-packages/SQLAlchemy-0.7.10-py2.6-linux-armv7l.egg/sqlalchemy/engine/default.py", line 331, in do_execute
cursor.execute(statement, parameters)
OperationalError: (OperationalError) database is locked u'INSERT INTO categories (recipe_id, category) VALUES (?, ?)' (6, u'Dessert')