Re: trying to track down memo-file conduit bug



On Tue, 2003-08-26 at 15:59, James Strandboge wrote:
> On Tue, 2003-08-26 at 13:08, Matt Davey wrote:
> > Ok,
> > 
> > I've come up with a patch to fix the memo-file conduit problem.
> > It works for me.  I don't use evolution, etc., so this needs
> > further testing.  Other conduit code was already using the 
> > new marshalling stuff (see gpmarshal*), so the fix was
> > pretty straightforward.
> 
> I am glad to see someone get this to work.  However, after patching the
> files, it still doesn't work here.  Can you supply a patch against the
> original tarball instead of redhat's 2.0.10-2?

Ok-- from off list email I understand that was against 2.0.10.  I
applied the patches and it compiled and executes ok, then I get this
from gpilotd:

gpilotd-Message: Pilot ID is 1129, name is MyPilot2, owner is james
gpilotd-Message: Pilot has 0 entries in restore queue
gpilotd-Message: Pilot has 0 entries in conduit queue
memo-file-conduit-Message: MemoFile Conduit v 0.9
memo-file-conduit-Message: PreSync
memo-file-conduit-Message: load_records
memo-file-conduit-Message: load_categories
memo-file-conduit-Message: no categories, no records
 
(gpilotd:13892): gpilotd-WARNING **: Conduits initialization failed,
aborting operation
memo-file-conduit-Message: destroying memo_file conduit
gpilotd-Message: setting PILOTRATE=115200
 
(gpilotd:13892): gpilotd-WARNING **: pi_accept_to: Connection timed out
 
(gpilotd:13892): gpilotd-WARNING **: pi_accept_to: timeout was 2 secs



This is on i386 with Pam m500 (visor.c) on debian woody with gnome2.2
backport.

Versions of packages gnome-pilot depends on:
ii  bonobo-activation        1:2.2.2-1woody1 Bonobo Activation Framework
ii  libart-2.0-2             2.3.14-0jds1    Library of functions for 2D
graphi
ii  libatk1.0-0              1.2.4-1woody1   The ATK accessibility
toolkit
ii  libaudiofile0            0.2.3-4woody1   The Audiofile Library
ii  libbonobo-activation4    1:2.2.2-1woody1 Bonobo Activation Framework
-- run
ii  libbonobo2-0             2.2.3-1woody1   Bonobo CORBA interfaces
library
ii  libbonoboui2-0           2.2.2-1woody1   The Bonobo UI library
ii  libc6                    2.2.5-11.5      GNU C Library: Shared
libraries an
ii  libesd0                  0.2.29-1woody2  Enlightened Sound Daemon -
Shared
ii  libgconf2-4              2.2.1-1woody1   GNOME configuration
database syste
ii  libgcrypt1               1.1.12-1woody1  LGPL Crypto library -
runtime libr
ii  libglade2-0              2.0.1-3woody4   Library to load .glade
files at ru
ii  libglib2.0-0             2.2.2-1woody1   The GLib library of C
routines
ii  libgnome-pilot2          2.0.10-0jds2    Support libraries for
gnome-pilot
ii  libgnome2-0              2.2.3-0jds1     The GNOME 2 library -
runtime file
ii  libgnomecanvas2-0        2.2.1-1woody1   A powerful object-oriented
display
ii  libgnomeui-0             2.2.2-0jds1     The GNOME 2 libraries (User
Interf
ii  libgnomevfs2-0           2.2.5-2woody1   The GNOME virtual
file-system libr
ii  libgnomevfs2-common      2.2.5-2woody1   The GNOME virtual
file-system libr
ii  libgnutls5               0.8.1-1woody1   GNU TLS library - runtime
library
ii  libgtk2.0-0              2.2.2-1woody2   The GTK+ graphical user
interface
ii  libjpeg62                6b-5            The Independent JPEG
Group's JPEG
ii  liblinc1                 2:1.0.3-2jds1   library to simplify
creating netwo
ii  libncurses5              5.2.20020112a-7 Shared libraries for
terminal hand
ii  liborbit2                1:2.6.2-1woody2 Libraries for ORBit2 - a
CORBA ORB
ii  libpanel-applet2-0       2.2.2.2-0jds1   Library for GNOME 2 Panel
applets
ii  libpango1.0-0            1.2.3-1woody2   Layout and rendering of
internatio
ii  libpisock8               0.11.7-2woody2  Libraries for communicating
with a
ii  libpisync0               0.11.7-2woody2  Synchronization library for
PalmOS
ii  libpopt0                 1.6.2-7         lib for parsing cmdline
parameters
ii  libreadline4             4.2a-5          GNU readline and history
libraries
ii  libtasn1-0               0.1.2-1woody1   Manage ASN.1 structures
(runtime)
ii  libxml2                  2.5.7-1woody1   GNOME XML library
ii  xlibs                    4.2.1-3.woody3  X Window System client
libraries
ii  zlib1g                   1:1.1.4-1       compression library -
runtime


I strace'd gpilotd, and saw this:

read(17, "\233\1\0\0\240\0\1\34\1\32\0\17Unfiled\0\0\0\0\0\0\0\0"...,
292) = 292
write(2, "memo-file-conduit-Message: load_"...,
40memo-file-conduit-Message: load_records
) = 40
open("/home/james/Memos", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) =
16
fstat64(16, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
fcntl64(16, F_SETFD, FD_CLOEXEC)        = 0
write(2, "memo-file-conduit-Message: load_"...,
43memo-file-conduit-Message: load_categories
) = 43
open("/home/james/Memos/.categories", O_RDONLY) = -1 ENOENT (No such
file or directory)
write(2, "memo-file-conduit-Message: no ca"...,
53memo-file-conduit-Message: no categories, no records
) = 53
close(16)                               = 0
getpid()                                = 14671
write(2, "\n(gpilotd:14671): gpilotd-WARNIN"..., 89
(gpilotd:14671): gpilotd-WARNING **: Conduits initialization failed,
aborting operation
) = 89


so I did 'touch '~/Memos/.categories' and it synced with 'Copy from
Pilot'.  Now it synchronizes.  Not sure why it didn't just create
.categories, but it is a step in the right direction.

Jamie

-- 
James Strandboge
Targeted Performance Partners, LLC
Web: http://www.tpptraining.com
E-mail: jamie tpptraining com
Tel: (585) 271-8370
Fax: (585) 271-8373




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