ro...@erpnext:/var/www/erp/erpnext# lib/wnf.py --patch_sync
u'--- query explain ---'
Executing patches.october_2012.fix_wrong_vouchers in erpnextdb33
Success
Executing patches.october_2012.remove_old_customer_contact_address in erpnextdb33
Success
Executing patches.october_2012.company_fiscal_year_docstatus_patch in erpnextdb33
Success
Executing patches.october_2012.update_account_property in erpnextdb33
Traceback (innermost last):
File "/var/www/erp/erpnext/lib/webnotes/modules/patch_handler.py", line 74, in execute_patch
webnotes.get_method(patchmodule + ".execute")()
File "app/patches/october_2012/update_account_property.py", line 14, in execute
where lft > %(lft)s and rgt < %(rgt)s""", acc, debug=1)
File "/var/www/erp/erpnext/lib/webnotes/db.py", line 120, in sql
raise e
ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update tabAccount set debit_or_credit = 'Debit', \n\t\t\tis_pl_account = 'No', compa' at line 1")
patches.october_2012.update_account_property: failed: STOPPED
Thanks.