Hi, Now with QtMoko v9.
On Thu, Sep 10, 2009 at 12:35 AM, Radek Polak <pson...@seznam.cz> wrote: > I have attached script for creating contacts table. Can you please > download it to you phone and try following: > > apt-get install sqlite3 > sqlite3 -init contacts.sql /opt/qtmoko/qtopia_db.sqlite > I did that, and it worked. In sqlite3 (using '.tables') I can see that the contacts table is there Let me know if that helps. > Well, no - it didn't help. addressbook still complains in the same way as before. Are you cetain that this (/opt/qtmoko/qtopia_db.sqlite) is the right database? There are a few on the system: r...@neo:~# find / -name '*sqlite' -print /root/Applications/Qtopia/qtopia_db.sqlite /opt/qtmoko/qtopia_db.sqlite /home/root/Applications/Qtopia/qtopia_db.sqlite /home/root/Applications/qtopiamail/qtopia_db.sqlite /media/card/qtopia_db.sqlite /tmp/qtopia-0/opt/qtmoko/qtopia_db.sqlite How can I find out which is the right one? r...@neo:~# ls -l /opt/qtmoko/qtopia_db.sqlite -rw-r--r-- 1 1000 1000 175104 Sep 13 21:59 /opt/qtmoko/qtopia_db.sqlite r...@neo:~# ls -l /root/Applications/Qtopia/qtopia_db.sqlite /home/root/Applications/Qtopia/qtopia_db.sqlite /home/root/Applications/qtopiamail/qtopia_db.sqlite /media/card/qtopia_db.sqlite /tmp/qtopia-0/opt/qtmoko/qtopia_db.sqlite -rw-r--r-- 1 root root 151552 Sep 13 22:05 /home/root/Applications/Qtopia/qtopia_db.sqlite -rw-r--r-- 1 root root 20480 Aug 12 17:42 /home/root/Applications/qtopiamail/qtopia_db.sqlite -rwxr-xr-x 1 root root 278528 Oct 12 2009 /media/card/qtopia_db.sqlite -rw-r--r-- 1 root root 0 Sep 13 21:34 /root/Applications/Qtopia/qtopia_db.sqlite -rw-r--r-- 1 root root 162816 Aug 12 17:42 /tmp/qtopia-0/opt/qtmoko/qtopia_db.sqlite Perhaps the addressbook needs some env vars configured when started from a (ssh) shell? -- Regards, Torfinn Ingolfsen
_______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community