Bug 247615 - gcal shows wrong error message on network problems and too often
Summary: gcal shows wrong error message on network problems and too often
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: GoogleData Resource (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Adenilson Cavalcanti
URL:
Keywords:
: 250554 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-13 09:31 UTC by Diggory Hardy
Modified: 2017-01-07 21:56 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
google-sync plugin spams error messages (354.02 KB, image/png)
2010-08-13 09:31 UTC, Diggory Hardy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diggory Hardy 2010-08-13 09:31:35 UTC
Created attachment 50109 [details]
google-sync plugin spams error messages

Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

See attachment. These dialogue-boxes showed up in pairs, roughly every two seconds. The error message is wrong, since this is a networking error, and they're showing up far too often (these kind of error messages should also really go through the KDE message system or something else where an active response (clicking "OK") isn't necessary).

Reproducible: Sometimes

Steps to Reproduce:
The case in the screen-shot happened while network connection was lost, and the ethernet cable was still plugged in (so network manager was trying to reconnect). Pulling out the cable stopped more dialog boxes appearing; when pushing it back in, they started appearing again until a connection was re-established.

Trying to reproduce by disconnecting the cable and re-inserting, I get one box show up while re-establishing the connection.



> dpkg -l "*akonadi*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                           Version                        Description
+++-==============================-==============================-============================================================================
un  akonadi-kde                    <none>                         (no description available)
ii  akonadi-kde-resource-googledat 1.1.0-1                        Google calendar and contacts resource for Akonadi
ii  akonadi-server                 1.3.1-3+b1                     Akonadi PIM storage service
ii  akonadiconsole                 4:4.4.5-1                      the Management and Debugging Console for Akonadi
ii  libakonadi-contact4            4:4.4.5-1                      library for using the Akonadi PIM data server
ii  libakonadi-kabc4               4:4.4.5-1                      library for using the Akonadi PIM data server
ii  libakonadi-kcal4               4:4.4.5-1                      library for using the Akonadi PIM data server
ii  libakonadi-kde4                4:4.4.5-1                      library for using the Akonadi PIM data server
ii  libakonadi-kmime4              4:4.4.5-1                      library for using the Akonadi PIM data server
ii  libakonadiprivate1             1.3.1-3+b1                     libraries for the Akonadi PIM storage service
Comment 1 Mark 2010-08-14 18:27:49 UTC
i can confirm on kde 4.5, happens eg. when going to/from suspend. really should show via kde's pop-ups or maybe not at all.
Comment 2 Alexey Shildyakov 2010-08-15 09:35:06 UTC
It's related to bugs 214337, 216817 and 243922. They describes why you have "Invalid password" error.
The bug I think that multiple try to connect to Google when connection was lost.
Comment 3 jamese 2010-10-07 12:01:30 UTC
*** Bug 250554 has been marked as a duplicate of this bug. ***
Comment 4 jamese 2010-10-07 12:20:48 UTC
can confirm this and it happens on resume/suspend and when the network connection drops. kde 4.5.1 kubuntu packages. I use the nm-applet networkmanager as well rather than knetworkmanager as the KDE one doesn't support DNS settings on Mobile Broadband.

As my notebook is going off to suspend I can see one dialog appear for a split second for the screen turns off. When I resume there are between 2 and 16 dialogues appear with matching entries in the taskbar.

When the network connection is up the dialogues do not appear.

hope this info helps. maybe the bug could be confirmed ?
Comment 5 jamese 2011-07-31 01:29:09 UTC
This is still happening in KDE 4.7 although it is now only 1 or 2 alert dialogs with the title:

"akonadi_google_resource"

Text:
"Invalid password or network proxy."

Akonadi icon is in the system tray at this time.


Steps to reproduce:
* set up Google data resource (calendar, contacts)
* confirm the user/password is correct (browse contacts, look at calendar etc)
* Then either do:

1 - Network Manager resets connection
* click on network manager in system tray
* click current connection to reconnect
* wait for reconnect
* dialog will appear on screen from Akonadi. Note it may be in a different Activity.
OR
2 - Suspend
* Suspend your laptop
* Resume
* Dialog will appear when the desktop comes back up


Reproducible:
* Always. Only happens when network is down, so Akonadi is working fine.

Solutions:
* Don't show the dialog at all if there is no network connection. I know my connection is down because my laptop is resuming or I manually reconnected with Network Manager. In this case the alert is superfluous noise. A user can dig around a bit more and visit google.com in their browser if they are unsure about connection, or look at the connection icon from NM.
* Push the alert to the notification thing in the systray if that's not possible
* If that's not possible, have a "never show again" checkbox in the alert box

Other than this little annoyance 4.7 is working great.

Thanks!

James

Bug #243922 may be related ?
Comment 6 Jari Laamanen 2011-08-14 11:31:51 UTC
I confirm Comment #5 in my kde 4.7 also.
Comment 7 Jari Laamanen 2011-11-08 20:22:45 UTC
This doesn't seem to happen anymore in kde 4.7.3

Akonadi 1.6.2
Qt: 4.7.4
KDE Development Platform: 4.7.3 (4.7.3)
Comment 8 Arnout Boelens 2012-04-11 14:07:45 UTC
I am running Debian unstable here (KDE 4.7.4 and Akonadi 1.6.2) and still get the error message.
Comment 9 Denis Kurz 2016-09-24 20:33:54 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 10 Denis Kurz 2017-01-07 21:56:47 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.