Database problem in current svn

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Database problem in current svn

Julien Narboux
Hi all,

I rebuild the svn verson 1.3.0 a few minutes ago and now when I try to
lunch digikam I get an error "Error opening database".
I was using the sqlite backend.

Here is the output on the console :

digikam
digikam(14493)/digikam (core) Digikam::AlbumManager::setDatabase:
DatabaseParameters: [ Type "QSQLITE", Name "/home/jnarboux/Images"
(Thumbnails Name "/home/jnarboux/Images"); ConnectOptions: "", Host Name
and Port: "" -1; Username and Password: "", ""]
digikam(14493)/digikam (core): Error while opening the database. Error
details [ QSqlError(-1, "Error opening database", "unable to open
database file") ]
digikam(14493)/digikam (core): Error while opening the database. Error
details [ QSqlError(-1, "Error opening database", "unable to open
database file") ]
digikam(14493)/digikam (core): Error while opening the database. Error
details [ QSqlError(-1, "Error opening database", "unable to open
database file") ]
digikam(14493)/digikam (core): Error while opening the database. Error
details [ QSqlError(-1, "Error opening database", "unable to open
database file") ]
digikam(14493)/digikam (core): Error while opening the database. Error
details [ QSqlError(-1, "Error opening database", "unable to open
database file") ]
digikam(14493)/digikam (core): Error while opening the database. Error
details [ QSqlError(-1, "Error opening database", "unable to open
database file") ]


Julien
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Database problem in current svn

Jens Müller-10
Hi,

I got the same error as Julien ... (same config)

Regards, Jens

 >Hi all,
 >
 >I rebuild the svn verson 1.3.0 a few minutes ago and now when I try to
 >lunch digikam I get an error "Error opening database".
 >I was using the sqlite backend.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Database problem in current svn

Marcel Wiesweg
In reply to this post by Julien Narboux
> Hi all,
>
> I rebuild the svn verson 1.3.0 a few minutes ago and now when I try to
> lunch digikam I get an error "Error opening database".
> I was using the sqlite backend.

Do you find this in your settings:

[Database Settings]
Database Name=/home/jnarboux/Images

Does it work if you append a slash?
Database Name=/home/jnarboux/Images/

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Database problem in current svn

Julien Narboux
Marcel Wiesweg a écrit :

>> Hi all,
>>
>> I rebuild the svn verson 1.3.0 a few minutes ago and now when I try to
>> lunch digikam I get an error "Error opening database".
>> I was using the sqlite backend.
>>    
>
> Do you find this in your settings:
>
> [Database Settings]
> Database Name=/home/jnarboux/Images
>
> Does it work if you append a slash?
> Database Name=/home/jnarboux/Images/
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>  

It worked !

Thanks for the fix Marcel.

Julien
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Database problem in current svn

Jens Müller-10
In reply to this post by Julien Narboux
As Julien already said, digikam-database is working again. In the meantime I
tried to remove my settings file and create a new one, the problem appears in
that scenario also. So there is need for a fix during settings creation.

Regards, Jens

Am Montag 26 April 2010 19:34:06 schrieb [hidden email]:

> Message: 5
> Date: Mon, 26 Apr 2010 19:05:37 +0200
> From: Marcel Wiesweg <[hidden email]>
> Subject: Re: [Digikam-devel] Database problem in current svn
> To: "digiKam developers room - digiKam - Manage your photographs as a
>         professional with the power of open source" <[hidden email]>
> Message-ID: <[hidden email]>
> Content-Type: Text/Plain;  charset="iso-8859-1"
>
> > Hi all,
> >
> >
> >
> > I rebuild the svn verson 1.3.0 a few minutes ago and now when I try to
> > lunch digikam I get an error "Error opening database".
> > I was using the sqlite backend.
>
> Do you find this in your settings:
>
> [Database Settings]
> Database Name=/home/jnarboux/Images
>
> Does it work if you append a slash?
> Database Name=/home/jnarboux/Images/

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Database problem in current svn

Gilles Caulier-4
Question : do you see my post few time ago about my serious DB problem
with a fresh digiKam installation to register a huge album collection
?

Gilles

2010/4/26 Jens Müller <[hidden email]>:

> As Julien already said, digikam-database is working again. In the meantime I
> tried to remove my settings file and create a new one, the problem appears in
> that scenario also. So there is need for a fix during settings creation.
>
> Regards, Jens
>
> Am Montag 26 April 2010 19:34:06 schrieb [hidden email]:
>> Message: 5
>> Date: Mon, 26 Apr 2010 19:05:37 +0200
>> From: Marcel Wiesweg <[hidden email]>
>> Subject: Re: [Digikam-devel] Database problem in current svn
>> To: "digiKam developers room - digiKam - Manage your photographs as a
>>         professional with the power of open source" <[hidden email]>
>> Message-ID: <[hidden email]>
>> Content-Type: Text/Plain;  charset="iso-8859-1"
>>
>> > Hi all,
>> >
>> >
>> >
>> > I rebuild the svn verson 1.3.0 a few minutes ago and now when I try to
>> > lunch digikam I get an error "Error opening database".
>> > I was using the sqlite backend.
>>
>> Do you find this in your settings:
>>
>> [Database Settings]
>> Database Name=/home/jnarboux/Images
>>
>> Does it work if you append a slash?
>> Database Name=/home/jnarboux/Images/
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Database problem in current svn

Jens Müller-10
In reply to this post by Julien Narboux
Sorry Gilles,

I didn't find the time to reproduce your scenario on sunday. But this looks
like the same problem. Do you already have any clue what's going wrong?

Regards, Jens

>Question : do you see my post few time ago about my serious DB problem
>with a fresh digiKam installation to register a huge album collection
>?
>
>Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Database problem in current svn

Marcel Wiesweg
In reply to this post by Gilles Caulier-4

I'll write a proper fix for the slash problem ASAP.

> Question : do you see my post few time ago about my serious DB problem
> with a fresh digiKam installation to register a huge album collection
> ?

Yes I have seen it, no time to reproduce though so far.
With the commit introducing this problem here I have rewritten parts of the
relevant code, but probably the scenario (Gilles') is not yet well tested and
needs some more polish.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel