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

[coldsync-hackers] fetch conduit does not update pdb




Good evening,

after fixing the previous problems, due to some misconfiguration of Perl due to
operator error (i.e. me), I have a problem with a fetch conduit for to dos. My dump
conduits work fine, but the following todo-fetch.pm does not work, and I have no clue
why?

Using the latest CVS version.

#!/usr/bin/perl
#----------------------------------------
#
# For access to the Palm
use Palm::PDB;
use Palm::ToDo;  
use ColdSync;
use ColdSync::SPC;
# For access to the database system
$pdb = new Palm::ToDo;
StartConduit("fetch");
$pdb->Load($HEADERS{"OutputDB"});
$pdb_record = $pdb->append_Record;
$pdb_record->{Description} = "Hallo";
$pdb_record->{Priority} = 5;
EndConduit("fetch");
exit 0;

Shouldn't this create a new todo? I know it did work a few month ago, but I have no
idea when in stopped working.

Question to the list is: Is the above way correct to add a single entry to the to do
list? What am I missing here? Do I have ->load the PDB explicitly or is this part of
StartConduit("fetch")? 

Any/all help is greatly appreciated.

TIA
rgds
pos

-- 
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.