Re: [Evolution] OAuth2 secret not found and gmail

2021-10-30 Thread Ángel
On 2021-10-27 at 14:35 -0700, Van Snyder wrote:
> I have not updated WebKitGTK explicitly. I was unaware of its
> existence and role until I read this message. I ran "apt-get update".
> One is recommended to do this frequently. I haven't examined the long
> log to determine whether WebKitGTK was part of the update.

apt-get update updates the *list* of packages, but it doesn't update
the system itself. To do that, in addition of an apt-get update you
would need to *then* perform also apt-get dist-upgrade (or, for a more
limited upgrade, apt-get upgrade)


By the way:
> I'm using Evolution 3.38.3-1 on Debian Buster 10.

The version in Debian 10 "Buster" is evolution 3.30.5-1.1

whereas evolution 3.38.3-1 i is found in Debian 11 "Bullseye". You
probably got one of the pieces wrong.

The webkit package mentioned by Milan is named libwebkit2gtk-4.0-37 in
Debian, with latest version being 2.34.1-1~deb10u1 and 2.32.4-1~deb11u1 
respectively.

You can find the version you have installed running:
  dpkg -l libwebkit2gtk-4.0-37


Regards


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] OAuth2 secret not found and gmail

2021-10-29 Thread Milan Crha via evolution-list
On Wed, 2021-10-27 at 14:35 -0700, Van Snyder wrote:
> What can I do when the credential prompt doesn't work?

Hi,
one option was to _try_ to downgrade the WebKitGTK, which you rejected
to do. That component takes care of the web part of that credential
prompt, thus it's the first place to look for changes at.

When you run Evolution from a terminal, will it print anything there? I
mean any runtime warning. It can be from other than the evolution
process itself.

I recall some issues with accessibility enabled, specifically with a
screen reader, but maybe other parts of it can have its influence as
well. Could you try to disable all parts of the accessibility,
specially also the Orca? There used to work:

   $ gsettings set org.gnome.desktop.interface toolkit-accessibility false

but I do not know whether it's still used. Such change might require
restart of the machine, I think.

> Is there a special reason that Evolution produces a pop-up to request
> a password only for sbcglobal.net, and not for gmail.com?

No idea, I'm sorry. Let's focus on one problem, then move to another.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] OAuth2 secret not found and gmail

2021-10-27 Thread Van Snyder
On Wed, 2021-10-27 at 09:37 +0200, Milan Crha via evolution-list wrote:
> On Tue, 2021-10-26 at 17:57 -0700, Van Snyder wrote:
> > I have no idea where to paste that into Evolution. An offer to save
> > a
> > password in my keyring is not presented.
> 
> Hi,
> there's no place to paste it in, the whole process is supposed to run
> inside the credential prompt.

What can I do when the credential prompt doesn't work? As remarked in
the original message, the pop-up says "Login to google..." with a grey
box and a URL, which rapidly disappears. Then the grey box is filled
with an invitation to log in to google, in which nothing works. Any
keystroke or mouse click erases the "log in to google" frame, leaving a
grey pop-up only with "Log in to google..." and the URL pane erased.


I  can't send a screenshot of it having the "Sign in to google"
invitation below the empty URL pane because any keystroke, including
"Print Screen" erases it.

> That it misbehaves is suspicious. Did you
> update WebKitGTK recently?

I have not updated WebKitGTK explicitly. I was unaware of its existence
and role until I read this message. I ran "apt-get update". One is
recommended to do this frequently. I haven't examined the long log to
determine whether WebKitGTK was part of the update.

> I do not know how Debian names it, maybe
> webkit2gtk3 or any other name. I would try to downgrade it.

Downgrading things in Debian is an invitation to get version conflicts,
so that many things suddenly stop working.

> Did you replace an existing value in the Seahorse or the key was not
> there at all?

There was a key in Seahorse when one gmail account was not working, but
not others. Every time I go to google to get a new key, it's different.
I replaced the not-working one in Seahorse, and it still doesn't work.
And there's no entry in Seahorse for the other not-working gmail
account.

> If you replaced it, then it's too late to restore to the
> previous state. The "OAuth2 Secret not found" can also show when the
> evolution-source-registry, or better the  libsecret, lost connection
> to
> the gnome-keyring-daemon.

There was no additional information below "OAuth2 Secret not found" --
just a grey box that fairly quickly filled with the invitation to log
into google, in which nothing worked.

> There usually helps:
>    $ evolution --force-shutdown
> which restarts Evolution and all the evolution-data-server processes,
> thus they reconnect to the (new) gnome-keyring-daemon and other
> background processes, which could restart meanwhile.

I've done that, and rebooted, several times.

For my sbcglobal.net accounts, when they want a password, there is a
pop-up to provide a password. For gmail accounts, all that's produced
is the non-working window that invites me to log in to google and get
something to "paste into your application." Is there a special reason
that Evolution produces a pop-up to request a password only for
sbcglobal.net, and not for gmail.com?

> Bye,
> Milan
> 
> ___
> evolution-list mailing list
> evolution-list@gnome.org
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] OAuth2 secret not found and gmail

2021-10-27 Thread Milan Crha via evolution-list
On Wed, 2021-10-27 at 09:42 -0500, Christopher Marlow wrote:
> I was having that same issue with the flatpak version of Evolution

