nfs-hack

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

nfs-hack

Hadley Rich
Hi list,

Just thought I would let the devs know that the --enable-nfs-hack configure
option doesn't seem to work anymore.

For me it throws the error "Failed to open new Album Database" and seems to be
because there is no ifdef in upgradedb_sqlite2tosqlite3.cpp where the
database path is hard coded. Also there may need to be some changes in
albumdb.cpp for it to work correctly again.

Also in 0.8.0 (compiled from source) I have the same issue as wayne[1] in that
I can't see any photo's in the digikam albums (tested on a local partition).
The problem seems to be fixed/gone in SVN.

Cheers,

hads

[1]http://mail.kde.org/pipermail/digikam-users/2005-December/000639.html
--
Those who can't write, write manuals.
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: nfs-hack

Bugzilla from tomalbers@kde.nl
Op vrijdag 16 december 2005 05:12, schreef Hadley Rich:
> Hi list,
>
> Just thought I would let the devs know that the --enable-nfs-hack configure
> option doesn't seem to work anymore.
>
> For me it throws the error "Failed to open new Album Database" and seems to
> be because there is no ifdef in upgradedb_sqlite2tosqlite3.cpp where the
> database path is hard coded. Also there may need to be some changes in
> albumdb.cpp for it to work correctly again.

Hi, why didnt you attach a patch?

Tom

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

smime.p7s (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: nfs-hack

Hadley Rich-2
On Saturday 17 December 2005 09:37, Tom Albers wrote:

> Op vrijdag 16 december 2005 05:12, schreef Hadley Rich:
> > Hi list,
> >
> > Just thought I would let the devs know that the --enable-nfs-hack
> > configure option doesn't seem to work anymore.
> >
> > For me it throws the error "Failed to open new Album Database" and seems
> > to be because there is no ifdef in upgradedb_sqlite2tosqlite3.cpp where
> > the database path is hard coded. Also there may need to be some changes
> > in albumdb.cpp for it to work correctly again.
>
> Hi, why didnt you attach a patch?

Hi,

Well, I don't really know C/C++ at all and I don't know if I have it working
correctly myself (a 0 byte db file is still created in the library path) so I
didn't want to send in a patch that would both embarrass me and waste the
developers time.

Cheers,

hads

--
No man would listen to you talk if he didn't know it was his turn next.
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: nfs-hack

Hadley Rich-2
On Saturday 17 December 2005 10:06, Hadley Rich wrote:
> On Saturday 17 December 2005 09:37, Tom Albers wrote:
> > Hi, why didnt you attach a patch?
>
> Well, I don't really know C/C++ at all and I don't know if I have it
> working correctly myself (a 0 byte db file is still created in the library
> path) so I didn't want to send in a patch that would both embarrass me and
> waste the developers time.

Please excuse the reply to self.

I was trying to work this out so I could create a patch but have got back to
the point where digikam shows no photos again (only with the nfs-hack
enabled). I suspect it is having trouble opening the database but am unsure.
Opening the database externally shows that it has been created and populated
with records correctly.

I am looking in kioslave/sqlite.db but for some reason I can't seem to get any
of the kdebug functions to print anything to stderr and I because I don't
fully understand C++ I can't figure out why.

I got stumped, can anyone help out?

Cheers,

hads

--
A method of solution is perfect if we can forsee from the start,
and even prove, that following that method we shall attain our aim.
                -- Leibnitz
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users