[Shotwell] Any database changes in 0.12?

Adam Dingle adam at yorba.org
Wed Apr 4 14:55:27 UTC 2012


On 04/04/2012 04:18 AM, Colin Law wrote:
> I am using Shotwell on Ubuntu 12.04 Beta and so have been upgraded to
> 0.12.1, which is working fine.  I share the database and pictures
> folder with Shotwell on another machine which is currently running
> 0.11.6 (Ubuntu 11.10) but have not run that since the first machine
> was updated.  Am I going to run into problems if I open the 0.12.1 db
> with 0.11.6?

Yes: Shotwell 0.11.6 will complain that the 0.12.1 database is too new 
and will refuse to load it.

Actually the only database change from 0.11 to 0.12 is that images in 
0.12 can have a straightening applied via the new straighten tool.  We 
incremented the database version number in 0.12 so that people wouldn't 
attempt to open straightened images in 0.11, which would yield strange 
results.

If you look in Shotwell's SQLite database (~/.shotwell/data/photo.db), 
you'll see a table VersionTable with a row that stores the database 
version number (currently 15).  If you change this to 14, then you'll be 
able to open the database in Shotwell 0.11 and everything should work 
OK, as long as you haven't straightened any images.  Of course, the next 
time you open the database in 0.12 its version number will increment 
again.  As another poster suggested, I think by far the easiest solution 
will be to upgrade both your machines to Shotwell 0.12.  Cheers -

adam



More information about the Shotwell-list mailing list