Cleaning up test data

74 views
Skip to first unread message

Ferenc

unread,
Mar 9, 2013, 7:52:59 AM3/9/13
to erpnext-dev...@googlegroups.com
Hi,

I am trying to clean up test data using lib/wnf.py --cleanup_data.
Cleaning up take no effects.
Following error occurs:
Are you sure you want to delete the data from the system (N/Y)?y

What type of cleanup you want ot perform?
        1. Only Transactions
        2. Both Masters and Transactions

        Please enter your choice (1/2):
                2
Deleting transactions...
Deleted Timesheet
Deleted Task
Deleted Support Ticket
Deleted Stock Reconciliation
Deleted Stock Ledger Entry
Deleted Stock Entry
Deleted Sales Order
Deleted Salary Slip
Deleted Sales Invoice
Deleted Quotation
Deleted Quality Inspection
Deleted Purchase Receipt
Deleted Purchase Order
Deleted Production Order
Deleted POS Setting
Deleted Period Closing Voucher
Deleted Purchase Invoice
Deleted Maintenance Visit
Deleted Maintenance Schedule
Deleted Leave Application
Deleted Leave Allocation
Deleted Lead
Deleted Journal Voucher
Deleted Installation Note
Deleted Material Request
Deleted GL Entry
Deleted Expense Claim
Deleted Opportunity
Deleted Delivery Note
Deleted Customer Issue
Deleted Bin
Deleted Authorization Rule
Deleted Attendance
Deleted C-Form
Traceback (most recent call last):
  File "lib/wnf.py", line 494, in <module>
    run()
  File "lib/wnf.py", line 415, in run
    cleanup_data.run()
  File "app/utilities/cleanup_data.py", line 184, in run
    delete_transactions()
  File "app/utilities/cleanup_data.py", line 36, in delete_transactions
    webnotes.conn.sql("delete from `tab%s`" % (d))
  File "/var/www/erpnext/lib/webnotes/db.py", line 115, in sql
    raise e
_mysql_exceptions.ProgrammingError: (1146, "Table 'erpnext.tabForm 16A' doesn't exist")

Pls. advice.

Thank You,
Ferenc

Rushabh Mehta

unread,
Mar 12, 2013, 1:28:55 AM3/12/13
to erpnext-dev...@googlegroups.com
Fixed. Thanks for reporting.


--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/lw6DPAvd0jMJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages