I seem to have a fix for this.  And even better, it seems that the
reports which are still in /var/crash/*.crash can still be reported.

I started by running this for one of my recent crashes:

$ apport-cli -c /var/crash/_usr_bin_indicator-weather.1000.crash

After entering "s" to "send" the report, nothing happened.  So I ran it
with pdb:

$ python -m pdb /usr/bin/apport-cli -c ~/info/ubuntu/apport
/_usr_bin_indicator-weather.1000.crash

(Pdb) b /usr/lib/python2.7/dist-packages/apport/ui.py:265
(Pdb) s

and discovered that the self.crashdb.accepts(self.report) test was
failing.

It works to edit /etc/apport/crashdb.conf and add 'Crash' to the
'problem_types': ['Bug', 'Package', 'Crash'], or to make that change in
a separate file and run

$ APPORT_CRASHDB_CONF=~/tmp/crashdb.conf apport-cli  -c
~/info/ubuntu/apport/_usr_bin_indicator-weather.1000.crash

I've attached a crashdb.conf that worked for me.  But I don't know if it
is the right fix.


** Attachment added: "crashdb.conf"
   
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/993450/+attachment/3150002/+files/crashdb.conf

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

Title:
  Apport fails to submit bug report

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/993450/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to