[KPhotoAlbum] KPhotoAlbum Crashes when viewing thumbnails

Miika Turkia miika.turkia at gmail.com
Fri Jun 17 13:20:43 BST 2011


Hello Murray,

sorry for the late replay, I am currently waiting for transit back home.
I've been disconnected for almost three weeks ;)

What you need to do is make the script executable and run it. Location does
not matter, you can try it out from ~/Downloads. You can run the script as
normal user. It uses sudo to install a few required packages (and sudo asks
for your password while running). Then it downloads the source code,
compiles and installs. Official version can still be accessed the same way
as before and the new version needs the full path.

I personally compile my own KPA under /opt and would recommend that to you
(the script does not use sudo for installing so that is one thing that needs
tweaking, I have /opt/kpa directory owned by myself so I don't need extra
privileges for the sources or installation). At least if the development
version fixes your problem.

There is no need to run kphotoalbum as root...

So the needed steps are more or less the following:
- chmod 755 ~/Download/git-compile-tmp.sh
- ~/Download/git-compile-tmp.sh (give password for the sudo to install
compile dependencies)
- /tmp/kpa/kde4-install/bin/kphotoalbum -c ~/Pictures/index.xml

Or if you want it under /opt, change first the MY_KDE_SRC variable within
the git-compile-tmp.sh from /tmp/kpa to /opt/kpa

If there is still something open, I should be a bit more responsive once
back home.

miika

On Sat, Jun 4, 2011 at 1:10 PM, Murray Strome <wmstrome at yahoo.com> wrote:

> Hi Milika,
>
> I am finally home and about to try the file you sent me. I am not very
> adept at compiling etc. so I would appreciate it if you could give me (or
> point me to) some simple instructions as to how to do this. In particular.
> My current version is in: /usr/bin/kphotoalbum
>
> So, where should I extract the file? Do you recomment ~/tmp or /tmp? (or
> /opt?). Do I need to run it as root (i.e. sudo
> /tmp/kpa/kde4-install/bin/kphotoalbum -c <picturepath>/index.xml). Right
> now, the file is in ~/Downloads. I assume that I will need to make it
> executable. Is that correct?
>
> I have upgraded my LINUX on one machine to Kubuntu 11.04. I thought it was
> working OK, but after a while it still crashed.
>
> Thanks for your help.
>
> Murray
>
> --- On *Sat, 5/21/11, Miika Turkia <miika.turkia at gmail.com>* wrote:
>
>
> From: Miika Turkia <miika.turkia at gmail.com>
>
> Subject: Re: [KPhotoAlbum] KPhotoAlbum Crashes when viewing thumbnails
> To: "Murray Strome" <wmstrome at yahoo.com>
> Cc: "Andreas Neustifter" <andreas.neustifter at gmail.com>,
> kphotoalbum at kdab.com
> Received: Saturday, May 21, 2011, 6:06 A
>
> Hello,
>
>
> there is a bugfix in the development version of KPA that is not included in
> the "stock" version of Ubuntu's kphotoalbum. Applied on 2010-12-22 and it
> fixes some exif related crashes. This might well be the bug you are hitting.
>
> Unfortunately I do not currently know any other way to make sure than
> compiling KPA yourself from the development version. (Attached script grabs
> the current source from git and compiles it. Everything is done under /tmp
> but I myself use /opt instead. Note that the KPA compiled like this does not
> find your current image dir without aid as the KDEHOME is under /tmp. Run as
> follows if you want to give it a try: /tmp/kpa/kde4-install/bin/kphotoalbum
> -c <picturepath>/index.xml)
>
> HTH,
> theBro
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kphotoalbum/attachments/20110617/898ddf89/attachment.htm>


More information about the Kphotoalbum mailing list