Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2025-09

Can't open files

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Hi,
It's a while since I used Lazarus and I'm using a new PC so I installed Lazarus via fpcupdeluxe.
The PC is running Kubuntu 24.04.
I downloaded the QT5-version, but I'm having a strange problem. When I try to open a file I get an error :
In dutch :
Niet in staat KIO-worker aan te maken. Kan geen socket aanmaken voor het starten van KIO-worker voor protocol 'file'.
translated :
Unable to create KIO-worker. Can't create a socket to start KIO-worker for protocol 'file'.
I don't see files so I can only click Cancel.

However, when I start a second instance of Lazarus, I don't have that problem, selecting and opening files works OK.

Starting the first instance via the commandline I get this : kf.kio.core: KIO Connection server not listening, could not connect kf.kio.core: couldn't create worker: "Kan geen socket aanmaken voor het starten van KIO-worker voor protocol 'tags'."
kf.kio.core: "Niet in staat KIO-worker aan te maken. Kan geen socket aanmaken voor het starten van KIO-worker voor protocol 'tags'." kf.kio.core: KIO Connection server not listening, could not connect kf.kio.core: couldn't create worker: "Kan geen socket aanmaken voor het starten van KIO-worker voor protocol 'file'."
kf.kio.filewidgets.kfilefiltercombo: Could not find filter "*.pas *.pp *.lpi *.lfm *.dfm *.lpk *.lpr *.inc *.lrs *.lpl|Lazarus file?*.pas;*.pp;*.lpi;*.lfm;*.dfm;*.lpk;*.lpr;*.inc;*.lrs;*.lpl? " kf.kio.core: KIO Connection server not listening, could not connect kf.kio.core: couldn't create worker: "Kan geen socket aanmaken voor het starten van KIO-worker voor protocol 'file'."
kf.kio.core: KIO Connection server not listening, could not connect kf.kio.core: couldn't create worker: "Kan geen socket aanmaken voor het starten van KIO-worker voor protocol 'file'."
kf.kio.core: "Niet in staat KIO-worker aan te maken. Kan geen socket aanmaken voor het starten van KIO-worker voor protocol 'file'."

The second instance via commandline gives this when successfully opening a file :
kf.kio.filewidgets.kfilefiltercombo: Could not find filter "*.pas *.pp *.lpi *.lfm *.dfm *.lpk *.lpr *.inc *.lrs *.lpl|Lazarus file?*.pas;*.pp;*.lpi;*.lfm;*.dfm;*.lpk;*.lpr;*.inc;*.lrs;*.lpl? "

And insights what's happening or what to do to solve this ?

I don't install Lazarus via the package-manager because I want to install extra packages when I need them. Lazarus installed via the package-manager does not allow this (in the past at least).

TIA,
Koenraad

Reply by email

zeljko
to Unknown author
Koenraad Lelong wrote 16 lines
Hi, It's a while since I used Lazarus and I'm using a new PC so I installed Lazarus via fpcupdeluxe. The PC is running Kubuntu 24.04. I downloaded the QT5-version, but I'm having a strange problem. When I try to open a file I get an error : In dutch : Niet in staat KIO-worker aan te maken. Kan geen socket aanmaken voor het starten van KIO-worker voor protocol 'file'. translated : Unable to create KIO-worker. Can't create a socket to start KIO-worker for protocol 'file'. I don't see files so I can only click Cancel. However, when I start a second instance of Lazarus, I don't have that problem, selecting and opening files works OK.

That one is fixed, but I think it is in stable 4.2. Workaround is to remove ProjectDir macro from lazarus title bar in lazarus settings.

zeljko

Reply by email

Unknown author
to zeljko

Op 15/09/2025 om 18:21 schreef zeljko:

...

Show quoted text 6 lines
That one is fixed, but I think it is in stable 4.2. Workaround is to remove ProjectDir macro from lazarus title bar in lazarus settings. zeljko

Hi,

Like I mentioned in another thread, I was running Lazarus 3.6. Now running Lazarus 4.2 and all is fine, on QT5 and QT6.

Koenraad

Reply by email