Zim desktop wiki

win32 support for daemon / IPC

Reported by Jaap Karssenberg on 2008-04-02
2
Affects Status Importance Assigned to Milestone
Zim
Status tracked in Pyzim
Pyzim
High
Jaap Karssenberg

Bug Description

Currently the daemon / IPC framework only work on unix (uses unix domain socket and POSIX job control). This should be ported to windows.

* Job control can be done with Win32::Process
* What to use to replace domain socket - inet socket ?

Changed in zim:
importance: Undecided → Medium
status: New → Confirmed
Peter Morgan (pedromorgan) wrote :

Major Category:

imho: This issues and other need to be under a new issue called

"Windows"

This needs researching with feedback!

Changed in zim:
milestone: none → 0.42-beta2
assignee: nobody → pardus-cpan
milestone: 0.42-beta2 → none
assignee: pardus-cpan → nobody

See also bug #704899 - port zim to DBus

See also bug #872998 - can not use --plugin trayicon on windows

Digidog (7a532kg9-support) wrote :

Just jump in to say: Hey I am here and I would like to help to solve this issue. Where are we now with this? What is the status now?

On Thu, Mar 29, 2012 at 3:51 PM, Digidog <email address hidden> wrote:
> Just jump in to say: Hey I am here and I would like to help to solve
> this issue. Where are we now with this? What is the status now?

Current design on unix we use a unix domain socket. Deamon listens to
this socket and keeps open pipes to notebook instances (see
zim/daemon.py for more details).

Two issues on windows
1/ no domain sockets - so need to use inet socket instead
2/ fork does not work the same - need to use window API to spawn new process

So would need windows specific implementation of the logic in daemon.py

Alternative would be to port the whole thing to DBus (which is my
preverence) but as far as I'm aware necessary libraries not yet
available for windows as precompiled installer.

Regards,

Jaap

New ipc framework in rev 590 should work on windows as well, to be tested.

Fixed in zim 0.57

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers