It looks like the breakpoints weren't hit in either case (account #
replaced by nnnn):

$ SYNCEVOLUTION_DEBUG=1 gdb --args syncevolution --daemon=no --sync
refresh-from-local google
[...]
Reading symbols from syncevolution...done.
(gdb) b IdentityProviderCredentials
Function "IdentityProviderCredentials" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (IdentityProviderCredentials) pending.
(gdb) run
Starting program: /usr/bin/syncevolution --daemon=no --sync
refresh-from-local google
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[DEBUG 00:00:00] log path -> /home/twilson/.cache/syncevolution, <okay>
[DEBUG 00:00:00] checking log dir /home/twilson/.cache/syncevolution
[DEBUG 00:00:00] logfile:
/home/twilson/.cache/syncevolution/google-2014-10-05-14-12/syncevolution-log.html
[ERROR] goa:account_nnnn: need username+password as credentials
[INFO] creating complete data backup after sync (enabled with dumpData
and needed for printChanges)

Synchronization failed, see
/home/twilson/.cache/syncevolution/google-2014-10-05-14-12/syncevolution-log.html
for details.

Changes applied during synchronization:
+---------------|-----------------------|-----------------------|-CON-+
|               |       @default        |        @google        | FLI |
|        Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|          start Sun Oct  5 14:12:48 2014, duration 0:00min           |
|                  fatal error (local, status 10500)                  |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
First ERROR encountered: goa:account_nnnn: need username+password as credentials

[Inferior 1 (process 9427) exited with code 01]
(gdb) where
No stack.


SYNCEVOLUTION_DEBUG=1 gdb --args syncevolution --daemon=no --sync
refresh-from-local printChanges=0 google
[...]
Reading symbols from syncevolution...done.
(gdb) set follow-fork-mode child
(gdb) b IdentityProviderCredentials
Function "IdentityProviderCredentials" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (IdentityProviderCredentials) pending.
(gdb) run
Starting program: /usr/bin/syncevolution --daemon=no --sync
refresh-from-local printChanges=0 google
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[DEBUG 00:00:00] log path -> /home/twilson/.cache/syncevolution, <okay>
[DEBUG 00:00:00] checking log dir /home/twilson/.cache/syncevolution
[DEBUG 00:00:00] logfile:
/home/twilson/.cache/syncevolution/google-2014-10-05-14-18/syncevolution-log.html
[ERROR] goa:account_nnnn: need username+password as credentials
[INFO] creating complete data backup after sync (because it was
enabled with dumpData)

Synchronization failed, see
/home/twilson/.cache/syncevolution/google-2014-10-05-14-18/syncevolution-log.html
for details.

Changes applied during synchronization:
+---------------|-----------------------|-----------------------|-CON-+
|               |       @default        |        @google        | FLI |
|        Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
|          start Sun Oct  5 14:18:17 2014, duration 0:00min           |
|                  fatal error (local, status 10500)                  |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+
First ERROR encountered: goa:account_nnnn: need username+password as credentials
[Inferior 1 (process 9523) exited with code 01]
(gdb) where
No stack.

Todd Wilson, PhD
Department of Computer Science
California State University, Fresno


On Sun, Oct 5, 2014 at 12:23 PM, Patrick Ohly <[email protected]> wrote:
> On Sun, 2014-10-05 at 01:41 +0000, Todd Wilson wrote:
>> I may be overlooking something obvious here, but when using the latest
>> version (1.4.99.4-1) on Ubuntu 14.04, my GOA credentials are not being found:
>>
>> % syncevolution --sync refresh-from-local google
>> [ERROR] goa:account_nnnn: need username+password as credentials
>>
>> The account number I'm redacting as "nnnn" does exist (I can see it with
>> seahorse) and is authorized.
>
> This is something different. GOA credentials are found, but in addition,
> a method in SyncEvolution ("IdentityProviderCredentials()") is called to
> retrieve username and password for the account, which can't work.
>
> The method shouldn't be called. I'm not sure where it gets called either
> and cannot reproduce it here. Can you help to locate the call?
>
> Run like this:
>
> SYNCEVOLUTION_DEBUG=1 gdb --args syncevolution --daemon=no --sync 
> refresh-from-local google
> # b IdentityProviderCredentials
> # run
> ...
> # where
>
> This assumes that the local side runs into the problem. That's not
> guaranteed. It could also be the side where WebDAV is active. To find
> that, use:
>
> SYNCEVOLUTION_DEBUG=1 gdb --args syncevolution --daemon=no --sync 
> refresh-from-local printChanges=0 google
> # set follow-fork-mode child
> # b IdentityProviderCredentials
> # run
> ...
> # where
>
> --
> Best Regards, Patrick Ohly
>
> The content of this message is my personal opinion only and although
> I am an employee of Intel, the statements I make here in no way
> represent Intel's position on the issue, nor am I authorized to speak
> on behalf of Intel on this matter.
>
>
>
_______________________________________________
SyncEvolution mailing list
[email protected]
https://lists.syncevolution.org/mailman/listinfo/syncevolution

Reply via email to