Re: [OpenIndiana-discuss] Python abstact socket and config printer applet.py

2023-12-14 Thread Carsten Grzemba via openindiana-discuss
Am 14.12.23 00:08 schrieb Bill Sommerfeld via openindiana-discuss : > > On 12/13/23 15:03, Joshua M. Clulow via openindiana-discuss wrote: > >On Wed, 13 Dec 2023 at 09:24, Carsten Grzemba via openindiana-discuss > > wrote: > >>A sock.bind with an normal string works, but not the style with

Re: [OpenIndiana-discuss] Python abstact socket and config printer applet.py

2023-12-13 Thread Joshua M. Clulow via openindiana-discuss
On Wed, 13 Dec 2023 at 15:08, Bill Sommerfeld via openindiana-discuss wrote: > A quick look at the applet.py code shows that it creates the bound > socket as a lock (to prevent multiple instances from running as the same > user) but never uses it for anything or passes it to anything outside >

Re: [OpenIndiana-discuss] Python abstact socket and config printer applet.py

2023-12-13 Thread Bill Sommerfeld via openindiana-discuss
On 12/13/23 15:03, Joshua M. Clulow via openindiana-discuss wrote: On Wed, 13 Dec 2023 at 09:24, Carsten Grzemba via openindiana-discuss wrote: A sock.bind with an normal string works, but not the style with the leading \0. This is the syntax for abstract sockets on Linux. I have no idea if

Re: [OpenIndiana-discuss] Python abstact socket and config printer applet.py

2023-12-13 Thread Joshua M. Clulow via openindiana-discuss
On Wed, 13 Dec 2023 at 09:24, Carsten Grzemba via openindiana-discuss wrote: > A sock.bind with an normal string works, but not the style with the leading > \0. This is the syntax for abstract sockets on Linux. > I have no idea if abstract sockets would work on Illumos and Python. But how >

Re: [OpenIndiana-discuss] Python abstact socket and config printer applet.py

2023-12-13 Thread Bill Sommerfeld via openindiana-discuss
On 12/13/23 09:24, Carsten Grzemba via openindiana-discuss wrote: I don't know when I have seen the last time the printer applet in mate-panel. On my attempts to revive the applet I stumbled on the abstract socket stuff in the Python code of applet.py If i try to start

Re: [OpenIndiana-discuss] Python abstact socket and config printer applet.py

2023-12-13 Thread Marcel Telka
On Wed, Dec 13, 2023 at 06:24:17PM +0100, Carsten Grzemba via openindiana-discuss wrote: > I don't know when I have seen the last time the printer applet in mate-panel. The following link suggests that it does not work since version 1.5.16 of system-config-printer.

[OpenIndiana-discuss] Python abstact socket and config printer applet.py

2023-12-13 Thread Carsten Grzemba via openindiana-discuss
I don't know when I have seen the last time the printer applet in mate-panel. On my attempts to revive the applet I stumbled on the abstract socket stuff in the Python code of applet.py If i try to start /usr/share/system-config-printer/applet.py I get the exception Process already running