[Bug 1821868] Re: Kmail (or Kontact) crashes on 1st run on a fresh system: Failed SpecialCollectionsRequestJob::slotResult "Invalid parent"

2020-07-02 Thread Steve Langasek
Ubuntu 19.04 reached end of life on January 23, 2020.  I am therefore
marking this bug 'wontfix' for that release.

** Changed in: kmail (Ubuntu Disco)
   Status: Confirmed => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821868

Title:
  Kmail (or Kontact) crashes on 1st run on a fresh system: Failed
  SpecialCollectionsRequestJob::slotResult "Invalid parent"

To manage notifications about this bug go to:
https://bugs.launchpad.net/kmail/+bug/1821868/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1821868] Re: Kmail (or Kontact) crashes on 1st run on a fresh system: Failed SpecialCollectionsRequestJob::slotResult "Invalid parent"

2020-03-06 Thread emptythevoid
Currently occurring after installing Kmail using apt on Kubuntu 20.04

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821868

Title:
  Kmail (or Kontact) crashes on 1st run on a fresh system: Failed
  SpecialCollectionsRequestJob::slotResult "Invalid parent"

To manage notifications about this bug go to:
https://bugs.launchpad.net/kmail/+bug/1821868/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1821868]

2019-09-08 Thread Rik Mills
Still occurs in 19.08.1 in Neon, and Kubuntu staging builds.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821868

Title:
  Kmail (or Kontact) crashes on 1st run on a fresh system: Failed
  SpecialCollectionsRequestJob::slotResult "Invalid parent"

To manage notifications about this bug go to:
https://bugs.launchpad.net/kmail/+bug/1821868/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1821868] Re: Kmail (or Kontact) crashes on 1st run on a fresh system: Failed SpecialCollectionsRequestJob::slotResult "Invalid parent"

2019-04-09 Thread Rik Mills
Work around:

1) Let Kmail or Kontact crash; close any remaining email config window
without doing anything in it; start Kmail or Kontact again. Application
should now start ok.

(This is probably what will happen for most people, on purpose or just
as a matter of course)

2) Prior to starting Kmail/Kontact, in a terminal run 'akonadictl
start'. This initialisation of the akonadi db seems to avoid the race
condition later when mail client is started.

3) Prior to starting Kmail/Kontact, create
~/.config/specialmailcollectionsrc with the content:

[SpecialCollections]
DefaultResourceId=akonadi_maildir_resource_0

Note: While this (3) superficiality appears to work, it is not well
tested for longer term impact on your akonadi config/db, so should be a
very last option.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821868

Title:
  Kmail (or Kontact) crashes on 1st run on a fresh system: Failed
  SpecialCollectionsRequestJob::slotResult "Invalid parent"

To manage notifications about this bug go to:
https://bugs.launchpad.net/kmail/+bug/1821868/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1821868] Re: Kmail (or Kontact) crashes on 1st run on a fresh system: Failed SpecialCollectionsRequestJob::slotResult "Invalid parent"

2019-04-09 Thread Rik Mills
Possible workarounds:

1) Let Kmail or Kontact crash; close any remaining email config window
without doing anything in it; start Kmail or Kontact again. Application
should now start ok.

(This is probably what will happen for most people, on purpose or just
as a matter of course)

or;

2) Prior to starting Kmail/Kontact, in a terminal run 'akonadictl
start'. This initialisation of the akonadi db seems to avoid the race
condition later when mail client is started.

or;

3) Prior to starting Kmail/Kontact, create
~/.config/specialmailcollectionsrc with the content:

[SpecialCollections]
DefaultResourceId=akonadi_maildir_resource_0

Note: While this (3) superficiality appears to work, it is not well
tested for longer term impact on your akonadi config/db, so should be a
very last option.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821868

Title:
  Kmail (or Kontact) crashes on 1st run on a fresh system: Failed
  SpecialCollectionsRequestJob::slotResult "Invalid parent"

To manage notifications about this bug go to:
https://bugs.launchpad.net/kmail/+bug/1821868/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1821868] Re: Kmail (or Kontact) crashes on 1st run on a fresh system: Failed SpecialCollectionsRequestJob::slotResult "Invalid parent"

2019-03-27 Thread Ubuntu QA Website
This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1821868

** Tags added: iso-testing

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821868

Title:
  Kmail (or Kontact) crashes on 1st run on a fresh system: Failed
  SpecialCollectionsRequestJob::slotResult "Invalid parent"

To manage notifications about this bug go to:
https://bugs.launchpad.net/kmail/+bug/1821868/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1821868] Re: Kmail (or Kontact) crashes on 1st run on a fresh system: Failed SpecialCollectionsRequestJob::slotResult "Invalid parent"