Hi,
the Flatpak is affected by a libsecret bug:
https://gitlab.gnome.org/GNOME/libsecret/-/issues/62
As far as I can tell, it affects only Flatpak, not the host system
applications.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] OAuth2 secret not found and gmail

2021-10-27 Thread Christopher Marlow
On Tue, 2021-10-26 at 19:35 -0700, Van Snyder wrote:
> I logged into my gmail accounts through Firefox. The security pages
> insist Evolution can access them.
> 
> > 
> > I have no idea where to paste that into Evolution. An offer to save
> > a password in my keyring is not presented.
> > 
> > I tried pasting the gibberish into the password box in seahorse for
> > that account, but it didn't change Evolution's behavior.
> > 
> > I'm using Evolution 3.38.3-1 on Debian Buster 10.
> > 

I was having that same issue with the flatpak version of Evolution

I wound up installing Gnome-Online-Accounts and then rebooted and that
seemed to fix setting up my Google Workplace account, and my free gmail
account.

I am using MATE btw...

On the SMTP server I set Evolution SMTP Authentication to "LOGIN"
instead of O Oath and it seems to be working fine for me.

Chris
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] OAuth2 secret not found and gmail

2021-10-27 Thread Milan Crha via evolution-list
On Tue, 2021-10-26 at 17:57 -0700, Van Snyder wrote:
> I have no idea where to paste that into Evolution. An offer to save a
> password in my keyring is not presented.

Hi,
there's no place to paste it in, the whole process is supposed to run
inside the credential prompt. That it misbehaves is suspicious. Did you
update WebKitGTK recently? I do not know how Debian names it, maybe
webkit2gtk3 or any other name. I would try to downgrade it.

Did you replace an existing value in the Seahorse or the key was not
there at all? If you replaced it, then it's too late to restore to the
previous state. The "OAuth2 Secret not found" can also show when the
evolution-source-registry, or better the  libsecret, lost connection to
the gnome-keyring-daemon. There usually helps:
   $ evolution --force-shutdown
which restarts Evolution and all the evolution-data-server processes,
thus they reconnect to the (new) gnome-keyring-daemon and other
background processes, which could restart meanwhile.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] OAuth2 secret not found and gmail

2021-10-26 Thread Van Snyder
On Tue, 2021-10-26 at 17:57 -0700, Van Snyder wrote:
> Yesterday I started getting "OAuth2 Secret not found" pop-ups for
> gmail accounts.
> 
> At first, it's just a mostly-empty box with "Login to your Google
> account and accept conditions in order to access your mail account
> "gmail:gmail" (and similar messages for other gmail accounts).
> 
> There's a URL pane that briefly has a URL in it, but the "image" area
> in the bottom pane quickly fills with a "Sign in to googlle.com"
> image in which nothing works. When that happens, the URL is erased.
> Any keystroke, or a mouse click, erases that box. Pushing the
> "Cancel" button simply repeats. Closing the pop-up window makes it go
> away, until I try to read another message.
> 
> I was able to triple-click suffiently quickly to pick up the URL and
> paste it into my browser, where google asked me to allow Evolution to
> access my account. I clicked "Allow" and it put up another message
> that said "lease copy this code, switch to your application and paste
> it there:" and then 62 characters of gibberish that I assume is some
> kind of randomly-generated password.

I logged into my gmail accounts through Firefox. The security pages
insist Evolution can access them.

> 
> I have no idea where to paste that into Evolution. An offer to save a
> password in my keyring is not presented.
> 
> I tried pasting the gibberish into the password box in seahorse for
> that account, but it didn't change Evolution's behavior.
> 
> I'm using Evolution 3.38.3-1 on Debian Buster 10.
> 
> ___
> evolution-list mailing list
> evolution-list@gnome.org
> To change your list options or unsubscribe, visit ...
> https://mail.gnome.org/mailman/listinfo/evolution-list

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] OAuth2 secret not found and gmail

2021-10-26 Thread Van Snyder
Yesterday I started getting "OAuth2 Secret not found" pop-ups for gmail
accounts.

At first, it's just a mostly-empty box with "Login to your Google
account and accept conditions in order to access your mail account
"gmail:gmail" (and similar messages for other gmail accounts).

There's a URL pane that briefly has a URL in it, but the "image" area
in the bottom pane quickly fills with a "Sign in to googlle.com" image
in which nothing works. When that happens, the URL is erased. Any
keystroke, or a mouse click, erases that box. Pushing the "Cancel"
button simply repeats. Closing the pop-up window makes it go away,
until I try to read another message.

I was able to triple-click suffiently quickly to pick up the URL and
paste it into my browser, where google asked me to allow Evolution to
access my account. I clicked "Allow" and it put up another message that
said "lease copy this code, switch to your application and paste it
there:" and then 62 characters of gibberish that I assume is some kind
of randomly-generated password.

I have no idea where to paste that into Evolution. An offer to save a
password in my keyring is not presented.

I tried pasting the gibberish into the password box in seahorse for
that account, but it didn't change Evolution's behavior.

I'm using Evolution 3.38.3-1 on Debian Buster 10.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list