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

[coldsync-hackers] network connection - 404 in dump conduit



Hi!

coldsync and palm-perl from cvs.

Coldsync work as daemon for network connection as
described in README.daemon

Fetch and Sync conduits works ok, but dump always return
404 Missing Daemon header

In local synchronization via usb - fetch, sync and dump
works without problems.

It's my netsync.log (conduit:9 trace:9):

Running post-dump conduits for "dokumen".
Trying conduit [generic]...
  Flavor set 0x04 doesn't match 0x2
        =>Not applicable.
Trying conduit /usr/lib/coldsync/zamw-dbf.org...
crea_type_matches: conduit "/usr/lib/coldsync/zamw-dbf.org",
        creator: [zaba] (0x7a616261) / type: [DATA] (0x44415441)
        flags: 0x00
crea_type_matches: Comparing [zaba/DATA] (0x7a616261/0x44415441) (flags: 00)
crea_type_matches: Found a match.
  This conduit matches. Running "/usr/lib/coldsync/zamw-dbf.org"
Looking for built-in conduit "/usr/lib/coldsync/zamw-dbf.org"
Comparing to "[dummy]"
Comparing to "[generic]"
run_conduit: 0 prefs in this conduit
spawn_conduit: inpipe == 0, 4
spawn_conduit: tochild fd == 4
spawn_conduit: outpipe == 5, 6
spawn_conduit: fromchild fd == 5
Blocking SIGCHLD.
Conduit PID == 20382
Unblocking SIGCHLD.
Blocking SIGCHLD.
Header[0] Daemon:coldsync
Header[1] Version:3.0-pre4
Header[2] SyncType:Fast
Header[3] PDA-Snum:
Header[4] PDA-Username:Palm 5
Header[5] PDA-Directory:/home/palm5/.palm
Header[6] PDA-Default:0
Header[7] InputDB:/home/palm5/.palm/backup/dokumen.pdb
Header[8] OutputDB:/home/palm5/.palm/backup/dokumen.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: Palm 5
writing chunk [PDA-Username: Palm 5
] (21)
>>> PDA-Directory: /home/palm5/.palm
writing chunk [PDA-Directory: /home/palm5/.palm
] (33)
>>> PDA-Default: 0
writing chunk [PDA-Default: 0
] (15)
>>> InputDB: /home/palm5/.palm/backup/dokumen.pdb
writing chunk [InputDB: /home/palm5/.palm/backup/dokumen.pdb
] (46)
>>> OutputDB: /home/palm5/.palm/backup/dokumen.pdb
writing chunk [OutputDB: /home/palm5/.palm/backup/dokumen.pdb
] (47)
Unblocking SIGCHLD.
find_in_path: returning [/usr/lib/coldsync/zamw-dbf.org]
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
Child has written something
cond_readline: fgets() returned NULL
cond_readline: End of file
cond_readstatus: Child exited normally
Closing child's file descriptors.
- Closing fd 4
- Closing fd 5

What is wrong?

Regards
Andrzej Dzik
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.