Need help diagnosing a digikam / imagemagick bug
Rainer Müller
raimue at macports.org
Sat Mar 13 13:03:32 PST 2010
On 2010-03-12 17:39 , Brandon Allbery wrote:
> On Mar 12, 2010, at 08:13 , Jürgen Starek wrote:
>> If I start digikam from the dock, select one or more images and choose
>> "Resize Images" from the "Tools" menu, I get an error stating that
>> "Cannot start 'convert' program from 'ImageMagick' package; please
>> check your installation". When the "Always overwrite" or "ask" method
>> is selected in that dialog, this problem even deletes the selected image.
>>
>> Interestingly, resizing works well if I start digikam from a terminal
>> using
>> cd /Applications/MacPorts/KDE4/digikam.app/Contents/MacOS
>> ./digikam
>
> This sounds like a PATH problem; for programs started from the dock, you
> may need to set up ~/.MacOSX/environment.plist to initialize your PATH
> properly.
Yes, PATH is only exported in .profile or .bash_profile so it only
affects the Terminal session and nothing more.
Alternatively we could add a wrapper script exporting the necessary
variables at the launch of the application, so the user does not need to
configure anything for this.
Rainer
More information about the macports-users
mailing list