After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 552403 - SQL errors upon mail sending: no such table Outbox
SQL errors upon mail sending: no such table Outbox
Status: RESOLVED WONTFIX
Product: evolution
Classification: Applications
Component: Mailer
2.24.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[disk-summary]
Depends on:
Blocks: 543389
 
 
Reported: 2008-09-15 18:44 UTC by Pedro Villavicencio
Modified: 2009-01-29 16:46 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Evolution Debug Log (41.94 KB, text/plain)
2008-10-06 13:46 UTC, Darren Mansell
Details

Description Pedro Villavicencio 2008-09-15 18:44:50 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/evolution/+bug/269508

"When sending a mail, the outbox gets marked with an "(1)" indicating there is one new message in it. When the mails gets sent, this indicator disappears. But when I run evolution from the console, I see some SQL errors appear right on the moment that "(1)" disappears.

The errors i'm speaking about:
Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Outbox' [no such table: Outbox]
Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Outbox' WHERE junk = 1 [no such table: Outbox]
Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Outbox' WHERE deleted = 1 [no such table: Outbox]
Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Outbox' WHERE read = 0 [no such table: Outbox]
Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Outbox' WHERE junk = 0 AND deleted = 0 [no such table: Outbox]
Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Outbox' WHERE junk = 1 AND deleted = 0 [no such table: Outbox]
Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Outbox' [no such table: Outbox]
Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Outbox' WHERE junk = 1 [no such table: Outbox]
Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Outbox' WHERE deleted = 1 [no such table: Outbox]
Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Outbox' WHERE read = 0 [no such table: Outbox]
Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Outbox' WHERE junk = 0 AND deleted = 0 [no such table: Outbox]
Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Outbox' WHERE junk = 1 AND deleted = 0 [no such table: Outbox]"

"It's a fresh install, but I did import mails and settings through the backup plugin (exported and imported it through the item in menu File). But I did not re-use the .evolution folder + gnome-settings."

"This doesn't seem to be a migration/corruption problem after all, as creating a fresh test user and sending a mail results in exactly the same error"

error log from a fresh user while setting up evolution with the wizard utility:

http://launchpadlibrarian.net/17626515/evolution_initial.log

Thanks,
Comment 1 maleadt 2008-09-15 19:04:41 UTC
For the sake of clarity, this bug gets triggered on two different occasions:
1) when sending a mail (existing profile as well as fresh user);
2) when running the initial wizard, which configures a new user.
Comment 2 André Klapper 2008-09-16 12:14:09 UTC
Which exact version is this about?
Comment 3 maleadt 2008-09-16 12:55:59 UTC
Used software:
* evolution, evolution common, evolution data server et al are version 2.23.91-0ubuntu1;
* libraries (libebackend, libedataserver, ...) are version 2.23.92-0ubuntu1.
Comment 4 Srinivasa Ragavan 2008-09-16 13:19:34 UTC
Guys, I have made it verbose for debugging purpose. Atleast I dont want to disable till 2.24.1. I hope to see more issues when 2.24.0 gets out. These would help me fix issues.
Comment 5 Darren Mansell 2008-10-06 13:46:01 UTC
Created attachment 120025 [details]
Evolution Debug Log
Comment 6 Darren Mansell 2008-10-06 14:00:55 UTC
Hello I'm having this issue too on Evolution 2.24.0

It was an upgrade from an older version where the issue started happening but
I'm now doing the following:

close evolution
evolution --force-shutdown
killall gconfd-2
rm -rf .evolution .gconf/apps/evolution

Then I start evolution again and it starts the first-run wizard. I go through
this and fill out all the details fine. Then when the actual mail window opens
it shows the correct mail count for the inbox total but doesn't show any mails
in the main window.

Running evolution as E2K_DEBUG=5 evolution >& evo.log shows the errors as SQL
select errors.

I've attached the log produced. The app doesn't crash, it just doesn't show my
mail.

Please let me know if you need me to try anything.

Thanks
Comment 7 Srinivasa Ragavan 2009-01-29 16:46:38 UTC
To be exact, these warning are just verbose, and no harm. I want them to be verbose, so that, on fatal, I could grab these. I hope its fine. Please re-open if you have more points. Thanks.