Zim

win32 support for daemon / IPC

Bug #210632 reported by Jaap Karssenberg
2
Affects Status Importance Assigned to Milestone
Zim
Status tracked in Pyzim
Pyzim
Fix Released
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 ?

Tags: win32 daemon
Changed in zim:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
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
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

See also bug #704899 - port zim to DBus

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

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

Revision history for this message
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?

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 210632] Re: win32 support for daemon / IPC

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

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

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

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Fixed in zim 0.57

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.