2019-03-27 Thread Rik Mills
** Changed in: kmail (Ubuntu Disco)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821868

Title:
  Kmail (or Kontact) crashes on 1st run on a fresh system: Failed
  SpecialCollectionsRequestJob::slotResult "Invalid parent"

To manage notifications about this bug go to:
https://bugs.launchpad.net/kmail/+bug/1821868/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1821868] Re: Kmail (or Kontact) crashes on 1st run on a fresh system: Failed SpecialCollectionsRequestJob::slotResult "Invalid parent"

2019-03-27 Thread Bug Watch Updater
Launchpad has imported 9 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=380171.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2017-05-25T08:14:25+00:00 Gerdfleischer wrote:

Created attachment 105703
screenshot or error dialog window

KMail crashes on first start

xsession errors:
org.kde.pim.maildirresource: the resource is not properly configured: there is 
no config file for the resource. We create a new one.
org.kde.akonadi.ETM: GEN true false false
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: 
QObject::killTimer: Timers cannot be stopped from another thread
org.kde.akonadi.ETM: Subtree:  5 QSet(5)
org.kde.akonadi.ETM: Fetch job took  37 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 1
org.kde.akonadi.ETM: first fetched collection: "Local Folders"
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: Fetch job took  39 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 4
org.kde.akonadi.ETM: first fetched collection: "Search"
org.kde.pim.akonadicore: Failed SpecialCollectionsRequestJob::slotResult 
"Invalid parent"
org.kde.akonadi.ETM: Fetch job took  1 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 0
org.kde.pim.mailcommon: "The Email program encountered a fatal error and will 
terminate now.\nThe error was:\nInvalid parent"
"No file selected."
org.kde.pim.akonadicore: not referenced  4
org.kde.pim.maildirresource: the resource is not properly configured: there is 
no config file for the resource. We create a new one.
QObject::killTimer: Timers cannot be stopped from another thread
org.kde.pim.akonadicore: not referenced  12

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kmail/+bug/1821868/comments/0


On 2017-05-25T16:35:45+00:00 Gerdfleischer wrote:

with debug packages

org.kde.akonadi.ETM: was collection fetch job: collections: 0
org.kde.pim.akonadicore: Failed SpecialCollectionsRequestJob::slotResult 
"Invalid parent"
org.kde.pim.mailcommon: "The Email program encountered a fatal error and will 
terminate now.\nThe error was:\nInvalid parent"
org.kde.pim.akonadiserver: DATABASE ERROR:
org.kde.pim.akonadiserver:   Error code: 1062
org.kde.pim.akonadiserver:   DB error:  "Duplicate entry '4-outbox' for key 
'CollectionTable_parentAndNameIndex'"
org.kde.pim.akonadiserver:   Error text: "Duplicate entry '4-outbox' for key 
'CollectionTable_parentAndNameIndex' QMYSQL3: Unable to execute statement"
org.kde.pim.akonadiserver:   Query: "INSERT INTO CollectionTable (remoteId, 
remoteRevision, name, parentId, resourceId, enabled, syncPref, displayPref, 
indexPref, cachePolicyInherit, cachePolicyCheckInterval, 
cachePolicyCacheTimeout, cachePolicySyncOnDemand, cachePolicyLocalParts, 
isVirtual) VALUES (:0, :1, :2, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12, :13, 
:14)"
org.kde.pim.akonadiserver: Error during insertion into table "CollectionTable" 
"Duplicate entry '4-outbox' for key 'CollectionTable_parentAndNameIndex' 
QMYSQL3: Unable to execute statement"
org.kde.pim.akonadicore: Failed SpecialCollectionsRequestJob::slotResult "Could 
not create collection outbox, resourceId: 3"
org.kde.pim.maildispatcher: Failed to get outbox folder. Retrying in:  5000
org.kde.pim.akonadicore: Failed CollectionCreateJob. "Could not create 
collection outbox, resourceId: 3"
"No file selected."
org.kde.pim.akonadicore: not referenced  3
org.kde.pim.maildirresource: the resource is not properly configured: there is 
no config file for the resource. We create a new one.
QObject::killTimer: Timers cannot be stopped from another thread
org.kde.pim.akonadicore: not referenced  14

Also, if akonadiserver is started manually before everything is ok.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kmail/+bug/1821868/comments/1


On 2019-03-15T08:34:02+00:00 Rik Mills wrote:

Also occurring on Debian Buster with 18.08

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861960

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kmail/+bug/1821868/comments/2


On 2019-03-15T08:34:31+00:00 Rik Mills wrote:

