From: William V. <wkv...@ne...> - 2004-06-22 11:26:50
|
I've got insertion and update of records working pretty well, however record deletion seems broken (as well as conspicuously missing from the docs on the web site ;-) >>> foo = XImport.get(5) >>> foo.delete() Traceback (most recent call last): File "<stdin>", line 1, in ? TypeError: delete() takes exactly 2 arguments (1 given) >>> foo.delete(5) Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.2/site-packages/sqlobject/main.py", line 1028, in delete TypeError: __init__() takes exactly 1 argument (2 given) >>> XImport.delete(5) Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.2/site-packages/sqlobject/main.py", line 1028, in delete TypeError: __init__() takes exactly 1 argument (2 given) My copy of SQLObject is about a week old, trying to update it results in: svn update svn: Berkeley DB error while opening 'nodes' table for filesystem /var/lib/subversion/repository/db: Cannot allocate memory Which I googled for and found that a svnadmin recover is necessary with possibly an increase in the number of locks in DB_CONFIG |