Re: Problems syncing calendar and addressbook with Treo 680
Hi Chris, On Mon, 2009-11-23 at 10:10 -0600, Chris Payne wrote: [...] > Well, I did say I would help debug ;-) > > I followed those instructions (thanks for the link, I'm more of an rpm > guy so those were helpful on this Ubuntu laptop). I commented the "if" > statement as below: [...] > and it indeed copied my Datebook/Calendar from the Treo to the proper > calendar in Evolution as instructed. Presumably the > Addressbook/Contacts will work as well now. > > Can you confirm the above the appropriate long term solution before I > sync up the contacts and start syncing on a regular basis? Excellent! How very gratifying. Weird that your databases have that flag set. I have no idea why that should be. Your fix looks fine. I expect I'll make the same changes on trunk and it'll show up in the next release, whenever that may be. Matt Matt Davey It takes one drink to get me drunk, but I can't mcda...@mrao.cam.ac.uk remember if it's the 13th or 14th -- George Burns ___ gnome-pilot-list mailing list gnome-pilot-list@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-pilot-list
Re: Problems syncing calendar and addressbook with Treo 680
Hello Matt- On Sat, Nov 21, 2009 at 7:29 AM, Matt Davey wrote: > > I've played around a bit, and I can't figure out where, if anywhere, > the 'exclude from sync' setting might be toggled (or used). It is > possible that it is an obsolete flag that gnome-pilot should be > ignoring. I've asked a question on the pilot-link-devel list, > and we'll see if any info surfaces there. It's odd that no one seems > to have run into this issue before, to my knowledge. > > The solution is almost certainly to re-compile gnome-pilot from source, > changing manager.c to remove the check on the "dlpDBMiscFlagExcludeFromSync". > If you are on Ubuntu and need some tips on compiling from source, take a > look here: > https://bugs.launchpad.net/ubuntu/+source/gnome-pilot/+bug/349650/comments/21 > > I know, not the answer you were hoping for :( Well, I did say I would help debug ;-) I followed those instructions (thanks for the link, I'm more of an rpm guy so those were helpful on this Ubuntu laptop). I commented the "if" statement as below: $ diff manager.c.orig gnome-pilot-2.0.17/gpilotd/manager.c 363,364c363,364 < /* check if the base is marked as being excluded from sync */ < if (!(PI_DBINFO (dbinfo)->miscFlags & dlpDBMiscFlagExcludeFromSync)) { --- > ///* check if the base is marked as being excluded from sync */ > //if (!(PI_DBINFO (dbinfo)->miscFlags & > dlpDBMiscFlagExcludeFromSync)) { 393,396c393,396 < } else { < LOG (("Base %s is to be ignored by sync", PI_DBINFO (dbinfo)->name)); < continue; < } --- > //} else { > //LOG (("Base %s is to be ignored by sync", PI_DBINFO > (dbinfo)->name)); > //continue; > //} $ and it indeed copied my Datebook/Calendar from the Treo to the proper calendar in Evolution as instructed. Presumably the Addressbook/Contacts will work as well now. Can you confirm the above the appropriate long term solution before I sync up the contacts and start syncing on a regular basis? Thanks, this is great! Chris ___ gnome-pilot-list mailing list gnome-pilot-list@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-pilot-list
Re: Problems syncing calendar and addressbook with Treo 680
> On Fri, Nov 20, 2009 at 11:29 AM, Matt Davey wrote: > > On Fri, 2009-11-20 at 09:12 -0600, Chris Payne wrote: > >> gpilotd-Message: Base AddressDB is to be ignored by sync > >> gpilotd-Message: Base DatebookDB is to be ignored by sync > > (among others) > > > > This is surprising. =A0Have you marked these applications on your Treo as > > "not for backup"? =A0Have a dig. =A0These messages suggest the PDA databa= > ses > > are marked as to be ignored (i.e. PDA-side, not desktop-side). =A0Note > > that the memo DB is not showing this message. > > Well, using FileZ I poked around to see what was set for backup or not > (is there a better way to find this out on the Palm?). According to > it, both the MemoDb and the DatebookDb have the backup bit un-set, > which I read as "do not backup". I toggled the backup bit to on for > DatebookDb but there was no change. > > Just to prove I was not fooling myself through all the iterations, I > enabled the Memo conduit (still not set for backup on the Palm) and > the successful sync output is included below. > > Not sure what to do next, but thanks for the help. I've played around a bit, and I can't figure out where, if anywhere, the 'exclude from sync' setting might be toggled (or used). It is possible that it is an obsolete flag that gnome-pilot should be ignoring. I've asked a question on the pilot-link-devel list, and we'll see if any info surfaces there. It's odd that no one seems to have run into this issue before, to my knowledge. The solution is almost certainly to re-compile gnome-pilot from source, changing manager.c to remove the check on the "dlpDBMiscFlagExcludeFromSync". If you are on Ubuntu and need some tips on compiling from source, take a look here: https://bugs.launchpad.net/ubuntu/+source/gnome-pilot/+bug/349650/comments/21 I know, not the answer you were hoping for :( Matt ___ gnome-pilot-list mailing list gnome-pilot-list@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-pilot-list
Re: Problems syncing calendar and addressbook with Treo 680
On Fri, 2009-11-20 at 12:02 -0600, Chris Payne wrote: > On Fri, Nov 20, 2009 at 11:29 AM, Matt Davey wrote: > > On Fri, 2009-11-20 at 09:12 -0600, Chris Payne wrote: > >> gpilotd-Message: Base AddressDB is to be ignored by sync > >> gpilotd-Message: Base DatebookDB is to be ignored by sync > > (among others) > > > > This is surprising. Have you marked these applications on your Treo as > > "not for backup"? Have a dig. These messages suggest the PDA databases > > are marked as to be ignored (i.e. PDA-side, not desktop-side). Note > > that the memo DB is not showing this message. > > Well, using FileZ I poked around to see what was set for backup or not > (is there a better way to find this out on the Palm?). According to > it, both the MemoDb and the DatebookDb have the backup bit un-set, > which I read as "do not backup". I toggled the backup bit to on for > DatebookDb but there was no change. Is the bit still toggled to on? Has it magically changed back? Might sound like a dumb question, but the DatebookDB is a bit "magic" as it is created on the fly by PalmOS as a backwards compatibility access to the ContactsDB-PAdd database. I don't have a device to hand, but I suspect there is something on the Treo that lets you mark which databases to exclude from backups. > Just to prove I was not fooling myself through all the iterations, I > enabled the Memo conduit (still not set for backup on the Palm) and > the successful sync output is included below. Well, I'm just saying that the log messages indicate gnome-pilot is deliberately ignoring those databases and not calling the address/calendar conduits as a result. The error messages about not reading the system info may or may not be significant, but I doubt it given that the memo sync is working fine. > Not sure what to do next, but thanks for the help. You're welcome. I'd keep looking for PDA-side specification of which apps to sync. Matt Matt Davey Make it as simple as possible, but no simpler. mcda...@mrao.cam.ac.uk Einstein. ___ gnome-pilot-list mailing list gnome-pilot-list@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-pilot-list
Re: Problems syncing calendar and addressbook with Treo 680
On Fri, Nov 20, 2009 at 11:29 AM, Matt Davey wrote: > On Fri, 2009-11-20 at 09:12 -0600, Chris Payne wrote: >> gpilotd-Message: Base AddressDB is to be ignored by sync >> gpilotd-Message: Base DatebookDB is to be ignored by sync > (among others) > > This is surprising. Have you marked these applications on your Treo as > "not for backup"? Have a dig. These messages suggest the PDA databases > are marked as to be ignored (i.e. PDA-side, not desktop-side). Note > that the memo DB is not showing this message. Well, using FileZ I poked around to see what was set for backup or not (is there a better way to find this out on the Palm?). According to it, both the MemoDb and the DatebookDb have the backup bit un-set, which I read as "do not backup". I toggled the backup bit to on for DatebookDb but there was no change. Just to prove I was not fooling myself through all the iterations, I enabled the Memo conduit (still not set for backup on the Palm) and the successful sync output is included below. Not sure what to do next, but thanks for the help. Cheers Chris gpilotd-Message: gnome-pilot 2.0.17 starting... gpilotd-Message: compiled for pilot-link version 0.12.3 gpilotd-Message: compiled with [VFS] [USB] [IrDA] [Network] [Bluetooth] gpilotd-Message: Activating CORBA server gpilotd-Message: bonobo_activation_active_server_register = 0 gpilotd-Message: Watching Treo680 (usb:) gpilotd-Message: Client seems ok gpilotd-Message: Client seems ok gpilotd-Message: monitor_on(pilot_name="Treo680",client_id = IOR:01001b00...) gpilotd-Message: corba: notify_on(event_type=CONNECT,callback=IOR:01001b00...) gpilotd-Message: corba: notify_on(event_type=DISCONNECT,callback=IOR:01001b00...) gpilotd-Message: Shutting down devices gpilotd-Message: Rereading configuration... gpilotd-Message: Watching Treo680 (usb:) gpilotd-Message: Shutting down devices gpilotd-Message: Rereading configuration... gpilotd-Message: Watching Treo680 (usb:) gpilotd-Message: Found 4766, 0001 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0502, 0736 gpilotd-Message: Using net TRUE gpilotd-Message: Found 091e, 0004 gpilotd-Message: Using net TRUE gpilotd-Message: Found 115e, f100 gpilotd-Message: Using net TRUE gpilotd-Message: Found 082d, 0100 gpilotd-Message: Using net FALSE gpilotd-Message: Found 082d, 0200 gpilotd-Message: Using net TRUE gpilotd-Message: Found 082d, 0300 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0c88, 0021 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0001 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0002 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0003 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0020 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0031 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0040 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0050 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0060 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0061 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0070 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0080 gpilotd-Message: Using net TRUE gpilotd-Message: Found 04e8, 8001 gpilotd-Message: Using net TRUE gpilotd-Message: Found 04e8, 6601 gpilotd-Message: Using net TRUE gpilotd-Message: Found 054c, 0038 gpilotd-Message: Using net TRUE gpilotd-Message: Found 054c, 0066 gpilotd-Message: Using net TRUE gpilotd-Message: Found 054c, 0095 gpilotd-Message: Using net TRUE gpilotd-Message: Found 054c, 009a gpilotd-Message: Using net TRUE gpilotd-Message: Found 054c, 00c9 gpilotd-Message: Using net TRUE gpilotd-Message: Found 054c, 00da gpilotd-Message: Using net TRUE gpilotd-Message: Found 054c, 00e9 gpilotd-Message: Using net TRUE gpilotd-Message: Found 054c, 0144 gpilotd-Message: Using net TRUE gpilotd-Message: Found 054c, 0169 gpilotd-Message: Using net TRUE gpilotd-Message: Found 12ef, 0100 gpilotd-Message: Using net TRUE gpilotd-Message: setting PILOTRATE=57600 (gpilotd:19801): gpilotd-WARNING **: An error occurred while getting the PDA's system data (gpilotd:19801): gpilotd-WARNING **: error -201 from pi_close. gpilotd-Message: setting PILOTRATE=57600 gpilotd-Message: Device Treo680 has 0 events gpilotd-Message: corba: orbed_notify_user, notifications->connect.size = 1, id = Treo680 gpilotd-Message: Client appears to be disconnected... (gpilotd:19801): gpilotd-WARNING **: orbit_daemon_glue.c:1488 Exception: IDL:omg.org/CORBA/COMM_FAILURE:1.0 gpilotd-Message: removing monitor on Treo680 for IOR:01 gpilotd-Message: Instantiating 2 conduits... ecalconduit-Message: in calendar's conduit_get_gpilot_conduit ememoconduit-Message: in memo's conduit_get_gpilot_conduit gpilotd-Message: Instantiated 0 backup conduits, 0 file conduits, 2 other conduits gpilotd-Message: HotSync button pressed, synchronizing PDA gpilotd-Message: PDA ID is 3049233860, name is Treo680, owner is ch
Re: Problems syncing calendar and addressbook with Treo 680
On Fri, 2009-11-20 at 09:12 -0600, Chris Payne wrote: > gpilotd-Message: Base AddressDB is to be ignored by sync > gpilotd-Message: Base DatebookDB is to be ignored by sync (among others) This is surprising. Have you marked these applications on your Treo as "not for backup"? Have a dig. These messages suggest the PDA databases are marked as to be ignored (i.e. PDA-side, not desktop-side). Note that the memo DB is not showing this message. Matt Matt Davey"People demand freedom of speech as a compensation for mcda...@mrao.cam.ac.uk the freedom of thought which they seldom use." -- -Soren Kierkegaard ___ gnome-pilot-list mailing list gnome-pilot-list@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-pilot-list
Re: Problems syncing calendar and addressbook with Treo 680
Hello Matt- On Fri, Nov 20, 2009 at 8:31 AM, Matt Davey wrote: > Hmm, > > That's pretty strange. Is that the sum total of gpilotd output? If > not, please send more complete output. > > I presume you've configured the conduits via the configuration applet, > and specified which addressbook and calendar to sync with? Below is a full log from gpilotd from an attempt to sync. I ran the config applet to confirm that the conduits were all disabled except for the ECalendar one. It is set to "Synchonize" with a one time action of "Copy from PDA". I have created a custom calendar called "Treo680" in Evolution and have selected it as the destination. I plugged in the Treo and ran sync from the sync app. When I had more enabled, others (ie Memo) did work properly, I have all my memos in Evolution. I did search the WARNINGS in the output, but nothing insightful came up. > Could it be caused by this issue: > http://lists.pilot-link.org/pipermail/pilot-link-devel/2009-October/001782.html > Can you do "pilot-xfer -p usb: -l" and see if DatebookDB exists, for > example? OK, I ran this: $ pilot-xfer -p usb: -l |tee /tmp/pilot-xfer-l.out $ grep -i date /tmp/pilot-xfer-l.out Datebk3HDB DatebookDB $ So it appears to be there. Datebook is version 4.5.1.1P, is 171K, and has 2791 records (from Info), which I don't think is *that* big. Thanks for the help, I'm willing to help debug of course, let me know if you need any other information. Chris gpilotd-Message: gnome-pilot 2.0.17 starting... gpilotd-Message: compiled for pilot-link version 0.12.3 gpilotd-Message: compiled with [VFS] [USB] [IrDA] [Network] [Bluetooth] gpilotd-Message: Activating CORBA server gpilotd-Message: bonobo_activation_active_server_register = 0 gpilotd-Message: Watching Treo680 (usb:) gpilotd-Message: Client seems ok gpilotd-Message: Client seems ok gpilotd-Message: monitor_on(pilot_name="Treo680",client_id = IOR:01001b00...) gpilotd-Message: corba: notify_on(event_type=CONNECT,callback=IOR:01001b00...) gpilotd-Message: corba: notify_on(event_type=DISCONNECT,callback=IOR:01001b00...) gpilotd-Message: Shutting down devices gpilotd-Message: Rereading configuration... gpilotd-Message: Watching Treo680 (usb:) gpilotd-Message: Found 4766, 0001 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0502, 0736 gpilotd-Message: Using net TRUE gpilotd-Message: Found 091e, 0004 gpilotd-Message: Using net TRUE gpilotd-Message: Found 115e, f100 gpilotd-Message: Using net TRUE gpilotd-Message: Found 082d, 0100 gpilotd-Message: Using net FALSE gpilotd-Message: Found 082d, 0200 gpilotd-Message: Using net TRUE gpilotd-Message: Found 082d, 0300 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0c88, 0021 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0001 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0002 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0003 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0020 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0031 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0040 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0050 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0060 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0061 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0070 gpilotd-Message: Using net TRUE gpilotd-Message: Found 0830, 0080 gpilotd-Message: Using net TRUE gpilotd-Message: Found 04e8, 8001 gpilotd-Message: Using net TRUE gpilotd-Message: Found 04e8, 6601 gpilotd-Message: Using net TRUE gpilotd-Message: Found 054c, 0038 gpilotd-Message: Using net TRUE gpilotd-Message: Found 054c, 0066 gpilotd-Message: Using net TRUE gpilotd-Message: Found 054c, 0095 gpilotd-Message: Using net TRUE gpilotd-Message: Found 054c, 009a gpilotd-Message: Using net TRUE gpilotd-Message: Found 054c, 00c9 gpilotd-Message: Using net TRUE gpilotd-Message: Found 054c, 00da gpilotd-Message: Using net TRUE gpilotd-Message: Found 054c, 00e9 gpilotd-Message: Using net TRUE gpilotd-Message: Found 054c, 0144 gpilotd-Message: Using net TRUE gpilotd-Message: Found 054c, 0169 gpilotd-Message: Using net TRUE gpilotd-Message: Found 12ef, 0100 gpilotd-Message: Using net TRUE gpilotd-Message: setting PILOTRATE=57600 (gpilotd:13681): gpilotd-WARNING **: An error occurred while getting the PDA's system data (gpilotd:13681): gpilotd-WARNING **: error -201 from pi_close. gpilotd-Message: setting PILOTRATE=57600 gpilotd-Message: Device Treo680 has 0 events gpilotd-Message: corba: orbed_notify_user, notifications->connect.size = 1, id = Treo680 gpilotd-Message: Client appears to be disconnected... (gpilotd:13681): gpilotd-WARNING **: orbit_daemon_glue.c:1488 Exception: IDL:omg.org/CORBA/COMM_FAILURE:1.0 gpilotd-Message: removing monitor on Treo680 for IOR:01 gpilotd-Message: Instantiating 1 conduits... ecalconduit-Message: in calendar's conduit_get_gpilot_conduit gpilotd
Re: Problems syncing calendar and addressbook with Treo 680
Hmm, That's pretty strange. Is that the sum total of gpilotd output? If not, please send more complete output. I presume you've configured the conduits via the configuration applet, and specified which addressbook and calendar to sync with? Could it be caused by this issue: http://lists.pilot-link.org/pipermail/pilot-link-devel/2009-October/001782.html Can you do "pilot-xfer -p usb: -l" and see if DatebookDB exists, for example? Maybe others will have ideas. Matt On Thu, 2009-11-19 at 13:21 -0600, Chris Payne wrote: > Hello- > > (First of all, I'm not sure if this should be reported to the gpilotd > or evolution lists. I tried the evolution list first as the conduit is > included > in the evolution package, but got no response after a couple days. Perhaps > someone here has some advice). > > I am attempting to synchronize my Treo 680 with evolution, but the > calendar and addressbook conduits never sync in either direction. The > ultimate goal is to sync my exchange calendar to my phone, but for now > I am just attempting to get the information off the Treo into > evolution. I have regularly, successfully synced this phone to jpilot, > so I things *can* work. > > When running a sync, the gpilotd output shows the conduits are in the config: > > gpilotd-Message: Instantiating 2 conduits... > eaddrconduit-Message: in address's conduit_get_gpilot_conduit > > ecalconduit-Message: in calendar's conduit_get_gpilot_conduit > > gpilotd-Message: Instantiated 0 backup conduits, 0 file conduits, 2 > other conduits > gpilotd-Message: HotSync button pressed, synchronizing PDA > > but nothing ever syncs. The memo conduit has worked (although disabled > above) and has synced all the memos from my Treo to evolution. > > Specific version details, up to date Ubuntu 9.10 64bit: > > $ uname -a > Linux HOST 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC > 2009 x86_64 GNU/Linux > $ evolution --version > GNOME evolution 2.28.1 > $ gpilotd --version > gpilotd-Message: gnome-pilot 2.0.17 starting... > gpilotd-Message: compiled for pilot-link version 0.12.3 > gpilotd-Message: compiled with [VFS] [USB] [IrDA] [Network] [Bluetooth] > GNOME gnome-pilot 2.0.17 > $ > > It seems it might be related to this bug > > https://bugzilla.gnome.org/show_bug.cgi?id=201167 > > but that is marked as fixed in 2.26. After much googling and > troubleshooting, i am at a loss. Is there something I am missing? > > Thanks in advance, > Chris > ___ > gnome-pilot-list mailing list > gnome-pilot-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gnome-pilot-list > Matt Davey It takes one drink to get me drunk, but I can't mcda...@mrao.cam.ac.uk remember if it's the 13th or 14th -- George Burns ___ gnome-pilot-list mailing list gnome-pilot-list@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-pilot-list