On Fri, 2007-12-14 at 15:04 +0100, Michael Biebl wrote:
> Package: f-spot
> Version: 0.4.1-1
> Severity: important
> 
> Upgraded f-spot today. Upon start f-sport exits with a very obscure
> error messoge.
> But I did what the dialog said, installed sqlite and sqlite3, then ran
> f-spot-sqlite-upgrade
> All I got is:
> /usr/bin/f-spot-sqlite-upgrade: 13: Syntax error: Bad fd number

Welcome to the f-spot upgrade experience.

f-spot 0.4.1 upstream actually does no sqlite2 detection at all, letting
it die with even more obscure "error in SQL syntax near EXISTS".

So what I did as (new) maintainer (as I am a C# developer too), I added
a very simple sqlite2 detection and let f-spot bail out with an
explaination how upstream wants/suggests the upgrade path using that
f-spot-upgrade-sqlite script (which I didn't touch (yet)).

As the error handling in f-spot during application initialization is
very ba^Winteresting (throwing an exception resulted in a endless loop
for example), I had no better display and handle the actual upgrade
process.

> 
> First of all, f-spot should detect if sqlite/sqlite3 are installed and
> present a nice button in the dialog "Please upgrade to new format"
> instead of this scary error message.

I have no interest in implemented something like that with such a bad
code base for the application startup -> wishlist upstream.

> Maybe make sqlite/sqlite3 recommends at least for a transition period.

well that's only needed for older f-spot users (not sure when sqlite2
was still used,), 0.3.5 already used sqlite3 by default but didn't
upgrade :), so I didn't make it recommends, as it only effects "old
users". I might change his though.

> 
> Second, the f-spot-sqlite-upgrade script should be fixed to be fool
> proof. As it didn't have any man page, no --help option, I got no idea
> what went wrong and how I should use this tool.

I don't either how to use it, but I will look into that script and fix
things that don't look fool proof to me, if you have specific suggests
to make that script better, please tell me.

> 
> Cheers,
> Michael

-- 
Regards,

Mirco 'meebey' Bauer

PGP-Key ID: 0xEEF946C8

FOSS Developer    [EMAIL PROTECTED]  http://www.meebey.net/
PEAR Developer    [EMAIL PROTECTED]     http://pear.php.net/
Debian Developer  [EMAIL PROTECTED]  http://www.debian.org/

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to