maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   Bug in the Mail App when new mails have arrived? (PR1.3) (https://talk.maemo.org/showthread.php?t=85271)

lupastro 2012-07-05 06:22

Bug in the Mail App when new mails have arrived? (PR1.3)
 
Hi,

I updated two days ago to PR1.3 and since then I have realized, that the email app does not show when there is a new email.

Well, in the Wallpaper and Feed screen, I get the mail notification. Anyhow, when I enter the mail app, each of my emails accounts say "up-to-date" and no "blue circle" with the new emails number is there.

Anyone had this problem?

I did a reinstallation of the sofware yesterday (reinstall completely over Nokia Suite) and it did not help.

Thanks a lot!

vitaminj 2012-07-05 06:58

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
I'm having an issue where the numbers are out of sync, only updating sometimes.
I have just deleted and recreated my accounts, and at least my main mail account, which had gotten slower and slower over time (not fixed in PR1.3), is now back to being fast again (all that was probably needed internally was a database vacuum/reindex/incantation).
I'll report back if that doesn't fix the blue numbers issue too.

lupastro 2012-07-05 09:19

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Small Update.

I also deleted my accounts and created them again. I have one GMAIL account(configured as "other email account" using IMAP) and another email account of the domain I have (also IMAP).

The gmail account shows the number when there is a new email, but the other one doesn't....

I concur with vitaminj: there is a speed improvement when deleting and creating the accounts again.

vitaminj 2012-07-05 10:40

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Yep, even after recreating my main mail account, the blue counter on the main screen (in "recent messages" mode) is still out of sync. How on earth did this get through testing?

lupastro 2012-07-05 11:19

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Quote:

Originally Posted by vitaminj (Post 1232278)
Yep, even after recreating my main mail account, the blue counter on the main screen (in "recent messages" mode) is still out of sync. How on earth did this get through testing?

...and where do we report the bug now? Bugzilla is closed..........

fr_78knots 2012-07-05 13:38

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
I have the same problem since PR1.3.

Fenix doesn't show notification anymore, when we edit an email account (for sync time, name, signature, or anything else...).

After reinstalling firmware and deleting all personnal data/configuration, same problem...

Thanks Nokia.

derliebewolf 2012-07-06 08:00

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
same here. Exchange seems to work though!

Reflektorfalke 2012-07-07 09:15

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Can also confirm this issue with blue circle not showing number of unread messages and new messages not showing up in latest messages preview.
It seems only IMAP is affected.
Google-MfE account still works fine.
Deleting and recreating IMAP account didn`t help, but if I use POP instead of IMAP it works...
(However when using POP, messages are not marked read when downloaded with PC mail client - annoying!)

mikecomputing 2012-07-07 09:44

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
for those not using micrsoft crap ashole exchange:

cant we wipe out fenix and make a beyter mailreader? I mean isnt google/imap and mailbackend opensource?
I mean i seriously tired of seing email client is less goos than it was before:(

if we make a new we can use it on nemomobile and n900 too.

vitaminj 2012-07-07 11:05

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Quote:

Originally Posted by mikecomputing (Post 1233285)
cant we wipe out fenix and make a beyter mailreader? I mean isnt google/imap and mailbackend opensource?
I mean i seriously tired of seing email client is less goos than it was before:(

Wonder if it's just the Fenix frontend that's broken with PR1.3 or also the qtmailbackendthing?

Also, I'd say Fenix is better than Modest (although a bit more simplified). At least the N9 doesn't halt everything and burst into flames every half-hour like my N900 used to.

Manatus 2012-07-07 11:37

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
I had this problem with both IMAP and Gmail accounts. MfE on was fine. Deleting and recreating the accounts (minus MfE) fixed it for me at least.

WhitP 2012-07-08 14:04

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Quote:

Originally Posted by lupastro (Post 1232256)
Small Update.

I also deleted my accounts and created them again. I have one GMAIL account(configured as "other email account" using IMAP) and another email account of the domain I have (also IMAP).

The gmail account shows the number when there is a new email, but the other one doesn't....

I concur with vitaminj: there is a speed improvement when deleting and creating the accounts again.

I have an almost identical setup (Gmail + another IMAP) with the same result.

Demati 2012-07-09 11:57

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
I am experiencing this with both of my email accounts. One is set up as IMAP and the other as POP.

neway 2012-07-10 20:29

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Quote:

Originally Posted by lupastro (Post 1232187)
Hi,

I updated two days ago to PR1.3 and since then I have realized, that the email app does not show when there is a new email.

Well, in the Wallpaper and Feed screen, I get the mail notification. Anyhow, when I enter the mail app, each of my emails accounts say "up-to-date" and no "blue circle" with the new emails number is there.

Anyone had this problem?

I did a reinstallation of the sofware yesterday (reinstall completely over Nokia Suite) and it did not help.

Thanks a lot!

Same problem here after the update at 1.3, + after 3 day the SMS don't apear anymore. After reflash everything ok 2 days and then the mail problem reapear...

Iosian 2012-07-11 17:46

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Same here.

I've tried everything including deleting accounts, resetting device, reinstalling system, and removing the /home/user/.qmf folder. All of them just work at beginning then the same problem comes again after next sync.

ibrakalifa 2012-07-11 18:03

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
strange i do update OTA, and the email work like a charm(lag when email comes actually) :D

gawga_boy 2012-07-12 11:41

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
I have the same problem with PR1.3 and mail IMAP accounts - no update circle or counts. gmail via mail for exchange works fine.

Hacker 2012-07-15 17:40

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Uh-oh, I have the exact issue mentioned in the original post: no count of new messages since a few days after I updated to PR 1.3. I have one Gmail account, one Yahoo account, and no MfE accounts. Additionally, I have to click on the 'All Messages' button to see the newly-arrived mail, otherwise it stays hidden. Not a huge problem since the notification system still works, but still something I'd like to see fixed.

And yes, as a former n900 owner, these mail problems seem all too familiar. Why is this such an issue with Nokia?

Ynohtna 2012-07-15 18:05

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Wow, I didn't notice the imap problem until this thread. .mostly using my mail for exchange account and less volume on my imap Account. I Have to open the mailbox to see the new mails. They don't show up on the mail app summary screen

fr_78knots 2012-08-01 16:49

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Did someone managed to correct the problem?

nbedford 2012-08-01 19:13

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Quote:

Originally Posted by fr_78knots (Post 1246080)
Did someone managed to correct the problem?

I think Nokia is needed to correct the problem, maybe PR 1.4, or at least PR 1.3.1, but I think we will not get either

Watergate 2012-08-01 19:54

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Quote:

Originally Posted by nbedford (Post 1246161)
I think Nokia is needed to correct the problem, maybe PR 1.4, or at least PR 1.3.1, but I think we will not get either

My standard email has been showing a blue new email icon as a new email during the last 3 weeks also even after marked all emails read. I have been through all emails in the inbox and opened them but the error still occurs?

marcaurell 2012-08-02 12:49

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
First sorry for bad english.:mad: I own a N9 059J200 since Firmware 1.3 (new flash not update i have the Email Bug). I use two yahoo mail accounts and now i see not "recent mail" and i see not the blue sign with the number of new Mails right from the account. When i delete the accounts and i make a new setup it works for 5 Minutes and than the bug is back. Nokia Support says to me i am the only customer in world with this problem, they have checked my error description and they can not reproduce. i am very angry against Nokia, the N9 ist top but support ist the badest from all celluar phone manufacturs, :mad:

Here is the Translation from the answer from Nokia. Translation from germany to english with google translator:


Von: "ContactCentre.Europe@nokia.com"
An: ***********@yahoo.de
Gesendet: 8:13 Mittwoch, 18.Juli 2012
Betreff: Ihr Nokia N9-00






Dear Mr. *********

Thank you for contacting Nokia Care

I want to apologize to you most sincerely for the delay, Mr. ********!
As I promised you, I have forwarded your concerns to the responsible development department to find a solution for you. This department has set the Yahoo Support. In response I got, that you contact the support of Yahoo must apply directly, so you can discuss the issue with colleagues, as our engineers have found no error in the compatibility between OS 1.3 and the Yahoo email account.

Hacker 2012-08-02 13:41

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Should everyone with this problem send an email, so that Nokia understands that the problem is widespread?

Is there anyone with PR 1.3 that doesn't have this problem with Yahoo mail on their N9?

thedead1440 2012-08-02 13:46

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Post about this problem directly in the n9 email/exchange thread...Once Sergey is back i'm sure he'll help us out...Opening a new thread without linking it back in the master thread might result in him missing this out...

After all, as of today we are the only OS vs iOS & Android that have a fix for Hotmail using Exchange thanks to Sergey giving his sources for the latest update of his app...

Shinto 2012-08-09 17:22

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Quote:

Originally Posted by lupastro (Post 1232187)
Hi,
Well, in the Wallpaper and Feed screen, I get the mail notification. Anyhow, when I enter the mail app, each of my emails accounts say "up-to-date" and no "blue circle" with the new emails number is there.

Here is the best work-around that I could find so far. I will warn you that it's fairly clumsy, and requires Developer mode and a little familiarity with the command line.

  1. Add harmattan-dev repository (if not done already)
    Code:

    devel-su
    <enter root password>

    cat <<EOF >/etc/apt/sources.list.d/harmattan-dev.list
    deb http://harmattan-dev.nokia.com/ harmattan/sdk free non-free
    deb-src http://harmattan-dev.nokia.com/ harmattan/sdk free
    deb http://harmattan-dev.nokia.com/ harmattan/41667a5bd857be02f487c2ce806fbf85 nokia-binaries
    EOF

    apt-get update

  2. Install sqlite3 (run as root)
    Code:

    apt-get install sqlite3
  3. Change the status codes for any new messages you currently have (run as your normal user, not root) to restore the blue circles:
    Code:

    sqlite3 /home/user/.qmf/database/qmailstore.db "UPDATE mailmessages SET status=18497 WHERE status=18496"

This isn't a permanent solution, the blue circles will probably stop working again the next time your e-mail is checked, at which point you could re-run step 3. I could envision this third step running periodically in the background using a script or through cron to keep up the appearance of the blue circles working.

This also doesn't fix the "Recent Messages" list. On my N9, which has four IMAP and two Gmail accounts, only the recent message from Gmail are shown. I'm still working on that one.

Hacker 2012-08-09 19:45

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Good work! Thedead1440 and I are also trying to solve this problem on this thread: http://talk.maemo.org/showthread.php...il+mfe&page=85

Just go to the LAST PAGE or two and see if you can give Sergey what he's requesting. He's really good at solving N9 mail issues and we hope he can solve this one.

I have sqlite3, but I couldn't get your code to run. Do we run the quoted material once the program is open?

Thanks again.

Shinto 2012-08-16 16:57

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Here is the work-around I'm using. It does a pretty good job at keeping the blue new-message circles active on IMAP accounts. It requires sqlite3 installed, as I described in my previous message.
  1. Open a terminal, SSH in, or otherwise get a command line as the 'user' user
  2. Run sqlite3 against qmailstore.db
    Code:

    /usr/bin/sqlite3 /home/user/.qmf/database/qmailstore.db
  3. At the sqlite> prompt, Create a trigger on the mailmessages table
    Code:

    CREATE TRIGGER message_status_kluge INSERT ON mailmessages
      BEGIN
        UPDATE mailmessages SET status=18497 WHERE status=18496;
      END;

  4. Back at the sqlite> prompt, close out.
    Code:

    sqlite> .quit

What this does is tweak the status code on any new message that comes in after the trigger has been created. Now, this isn't quite 100% effective, it may or may not immediately show the new-message circles, and for that I blame the write-ahead log DB (qmailstore.db-wal). I was unable to disable WAL, no matter what I tried.

I also noticed if I deleted qmailstore.db-wal after creating the above trigger, all sorts of stuff would break, so don't do that. :) If you do, the fix would be to delete the entire .qmf directory and reboot.

marcaurell 2012-08-16 18:23

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
1 Attachment(s)
Please help me what make i wrong??

Shinto 2012-08-16 19:25

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Quote:

Originally Posted by marcaurell (Post 1252707)
Please help me what make i wrong??

You are logged in as root, and the root user cannot access this database. You will need to log and run these commands (at least the sqlite3 command) as the 'user' user.

I can't see in your screen capture if you logged in as 'user' and ran 'devel-su', or if you logged in directly as root. From the
Code:

~ #
prompt, type "exit" and hit Enter. If you then see a
Code:

~ $
prompt, you should be able to run steps 2, 3, and 4 in my above procedure.

marcaurell 2012-08-16 20:12

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
thank you very much for answer now the Mail Bug is fixed for me!!!
Gracias Grazie Danke

Hacker 2012-08-17 04:00

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
This solution works for me, too. Awesome work, Shinto! I adjusted a config file to create a mailserver.log file and sent it to Sergey in the main N9 Email/MfE thread, so he can figure out the root cause. Your solution works for me perfectly so far, so my immediate pain has ceased!

Arthuro_Adam 2012-08-17 13:31

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Quote:

Originally Posted by Shinto (Post 1249600)
Here is the best work-around that I could find so far. I will warn you that it's fairly clumsy, and requires Developer mode and a little familiarity with the command line.

  1. Add harmattan-dev repository (if not done already)
    Code:

    devel-su
    <enter root password>

    cat <<EOF >/etc/apt/sources.list.d/harmattan-dev.list
    deb http://harmattan-dev.nokia.com/ harmattan/sdk free non-free
    deb-src http://harmattan-dev.nokia.com/ harmattan/sdk free
    deb http://harmattan-dev.nokia.com/ harmattan/41667a5bd857be02f487c2ce806fbf85 nokia-binaries
    EOF

    apt-get update

  2. Install sqlite3 (run as root)
    Code:

    apt-get install sqlite3
  3. Change the status codes for any new messages you currently have (run as your normal user, not root) to restore the blue circles:
    Code:

    sqlite3 /home/user/.qmf/database/qmailstore.db "UPDATE mailmessages SET status=18497 WHERE status=18496"

This isn't a permanent solution, the blue circles will probably stop working again the next time your e-mail is checked, at which point you could re-run step 3. I could envision this third step running periodically in the background using a script or through cron to keep up the appearance of the blue circles working.

This also doesn't fix the "Recent Messages" list. On my N9, which has four IMAP and two Gmail accounts, only the recent message from Gmail are shown. I'm still working on that one.

Hi!

I tried do what you wrote, but I don't have harmattan-dev.list

Is there any other way to install the harmattan-repo? (can't find sqlite3)

Thanks.

WhitP 2012-08-17 13:51

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
As Shinto said it's a bit hit and miss, so far after some tests I'd say it worked about a third of the time with my Yahoo account. However that's much better than never!
Great work!

Hacker 2012-08-17 13:58

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Quote:

Originally Posted by WhitP (Post 1252954)
As Shinto said it's a bit hit and miss, so far after some tests I'd say it worked about a third of the time with my Yahoo account. However that's much better than never!
Great work!

That's weird because this approach has worked for me 100% through several reboots. Maybe it's just luck for me, or maybe there is a slightly different root cause of the issue.

EDIT: Uh-oh it WAS beginner's luck. Now the trigger/sqlite solution is working less and less! It was good while it lasted . . .

marcaurell 2012-08-17 15:32

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
It works for one Day now it's over and i see again not the notifaction for new Emails. I use two yahoo accounts.

Arthuro_Adam 2012-08-17 16:38

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Now, I can install the repo, but can't install sqlite3, because some packages can't authenticated. I install with root. Any suggestions?

I ran terminal:

"devel-su"

then

"apt-get install sqlite3"

Hacker 2012-08-18 22:19

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Shinto,

Since the trigger/sqlite3 approach worked for everyone for a while, but then becomes less reliable, I was wondering if we could somehow tweak this approach to refresh it so that it could work better and for longer periods of time.

For instance, I tried re-doing the trigger, but got an error message since the kluge trigger already existed. What do you think about the idea of erasing the kluge trigger and re-creating it? If you think it might work, what would the sqlite code be?

Have you thought of any other solutions to try?

Thanks for everything . . .

Shinto 2012-08-20 17:07

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
Interesting, the trigger has been working fairly consistently for me for over a week, otherwise I wouldn't have posted it. But I don't have any Yahoo e-mail account provisioned; just two Gmail and four generic IMAP. For those of you still having trouble, how is your Yahoo mail account provisioned? Mail for Exchange? POP3? IMAP?

Re-creating the trigger would not have any affect, unless you first blow away your .qmf/ directory, which doesn't seem to be a permanent fix, either.

marcaurell 2012-08-20 18:22

Re: Bug in the Mail App when new mails have arrived? (PR1.3)
 
my yahoo is imap


All times are GMT. The time now is 13:05.

vBulletin® Version 3.8.8