sgh7 / chrome_utils

Linux command-line utilities for Google's Chromium browser
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Chrome_history fails on access to live history file. #3

Open sgh7 opened 9 years ago

sgh7 commented 9 years ago

Attempting to view the contents of a history file that is in use by an active chromium browser results in an error message Error (database is locked) accessing /home/sgh/.config/chromium/Default/History as sqlite database. after a delay of about 5 seconds.

The command could make a temporary copy of the History file and use the sqlite library calls against the copy. However, if the browser is not quiescent in relation to the history file, this could potentially result in the copy being inconsistent.