Bug 372708 - Kmail stopped working
Summary: Kmail stopped working
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 5.1.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-20 19:22 UTC by Ekkehard Blanz
Modified: 2022-12-10 05:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ekkehard Blanz 2016-11-20 19:22:44 UTC
Kmail was working fine for me using a gmail IMAP account - for years.  After upgrading to Kubuntu 16.04 LTS it started to show occasional problems loading emails in the preview pane.  Double clicking on the mail item to display it in its own window usually fixed the problem temporarily.  But the time it took to do that got longer and longer.  Now it stopped working entirely (I know it sounds a little weird and amateurish - but this is what I observed).  After a reboot, I get all my mail, but not after that anymore (without additional akonadi restarting actions).  Restarting kmail won't help - "akonadictl restart" does fix the problem.  The error message (at the bottom of the kmail window) is "Unable to fetch item from backend (collection -1): Unable to retrieve item from resource: Job cancelled" If I would not know how to restart akonadi, this would render the kmail version that comes with 16.04 LTS useless.  With restarting akonadictl, I have a usable workaround.

Please let me know if you need any additional information, logs, etc.
Comment 1 Andreas Bontozoglou 2017-11-13 10:15:23 UTC
I get the same behaviour. When I restart KMail without/before restarting akonadi I also get a segFault

# Details:

$ uname -a
Linux kde-2 4.10.0-37-generic #41~16.04.1-Ubuntu SMP Fri Oct 6 22:42:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.3 LTS
Release:        16.04
Codename:       xenial
$ kmail --version
kmail2 5.1.3
$ kded5 --version
kded5 5.18.0
$ akonadictl --version
Akonadi 5.1.51

# xsession

The relevant ~/.xsession-errors (from what I understand). It is 30M atm so I will clean up and collect better output next time...:

someone else requested item 28254 as well, marking as processed
continuing
request for item 28254 "145690" failed: "Unable to retrieve item from resource: Job cancelled."
ItemRetrieverException :  Unable to retrieve item from resource: Job cancelled.
continuing
request for item 28254 "145690" failed: "Unable to retrieve item from resource: Job cancelled."
ItemRetrieverException :  Unable to retrieve item from resource: Job cancelled.
posting retrieval request for item 28254  there are  1  queues and  0  items in mine
request for item 28254 still pending - waiting
processing retrieval request for item 28254  parts: ("RFC822")  of resource: "akonadi_imap_resource_1"
Pass a valid window to KWallet::Wallet::openWallet().
"The issuer certificate of a locally looked up certificate could not be found"
log_kio_sftp: special(): polling
log_kio_sftp: special(): polling
log_kio_sftp: special(): polling
log_kio_sftp: special(): polling
log_kio_sftp: special(): polling
log_kio_sftp: special(): polling
log_kio_sftp: special(): polling
org.kde.kurifilter-ikws: "\"Unable to retrieve item from resource: Job cancelled.\""
log_kio_sftp: special(): polling
file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/main.qml: QML Plasmoid: Cannot anchor to an item that isn't a parent or sibling.
file:///usr/share/plasma/plasmoids/org.kde.plasma.mediacontroller/contents/ui/main.qml: QML Plasmoid: Cannot anchor to an item that isn't a parent or sibling.
QXcbWindow: Unhandled client message: "_NET_CURRENT_DESKTOP"
QXcbWindow: Unhandled client message: "_NET_CURRENT_DESKTOP"
log_kio_sftp: special(): polling
log_kio_sftp: special(): polling
log_kio_sftp: special(): polling
log_kio_sftp: special(): polling
NOT Closing idle db connection; we are in transaction
log_kio_sftp: special(): polling


Hope the above helps,

Andreas



PS: @Ekkehard thank for the workaround :) - works nicely with a global shortcut too
Comment 2 Justin Zobel 2022-11-10 08:51:46 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 3 Ekkehard Blanz 2022-11-10 16:46:29 UTC
Sorry Justin,

I have long abandoned Kmail when its (and Akonadi's) issues with gmail became unbearable, I have no current installation of Kmail anymore.

A status of "Abandoned" would be appropriate, but I don't think it exists.

> On Nov 10, 2022, at 00:51, Justin Zobel <bugzilla_noreply@kde.org> wrote:
> 
> https://bugs.kde.org/show_bug.cgi?id=372708
> 
> Justin Zobel <justin.zobel@gmail.com> changed:
> 
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>             Status|REPORTED                    |NEEDSINFO
>         Resolution|---                         |WAITINGFORINFO
> 
> --- Comment #2 from Justin Zobel <justin.zobel@gmail.com> ---
> Thank you for reporting this issue in KDE software. As it has been a while
> since this issue was reported, can we please ask you to see if you can
> reproduce the issue with a recent software version?
> 
> If you can reproduce the issue, please change the status to "REPORTED" when
> replying. Thank you!
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
Comment 4 Bug Janitor Service 2022-11-25 05:16:33 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2022-12-10 05:13:48 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!