[Bug 314777] Re: Error:file is encrypted or is not a database

Mick K mjkemsley at gmail.com
Mon Apr 20 05:24:49 UTC 2009


There also appears to be a few schema changes in the session table. 
The length of a few fields were changed from 30 to 300 (apparently length on a varchar in sqlite is only cosmetic, so it probably wont affect anything)

I used the following to get gnome-rdp to create the new database, and
then just used sqlite dump to copy over the data

mv ~/.gnome-rdp.db ~/.gnome-rdp-old.db
#Open gnome-rdp to create new database, then click File->Quit
gnome-rdp
sqlite ~/.gnome-rdp.old.db ".dump session" | fgrep INSERT | sqlite3 ~/.gnome-rdp.db


A number of guys at work use gnome-rdp, so I wrote a quick bash script to do this with a few sanity checks. I'll attach it in case someone finds it useful
Just give it execute permissions, and run from a shell

** Attachment added: "gnomerdp-904-update"
   http://launchpadlibrarian.net/25775037/gnomerdp-904-update

-- 
Error:file is encrypted or is not a database
https://bugs.launchpad.net/bugs/314777
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list