If you are trying to run it against places.sqlite while FF is running,
it won't work as FF locks the file. That's been the case since 3.5 I
believe. Is that the issue you are talking about?
JB
No, I can live with that. I copied places.sqlite to another location
and I was reading from this new location. But in FF 4 I belive
places.sqlite is encrypted so even if I copy this file to some other
location I can't open it.
But did you shut down Firefox first? Even if you copy it, you are
copying a locked file which I am pretty certain still won't work.
Make sure Firefox is completely shut down (not even the downloads
window accidentally still open).
JB
I should point out that with FF4RC1 I was using sqlite manager no
problem to view all of its databases and didn't note any changes
insofar as use of encryption vs FF3.
JB
Hm, perhaps you are right. I copy file which is in use and perhaps
that is the problem. Thanks for the idea.
Interesting, I tried to read places.sqlite using sqlite browser from
Sourceforge. It opened, but was blank (not even the tables were
visible). Yet FF4 was properly shut down (not even a lingering
process). But when I created a second profile in FF and installed
Sqlite Manager it was able to properly read places.sqlite from the
first profile (but Sqlite Manager still was unable to read it).
I wonder if you are experiencing that type of anomaly as well. The
file header is still showing sqlite 3 so it should open with any
sqlite browsing tool. sqlite manager can properly open some of the
other .sqlite files from FF4, just not places.sqlite (at least it
wasn't working when I tried it several times).
JB
I was wondering about this too. After closing Fx4:
sqlite3 /home/dave/.mozilla/firefox/kps55cle.default/places.sqlite
SQLite version 3.6.23
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .dump
PRAGMA foreign_keys=OFF;
BEGIN TRANSACTION;
COMMIT;
sqlite> .databases
Error: file is encrypted or is not a database
sqlite>
--
(Remove any numerics from my email address.)
I noticed an error in my earlier post. I meant to say that sqlite
browser could not open places.sqlite but it could open other sqlite
files with FF shut down. However I was only able to open
places.sqlite using sqlite manager (in a second FF profile for the
moment - haven't yet tested with sqlite manager running as a
standalone app). And in confirming that I could open places.sqlite
with sqlite manager I exited sqlite manager and tried it immediately
with sqlite browser with no luck. You seem to be having that problem
as well in Linux using sqlite at the command line. Makes no sense
that one sqlite browing app can open it but not another one.
JB
I installed the SQLite Manager addon (thanks for the tip) and I can
browse places. I can't do so with sqlite3, with Fx shut down or the
file copied elsewhere. A bit of googling doesn't reveal why.
Doesn't matter - just idle curiosity on my part. I have been using
sqlite3 fine on webbappstore.sqlite, which I use in a userscript.
Thanks for the update. You seem to have discovered the problem. I
downloaded another sqlite freeware tool (Sqlite2009Pro) that I found
via a list on sqlite.org and it works. There was a note on the site
that it was updated in 2010 whereas sqlite browser seems to have not
been updated since 2009. So it seems that older sqlite tools are not
capable of reading the sqlite files in FF4 that have been updated.
JB
If you prefer the old one I think you only change sqlite3.dll and it
should work. But as we are already speaking of DB tools, check my
Pretty Database Explorer (http://delphistep.cis.si). It knows how to
open sqlite and other databases as well. Remembers opened tabs and
queries, etc.
Grega
I'll check that out, thanks. I've enjoyed using Sqlite Manager as a
standalone app so far (vs running it as an add-on, although I've done
that as well). I prefer the interface for Sqlite Manager vs the one
for Sqlite Browser. In looking at the screenshots of your
application, it has a similar look/feel to Sqlite Manager. And where
you have printing as well I may look at switching to yours.