[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[coldsync-hackers] Address.pm and PDB.pm
- To: coldsync-hackers at lusars dot net
- Subject: [coldsync-hackers] Address.pm and PDB.pm
- From: "Brian Johnson" <bjohnson at jecinc dot on.ca>
- Date: Wed, 07 Aug 2002 16:14:18 +0000
- Reply-To: coldsync-hackers at lusars dot net
- Sender: owner-coldsync-hackers at lusars dot net
Ok, I just downloaded a fresh copy of Address.pm and PDB.pm from CVS
The pda has some address records - I wondered if one/some records are corrupt (but
shouldn't the Palm modules handle that gracefully?)
I still get the following errors when I run a basically empty conduit:
find_in_path: returning
[/usr/share/coldsync-2.2.5/conduits/phpgwpalm/addressbook-phpgroupware]
No handler defined for creator "", type ""
Argument "" isn't numeric in bitwise and (&) at
/usr/lib/perl5/site_perl/5.6.1/Palm/PDB.pm line 462.
run_conduit: got status 301
Use of uninitialized value in subtraction (-) at
/usr/lib/perl5/site_perl/5.6.1/Palm/PDB.pm line 489.
run_conduit: got status 301
Use of uninitialized value in subtraction (-) at
/usr/lib/perl5/site_perl/5.6.1/Palm/PDB.pm line 490.
run_conduit: got status 301
Use of uninitialized value in subtraction (-) at
/usr/lib/perl5/site_perl/5.6.1/Palm/PDB.pm line 491.
run_conduit: got status 301
Use of uninitialized value in hash element at
/usr/lib/perl5/site_perl/5.6.1/Palm/PDB.pm line 520.
run_conduit: got status 301
Use of uninitialized value in hash element at
/usr/lib/perl5/site_perl/5.6.1/Palm/PDB.pm line 520.
run_conduit: got status 301
Use of uninitialized value in hash element at
/usr/lib/perl5/site_perl/5.6.1/Palm/PDB.pm line 520.
run_conduit: got status 301
Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.6.1/Palm/PDB.pm line 532.
run_conduit: got status 301
Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.6.1/Palm/PDB.pm line 532.
run_conduit: got status 301
No handler defined for creator "", type ""
run_conduit: got status 501
cond_readstatus: Child exited normally
run_conduit: got status 0
cond_readstatus: Child exited normally
Here is the conduit code:
#!/usr/bin/perl -w
use strict;
use Palm::Address;
use Palm::PDB;
use ColdSync;
use DBI;
use Time::Local;
use Date::Parse;
# Set default values
%HEADERS = (
'dsn' => 'DBI:mysql:database=phpgroupware',
'dbhost' => 'localhost',
'dbport' => '3306',
'dbuser' => 'root',
'dbpasswd' => '',
'phpid' => 599000,
'expunge' => 1
);
my $VERSION = (qw( $Revision: 1.6 $ ))[1];
my $err_prep_sql = "401 Error preparing sql";
my $err_exec_sql = "401 Error executing sql";
ConduitMain(
"fetch" => \&DoFetch2,
"dump" => \&DoDump2,
);
sub DoFetch2 {
}
sub DoDump2 {
}
--
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.