[Shotwell] Any database changes in 0.12?

Colin Law clanlaw at googlemail.com
Wed Apr 4 15:26:47 UTC 2012


On 4 April 2012 15:55, Adam Dingle <adam at yorba.org> wrote:
> 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 -

Yes I think you are right, I will do that.  Though I guess I will then
be at risk with the issue in another thread related to the version of
libgphoto2-2, though in practice I think I can work around that if the
only issue is importing videos.

Thanks both.

Colin



More information about the Shotwell-list mailing list