On Wed, Aug 21, 2013 at 6:44 PM, Jeremy Huddleston Sequoia wrote:
> On Aug 21, 2013, at 5:16, Mojca Miklavec wrote:
>> On Wed, Aug 21, 2013 at 9:34 AM, Jeremy Huddleston Sequoia wrote:
>>> On Aug 20, 2013, at 23:43, mo...@macports.org wrote:
>>>
>>>> +#   LSOpenURLsWithRole() failed with error -10810 for the file 
>>>> /Applications/MacPorts/xCHM.app
>>>
>>> Do you have zombie xCHM processes?
>>
>> I don't find any even though it is not impossible because I had to
>> force-quit xCHM compiled against wxWidgets 2.9. It creates a
>> warning/error window that is to big to fit on my tiny 13" screen and I
>> don't know how to resize the window or how to tab to the OK/Cancel
>> buttons that are too low to be visible. (On windows and linux it's
>> possible to use just the keyboard, but I didn't yet figure out how to
>> click on any button on Mac without a mouse.)
>>
>> Do you want to say that it works for you (that is: opening the app
>> from xchm +wxgtk28)?
>
> No.  I haven't tried it, but that error usually indicates that the app you 
> are running already exists, likely in a zombie state.

>From what I understand this error means "An unknown error has occurred". See:

https://developer.apple.com/library/mac/documentation/Carbon/Reference/LaunchServicesReference/Reference/reference.html

However, browsing the forums I got the idea to check Console.app and bingo:
    xCHM: Unknown option 'psn_0_2372163'

Here's the log:

[0x0-0x243243].net.sourceforge.xchm.xCHM: Usage: xCHM [-c <num>] [-t]
[-i] [-h] [file]
[0x0-0x243243].net.sourceforge.xchm.xCHM:   -c, --contextid=<num>
context-Id to open in file, requires that a file be specified
[0x0-0x243243].net.sourceforge.xchm.xCHM:   -t, --notopics
don't load the topics tree
[0x0-0x243243].net.sourceforge.xchm.xCHM:   -i, --noindex
don't load the index
[0x0-0x243243].net.sourceforge.xchm.xCHM:   -h, --help
displays this message.
[0x0-0x243243].net.sourceforge.xchm.xCHM: Unknown option 'psn_0_2372163'

I think I can fix this.

Mojca
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to