[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[coldsync-hackers] dump conduits fail with 404 Missing Daemon header



Hey all,

I saw some posts in the archive regarding this subject, but didn't see 
any resolution to the problem.

When I attempt to use and custom dump conduits, the following error is
reported:

404 Missing Daemon header
Missing Daemon header

I tried to write a conduit outside the ColdSyn namespace and capture 
STDIN to the conduit.  Surprisingly, I found that nothing was being 
sent to the conduit on STDIN.  I then put coldsync into debug mode,
with -d conduit:7 and got a little more information:

<snip>
Header[3] PDA-Snum:
Header[4] PDA-Username:paden
Header[5] PDA-Directory:/export/var/palm/paden
Header[6] PDA-Default:0
Header[7] InputDB:/export/var/palm/paden/backup/013, 3rd, Demo surv.pdb
Header[8] OutputDB:/export/var/palm/paden/backup/013, 3rd, Demo surv.pdb
Unblocking SIGCHLD.
>>> Daemon: coldsync
writing chunk [Daemon: coldsync
] (17)
>>> Version: 3.0-pre4
writing chunk [Version: 3.0-pre4
] (18)  
>>> SyncType: Fast
writing chunk [SyncType: Fast
] (15)  
>>> PDA-Snum:  
writing chunk [PDA-Snum: 
] (11)
>>> PDA-Username: paden
writing chunk [PDA-Username: paden
] (20)
>>> PDA-Directory: /export/var/palm/paden
writing chunk [PDA-Directory: /export/var/palm/paden
] (38)  
>>> PDA-Default: 0
writing chunk [PDA-Default: 0
] (15)  
>>> InputDB: /export/var/palm/paden/backup/013, 3rd, Demo surv.pdb
writing chunk [InputDB: /export/var/palm/paden/backup/013, 3rd, Demo surv.pdb
] (63)
>>> OutputDB: /export/var/palm/paden/backup/013, 3rd, Demo surv.pdb
writing chunk [OutputDB: /export/var/palm/paden/backup/013, 3rd, Demo surv.pdb
] (64)
Unblocking SIGCHLD.
find_in_path: returning [/export/dmos/conduits/test.pl]
404 Missing Daemon header
run_conduit: select() returned 1
Child has printed to stdout.
Blocking SIGCHLD.
cond_readline: About to select()
cond_readline: select() returned 1
Child has written something 
cond_readstatus: <<< "404 Missing Daemon header"
Missing Daemon header
Unblocking SIGCHLD.
run_conduit: got status 404
siglongjmp(1)ing out of SIGCHLD.
Returned from sigsetjmp(): 1
cond_readline: About to select()
cond_readline: select() returned 1
</snip>

It looks to me like the headers are **never** printed to the conduit, 
though I have been over and over the code and can't figure out why.  
Anyone know the fix for this?
 


-- 
Brett Paden
bpaden@trimeros.com
http://trimeros.com
877.352.data (office)
954.663.0678 (cell)
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.