On Wed, Dec 05, 2007 at 08:59:34AM -0500, Adam Ayd wrote:
>     00000170: 4b 65 65 70 65 72 20 4f 70 74 69 6f 6e 73 00 52  Keeper
> Options.R
>     00000180: 00 05 00 00 00 00 05 00 00 00 0f 00 43 61 6c
> 65  ............Cale
>     00000190: 6e 64 61 72 20 2d 20 41 6c 6c 00                 ndar -
> All.
> 
> BulkWrite to endpoint 3:
>     00000000: 06 00 07 00 41 00 00                             ....A..
> 
> Socket::Send: Endpoint 131
> Received:
>     00000000: 00 00 0c 00 13 06 01 00 05 00 00
> 00              ............
> 
> Socket::Receive: Endpoint 131
> Received:
>     00000000: 06 00 07 00 41 00 00                             ....A..
> 
> Member 2 of type barry-sync had an error while connecting: Controller:
> database name not found: Calendar

That's interesting, and the first time I've seen a Calendar database
with a different name.

If you're willing to do some testing, checkout the latest CVS and apply
the attached patch.  Make sure you use CVS, as I've made some changes that
pertain to this... if this is a large problem, let me know and I can
make a different patch, but it's best if you can get CVS working, so I
can work with you to fix this.

Once the new code is running, run the freshly compiled btool as follows:

        tools/btool -t

Make sure that "Calendar - All" is a listed database, then run:

        tools/btool -d "Calendar - All"

And let me know the output.  If you see human-readable data, like this:

Calendar entry: 0x2136266e (5)
   All Day Event: no
   Class: Public
   Free/Busy: Busy
   Subject: Doctors appt
   Notification Time: Mon Jan 10 08:45:00 2005
   Start Time: Mon Jan 10 09:00:00 2005
   End Time: Mon Jan 10 10:00:00 2005
   Recurring: no
    Unknowns:
        Type: 0x12 Data:
    00000000: 00 00 00 00                                      ....
        Type: 0x1b Data:
    00000000: 0c 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00  ................

it should be easy to patch Barry to work for you.  If you see hex dumps,
or errors, more data will be needed (and you can provide that data offline
instead of on the mailing list for privacy).

- Chris

diff -u -r1.2 r_calendar.h
--- src/r_calendar.h    14 Jul 2007 04:42:25 -0000      1.2
+++ src/r_calendar.h    7 Dec 2007 21:32:14 -0000
@@ -178,7 +178,7 @@
        bool operator<(const Calendar &other) const { return StartTime < 
other.StartTime; }
 
        // database name
-       static const char * GetDBName() { return "Calendar"; }
+       static const char * GetDBName() { return "Calendar - All"; }
        static uint8_t GetDefaultRecType() { return 5; }        // or 0?
 };
 
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to