Hello Richard, On 2025-12-03 22:11:42 +0100 R Frith-Macdonald <[email protected]> wrote:
> > On 03/12/2025 10:19, Patrick Cardona wrote: >> I attached the code adapted from 'tests-examples': which is my second >> attempt, not the same code I provided previously. > > It took me a couple of hours to spot what was wrong here. Mostly because I > was looking for some complicated bug in gui/base, and it was actually > something extremely simple that I failed to spoit on my initial look through. > > The service specification in the plist file does not match the source code: > > In openURLInfo.plsit you wrote 'NSPortName = openURL;' > > But in service.m the code to register the service is > 'NSRegisterServicesProvider(server, @"openURLService");' > > So when your app finds the service configuration, it initially tries to > contact port openURL. > > There is nothing running on that port, so it tries to launch the service > executable, and waits for it to register. > > The executable registers on port openURLService > > The application again tries (repeatedly) to contact port openURL (which > still doesn't exist) until it times out and presents an error mesage to you. > > > All you need to do to get this working is use the same port name in both > places, make install, run make_services, and try again. Your answer was helpful. Sorry for the time you spent on it. Tweaking the files, I finally got a working service 'open URL' when I select myself an URL. I will go on now about the issue related to GNUMail links and my browser wrapper to implement what it is missing in-between. Cheers, Patrick -- Patrick Cardona - Pi400 - GNU/Linux aarch64 (Debian 13.2) Xorg (1:7.7+24) - libcairo2 (1.18.4-1+rpt1 arm64) Window Maker (0.96.0-4) - GWorkspace (1.1.0 - 02 2025) - Theme: AGNOSTEP - MUA: GNUMail (1.4.0)
