Opened 7 years ago

Closed 7 years ago

#16 closed defect (fixed)

bug database locked

Reported by: zhangjr Owned by: somebody
Priority: major Milestone:
Component: BL18auto Version:
Keywords: Cc:
Blocked By: Blocking:
Parent ID: Parent Tickets:
Estimated Number of Hours: 0.0 Add Hours to Ticket: 0
Billable?: yes Total Hours: 0

Description

when thread running, the database is locked with added -journal file. The last record can not be committed.

Subtickets

Change History (2)

comment:1 Changed 7 years ago by zhangjr

def closeDb(self):

self.db.commit()
self.cur.close()
self.db.close()

In every loop, close database.

comment:2 Changed 7 years ago by zhangjr

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.