Can also see this on 18.12.3 packages staged for Kubuntu

Reply at:
https://bugs.launchpad.net/ubuntu/+source/kmail/+bug/1821868/comments/3


On 2019-03-16T02:06:31+00:00 Rik Mills wrote:

Reproducible here on debian sid/buster.

Req

[Bug 1821868] Re: Kmail (or Kontact) crashes on 1st run on a fresh system: Failed SpecialCollectionsRequestJob::slotResult "Invalid parent"

2019-03-27 Thread Bug Watch Updater
** Changed in: kmail (Debian)
   Status: Unknown => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821868

Title:
  Kmail (or Kontact) crashes on 1st run on a fresh system: Failed
  SpecialCollectionsRequestJob::slotResult "Invalid parent"

To manage notifications about this bug go to:
https://bugs.launchpad.net/kmail/+bug/1821868/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1821868] Re: Kmail (or Kontact) crashes on 1st run on a fresh system: Failed SpecialCollectionsRequestJob::slotResult "Invalid parent"

2019-03-27 Thread Rik Mills
** Bug watch added: Debian Bug tracker #861960
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861960

** Also affects: kmail (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861960
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821868

Title:
  Kmail (or Kontact) crashes on 1st run on a fresh system: Failed
  SpecialCollectionsRequestJob::slotResult "Invalid parent"

To manage notifications about this bug go to:
https://bugs.launchpad.net/kmail/+bug/1821868/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1821868] [NEW] Kmail (or Kontact) crashes on 1st run on a fresh system: Failed SpecialCollectionsRequestJob::slotResult "Invalid parent"

2019-03-27 Thread Rik Mills
Public bug reported:

On 1st start on a clean install (or suitably wiped akonadi configs),
Kmail (or Kontact with Kmail integrated) crashes on 1st run with:

org.kde.pim.akonadicore: Failed SpecialCollectionsRequestJob::slotResult 
"Invalid parent"
org.kde.pim.mailcommon: "The Email program encountered a fatal error and will 
terminate now.\nThe error was:\nInvalid parent"

Kmail will launch and run on subsequent starts.


TO REPRODUCE:

Requires a pristine install with NO config files or db created yet (live
iso is fine)

OR

stop akonadi with 'akonadictrl stop' and do:

rm -fr ~/.local/share/akonadi* ~/.cache/akonadi* ~/.config/akonadi*
~/.config/specialmailcollectionsrc

then launch kmail.

removing ~/.config/specialmailcollectionsrc (which would not exist in
pristine install) seems crucial, as leaving that in place results in no
crash.

** Affects: kmail
 Importance: Unknown
 Status: Unknown

** Affects: kmail (Ubuntu)
 Importance: Undecided
 Status: Confirmed

** Affects: kmail (Ubuntu Disco)
 Importance: Undecided
 Status: Confirmed

** Also affects: kmail (Ubuntu Disco)
   Importance: Undecided
   Status: New

** Changed in: kmail (Ubuntu Disco)
   Status: New => Confirmed

** Bug watch added: KDE Bug Tracking System #380171
   https://bugs.kde.org/show_bug.cgi?id=380171

** Also affects: kmail via
   https://bugs.kde.org/show_bug.cgi?id=380171
   Importance: Unknown
   Status: Unknown

** Description changed:

  On 1st start on a clean install (or suitably wiped akonadi configs),
  Kmail (or Kontact with Kmail integrated) crashes on 1st run with:
  
  org.kde.pim.akonadicore: Failed SpecialCollectionsRequestJob::slotResult 
"Invalid parent"
  org.kde.pim.mailcommon: "The Email program encountered a fatal error and will 
terminate now.\nThe error was:\nInvalid parent"
  
  Kmail will launch and run on subsequent starts.
  
- Requires a pristine install with NO config files or db created yet
+ 
+ TO REPRODUCE:
+ 
+ Requires a pristine install with NO config files or db created yet (live
+ iso is fine)
  
  OR
  
  stop akonadi with 'akonadictrl stop' and do:
  
  rm -fr ~/.local/share/akonadi* ~/.cache/akonadi* ~/.config/akonadi*
  ~/.config/specialmailcollectionsrc
  
  then launch kmail.
  
  removing ~/.config/specialmailcollectionsrc (which would not exist in
  pristine install) seems crucial, as leaving that in place results in no
  crash.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821868

Title:
  Kmail (or Kontact) crashes on 1st run on a fresh system: Failed
  SpecialCollectionsRequestJob::slotResult "Invalid parent"

To manage notifications about this bug go to:
https://bugs.launchpad.net/kmail/+bug/1821868/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs