[Lazarus] Resolved: Carbon Application: Unable to open file "-psn_0_....."

Schindler Karl-Michael karl-michael.schindler at web.de
Tue Sep 10 19:05:58 CEST 2013


Hi

Date: Tue, 10 Sep 2013 01:24:25 +0200
From: Mattias Gaertner <nc-gaertnma at netcologne.de>

> On Mon, 9 Sep 2013 21:45:56 +0200
> Schindler Karl-Michael <karl-michael.schindler at web.de> wrote:
> 
>> Hi
>> 
>> I tried the program ddrescueview (http://sourceforge.net/projects/ddrescueview) on Mac OS X 10.6.8. The build goes well with Lazarus 1.0.12, but when running the program i get the error message:
>> 
>> Unable to open file "-psn_0_....."
>> 
>> If I click OK, the application proceeds and everything seems normal. Any idea, where this comes from and how to fix it?
> 
> Have you tried to start it in the debugger and when the dialog appears
> to stop it and create a backtrace?
> 
> Mattias

I finally found it. The problem was that the program accepts a file for opening from the first command line parameter. That's where the -psn_0_.... came from.

Thanks - Mischi.



More information about the Lazarus mailing list