maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [solved] Problems with Modest and Gmail (https://talk.maemo.org/showthread.php?t=90399)

handaxe 2013-06-12 22:21

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by peterleinchen (Post 1351579)
Not acceptable at all!

In my view, a work-around is temporary. Long-term, I quite agree as we do not want to be dependent on Nokia in any way. But if you carry a n900 and need email access, you do what you have to meanwhile.

EmmaGx 2013-06-13 00:35

Re: Problems with Modest and Gmail
 
Thanks guys! ... Nokia Messenging is indeed still working which is something ... (And way preferable to having a gmail browser session constantly open! ... would prefer to get back to imap though if anyone works it out! x

xvan 2013-06-13 01:41

Re: Problems with Modest and Gmail
 
Does anybody know how the offlineimap was implemented?

The usual way is to mirror the imap into a MAILDIR folder... or some magic was implemented to translate that to the modest format if there is such a thing?

And where does offlineimap store those mails?
I don't think it's a folder issue, but if it is, offlineimap allows to map server folders to different local folders.

AndyNokia232 2013-06-13 03:06

Re: Problems with Modest and Gmail
 
Man, my timing to get back into the N900 is terrible! It only arrived a couple of days ago, and I was scratching my head as to why I couldn't get Gmail to work... at all.

A quick visit to TMO and it's all here - hope the smart guys can fix whatever is broken.

Also (off topic) I'm disappointed that I can't get any of the available Twitter apps to work. This N900 is quickly becoming unappealing, which is a shame as I was so excited.

EDIT: I just set up my Ovi Mail account as a test (I just use this for junk mail, nothing important) and it worked, and I can read/send emails just fine. Shame it's not my main email account! :P

jacktanner 2013-06-13 05:00

Re: Problems with Modest and Gmail
 
Same problem. This is a total bummer.

marmistrz 2013-06-13 05:06

If we know the bug-causing messages maybe it's time to contact the devs? Maybe the - chars in the id are causing any problem?

freemangordon 2013-06-13 06:59

Re: Problems with Modest and Gmail
 
OK, I think I found what the problem is. It is the do-while loop here https://gitorious.org/community-ssu/...der.c#line5979

This is how the (start of the) response looks like:
Code:

* 181 FETCH (UID 293 MODSEQ (382264) BODY[] {199644}\nDelivered-To: ivo.g.dimitrov.75@gmail.com\nReceived:...
https://gitorious.org/community-ssu/...der.c#line6005 breaks if there is enclosing (")") bracket in the message, which we have in "MODSEQ (382264)" just before the "BODY" part, so it exits the loop before parsing the message.

I think there are more places to fix that, will do (hopefully later today)

peterleinchen 2013-06-13 07:35

Re: Problems with Modest and Gmail
 
@fmg
If we would have possibility to thank a thousand times, I think your thanks count would be trillions :)

If you are that deep into sources, would you mind to have a look at why modest for some imap accounts cannot display all folders (one account only inbox, other account a few are missing like spam/trash, others work flawlessly). I believe it could be similar reason. Just a beg. Please do not feel pressed.
Main goal is to fix gmail (just as I feel it could be similar).

Again thanks (in advance).

freemangordon 2013-06-13 07:54

Re: Problems with Modest and Gmail
 
@peterleinchen - without a test case I can't do much. My gmail account in modest looks just fine to me, so I have NFC where and what to look for not having the problem in the first place :)

mrbee 2013-06-13 07:55

Re: Problems with Modest and Gmail
 
In my own case, a work-around to Nokia Messaging is a problem half-solved, as I could nt find all my msgs in the inbox, only 97 out of 2000+
Is that how it works please?

disappear 2013-06-13 08:14

Re: Problems with Modest and Gmail
 
One more thing about gmail,when i switch to pop3 protocol everything working fine,the funny side than every messages from inbox,sent,drafts folders it was from 2012 year,messages from 2013 just disappear somewhere

peterleinchen 2013-06-13 09:23

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by freemangordon (Post 1351647)
@peterleinchen - without a test case I can't do much. My gmail account in modest looks just fine to me, so I have NFC where and what to look for not having the problem in the first place :)

Oh, I just thought the almighty source force is with you ;)

Fully understood and did not expect anything. Was just a shot in the dark. Maybe you could see something similar happen when reading the imap folder list?

Anyway, thanks for your efforts to keep that gadget alive.

Estel 2013-06-13 11:01

Re: Problems with Modest and Gmail
 
@peterleinchen, I think freemangordon rather meant "give me complete details about how to reproduce problem" (i.e., your folders layout) ;)

WilbertS 2013-06-13 12:19

Re: Problems with Modest and Gmail
 
Thanks to all of you already working with this! I'm happy to see I'm not alone.. Both two of my gmail accounts are affected at the same time. So it can't be any (single) email causing this.

Copernicus 2013-06-13 14:06

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by peterleinchen (Post 1351679)
Maybe you could see something similar happen when reading the imap folder list?

Hey, actually, you really ought to try out the logging mechanism. That's this

Code:

export CAMEL_DEBUG="all"
/usr/bin/modest -s > modest.txt 2>&1

type of thing that was mentioned earlier. There's a decent amount of data available; you should be able to see an error describing why your folders are not showing up.

gorgezilla 2013-06-13 14:22

Re: Problems with Modest and Gmail
 
another bug: within nokia messaging, the gmail account is not able to send emails if I go New Message, To and select an adress from the contacts. Sometimes I get a Failure Message saying - error 500:missing""-

On the other hand, if I insert manually the adress (same as within the contact) - the email gets delivered. This is only particular to Gmail...

AndyNokia232 2013-06-13 16:29

Re: Problems with Modest and Gmail
 
Even though this is a thread about a serious problem (and not fun) it is nice to come back to TMO after a long absence and not be wading through hundreds of newbie posts whining about wazapp.

Thanks to all the hardcore who are looking into this problem. My prayers are to the maemo gods right now (that's you) so that my second N900 can be sprung back into life once more.

:^)

freemangordon 2013-06-13 16:49

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by AndyNokia232 (Post 1351766)
Even though this is a thread about a serious problem (and not fun) it is nice to come back to TMO after a long absence and not be wading through hundreds of newbie posts whining about wazapp.

Thanks to all the hardcore who are looking into this problem. My prayers are to the maemo gods right now (that's you) so that my second N900 can be sprung back into life once more.

:^)

Never fear :p

https://gitorious.org/community-ssu/...d5a0d3ba7b13a7

.debs are in http://merlin1991.at/~freemangordon/tinymail/

But PLEASE, those of you who are clueless, don't try to install them, just wait for the next CSSU update.

AndyNokia232 2013-06-13 16:52

Re: Problems with Modest and Gmail
 
I'm happy to wait for next CSSU update. You guys rock :)

nokiabot 2013-06-13 16:55

Re: Problems with Modest and Gmail
 
^^you guys are awsome:) always find time and solution :)

freemangordon 2013-06-13 16:58

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by peterleinchen (Post 1351679)
Oh, I just thought the almighty source force is with you ;)

Fully understood and did not expect anything. Was just a shot in the dark. Maybe you could see something similar happen when reading the imap folder list?

Anyway, thanks for your efforts to keep that gadget alive.

Estel is correct in the translation :).

And in addition, please file a bug, despite all the migration issues CSSU had, as now they are solved (mostly if not fully), we'll re-start our bug triaging meetings etc. Otherwise you risk that report to be lost/forgotten.

independent 2013-06-13 20:06

Re: Problems with Modest and Gmail
 
Working again. Thank you very much for the fix.

peterleinchen 2013-06-13 22:22

Re: Problems with Modest and Gmail
 
@freemangordon

I tried to narrow down, but could not see anything.

Here is some excerpt from gmx.de (not okay, as not complete):
Quote:

get folder info online
sending : H00007 LIST (SUBSCRIBED) "" *
received: * LIST (\Subscribed) "/" INBOX
received: H00007 OK LIST completed
get folder info offline
Thread 0 >
Get folder info(0x124758:imap://my.mail%40gmx.de@imap.gmx.net:993/, '') =
uri: imap://my.mail%40gmx.de@imap.gmx.net:993/INBOX
full_name: INBOX
flags: 00000410
< 0 >
sending : H00008 STATUS INBOX (MESSAGES UNSEEN UIDNEXT)
received: * STATUS INBOX (MESSAGES 61 UIDNEXT 2712 UNSEEN 1)
received: H00008 OK STATUS completed
and here from t-online (okay):
Quote:

get folder info online
sending : J00017 LIST (SUBSCRIBED) "" *
received: * LIST (\Subscribed) "/" Drafts
received: * LIST (\Subscribed) "/" INBOX
received: * LIST (\Subscribed) "/" INBOX/Fold2
received: * LIST (\Subscribed) "/" Fold1
received: * LIST (\Subscribed) "/" Sent
received: * LIST (\Subscribed) "/" TMO
received: * LIST (\Subscribed) "/" TMO/PM
received: * LIST (\Subscribed) "/" Trash
received: J00017 OK LIST completed
get folder info offline
sending : J00018 STATUS Trash (MESSAGES UNSEEN UIDNEXT)
received: * STATUS Trash (MESSAGES 545 UIDNEXT 1767 UNSEEN 43)
received: J00018 OK STATUS completed
sending : J00019 STATUS TMO (MESSAGES UNSEEN UIDNEXT)
received: * STATUS TMO (MESSAGES 213 UIDNEXT 215 UNSEEN 3)
received: J00019 OK STATUS completed
sending : J00020 STATUS Sent (MESSAGES UNSEEN UIDNEXT)
received: * STATUS Sent (MESSAGES 1 UIDNEXT 2 UNSEEN 0)
received: J00020 OK STATUS completed
sending : J00021 STATUS FOLD1 (MESSAGES UNSEEN UIDNEXT)
received: * STATUS FOLD1 (MESSAGES 2 UIDNEXT 3 UNSEEN 0)
received: J00021 OK STATUS completed
sending : J00022 STATUS INBOX (MESSAGES UNSEEN UIDNEXT)
received: * STATUS INBOX (MESSAGES 106 UIDNEXT 957 UNSEEN 22)
received: J00022 OK STATUS completed
sending : J00023 STATUS Drafts (MESSAGES UNSEEN UIDNEXT)
received: * STATUS Drafts (MESSAGES 0 UIDNEXT 1 UNSEEN 0)
received: J00023 OK STATUS completed
sending : J00024 STATUS TMO/PM (MESSAGES UNSEEN UIDNEXT)
received: * STATUS TMO/PM (MESSAGES 51 UIDNEXT 52 UNSEEN 0)
received: J00024 OK STATUS completed
sending : J00025 STATUS INBOX/Fold2 (MESSAGES UNSEEN UIDNEXT)
received: * STATUS INBOX/Fold2 (MESSAGES 6 UIDNEXT 7 UNSEEN 0)
received: J00025 OK STATUS completed
Is there similar debug possibilty on N9? So I may check there and maybe see what is different (assuming only to see that all folders are listed)?

fmg:
You'd like to see more?
Where to file this "bug" (bugs.maemo.org?)?

We do need all DEBs (of course not dbg neither dev)?
Hopefully no dependencies to other cssu libs?

freemangordon 2013-06-13 23:02

Re: Problems with Modest and Gmail
 
@peterleinchen - looking at that log, I'd rather say it is not modest to blame.

Code:

sending : H00007 LIST (SUBSCRIBED) "" *
received: * LIST (\Subscribed) "/" INBOX
received: H00007 OK LIST completed

Code:

sending : J00017 LIST (SUBSCRIBED) "" *
received: * LIST (\Subscribed) "/" Drafts
received: * LIST (\Subscribed) "/" INBOX
received: * LIST (\Subscribed) "/" INBOX/Fold2
received: * LIST (\Subscribed) "/" Fold1
received: * LIST (\Subscribed) "/" Sent
received: * LIST (\Subscribed) "/" TMO
received: * LIST (\Subscribed) "/" TMO/PM
received: * LIST (\Subscribed) "/" Trash
received: J00017 OK LIST completed

modest sends one and the same request, but receives different responses. It is either the sent messages differ (which is not seen it the logs) or gmail returns different responses based on some unclear criteria.

However, the place to open a bug is bugs.maemo.org . though it makes no sense to do it without a reproducible testcase.

jacktanner 2013-06-14 01:30

Re: Problems with Modest and Gmail
 
So is this what's finally going to get me to upgrade to CSSU? Or is it possible to release the bug fix to regular SSU?

TomJ 2013-06-14 01:39

Re: Problems with Modest and Gmail
 
Will the cssu update for rhe message fetching bug be pushed out in quick time? Otherwise I will have to overcome my cluelessness and work out which debs I need to install, as I could really do with a working email client again on my odessy across Australia.

PS Many, many thanks to fmg for sorting this out so quickly.

peterleinchen 2013-06-14 05:56

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by freemangordon (Post 1351855)
@peterleinchen - looking at that log, I'd rather say it is not modest to blame.

Yes, it looks like everything wents fine.
But why on earth the N900 receives the list on account GMX.DE with only the INBOX?
Code:

sending : H00007 LIST (SUBSCRIBED) "" *
received: * LIST (\Subscribed) "/" INBOX
received: H00007 OK LIST completed

But on all my other clients (incl. N9) I get the full list of folders?

Maybe the mail client identifies itself with a UserAgent or similar. And this one is outdated on this specific account gmx.de?
Some thing else???

Quote:

Originally Posted by freemangordon (Post 1351855)
modest sends one and the same request, but receives different responses. It is either the sent messages differ (which is not seen it the logs) or gmail returns different responses based on some unclear criteria.

Sorry for eventually confusing you:

This second code fragment was just an example from another account (NOT gmx.de, NOR gmail):
Code:

sending : J00017 LIST (SUBSCRIBED) "" *
received: * LIST (\Subscribed) "/" Drafts
received: * LIST (\Subscribed) "/" INBOX
received: * LIST (\Subscribed) "/" INBOX/Fold2
received: * LIST (\Subscribed) "/" Fold1
received: * LIST (\Subscribed) "/" Sent
received: * LIST (\Subscribed) "/" TMO
received: * LIST (\Subscribed) "/" TMO/PM
received: * LIST (\Subscribed) "/" Trash
received: J00017 OK LIST completed


fffffred 2013-06-14 13:59

Re: Problems with Modest and Gmail
 
Ditto, a long time user here that has never upgraded to the CSSU... but now experiencing the outlined modest issue (thought I was the only one)

This community never ceases to amaze me.

So can the bug be fixed without changing to CSSU???

Thanks.

Quote:

Originally Posted by jacktanner (Post 1351862)
So is this what's finally going to get me to upgrade to CSSU? Or is it possible to release the bug fix to regular SSU?


reinob 2013-06-14 15:01

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by peterleinchen (Post 1351875)
But why on earth the N900 receives the list on account GMX.DE with only the INBOX?
Code:

sending : H00007 LIST (SUBSCRIBED) "" *
received: * LIST (\Subscribed) "/" INBOX
received: H00007 OK LIST completed

But on all my other clients (incl. N9) I get the full list of folders?

Welcome to the wonderful, messy, world of IMAP. I am by no means an expert, but I will point you to section 3.1 of RFC5258.

IMAP includes the concept of subscriptions, so a client can subscribe to specific folders. Some clients use this (Modest?), others not (N9?). A client can either choose to see only subscribed folders or all folders. A server will do whatever it likes, as no known combination of client-server seems to be standards compliant.

sicelo 2013-06-14 15:47

Re: Problems with Modest and Gmail
 
no pichlo ;)
that was meant for peterleinchen

@peterleinchen - you need to use another email client to subscribe to the other folders you need. I used mutt a while back to do so, and voila, modest started displaying them :)

s4br0s0 2013-06-14 16:22

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by freemangordon (Post 1351776)
Never fear :p

https://gitorious.org/community-ssu/...d5a0d3ba7b13a7

.debs are in http://merlin1991.at/~freemangordon/tinymail/

But PLEASE, those of you who are clueless, don't try to install them, just wait for the next CSSU update.

When can we expect the next CSSU Stable update to fix this?

Grettings.

Flynx 2013-06-14 16:31

Re: Problems with Modest and Gmail
 
You're the man, freemangordon. Thanks for fixing this.

Hansie_k 2013-06-14 17:14

Re: Problems with Modest and Gmail
 
apt-get upgrade
reboot

works fine, like nothing ever happend!!
Thanks for the update guys.

nodevel 2013-06-14 17:44

Re: Problems with Modest and Gmail
 
I'm experiencing this problem since yesterday. I haven't updated the CSSU as I'm staying on the latest thumb release.

Anyways, I guess it's time to install Trojita. Not sure if the Fremantle UI is ready for daily use, though.

EDIT: I didn't notice recent developments, so I'm sorry for bumping this thread.

gorgezilla 2013-06-15 16:56

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by gorgezilla (Post 1351734)
another bug: within nokia messaging, the gmail account is not able to send emails if I go New Message, To and select an adress from the contacts. Sometimes I get a Failure Message saying - error 500:missing""-

On the other hand, if I insert manually the adress (same as within the contact) - the email gets delivered. This is only particular to Gmail...

funny that I have to quote myself....but this is what I get....

On Sat Jun 15 19:51:43 2013 Mail Delivery Subsystem <noreply@noreply> wrote:
> This is an automatically generated Delivery Status Notification
>
> 530:530 5.7.0 Must issue a STARTTLS command first. fv11sm10644038wic.11
> - gsmtp
>
....

> MIME-Version: 1.0
> X-Priority: 3
> Content-Type: multipart/mixed;
> *** boundary="----_=_0x945bd88db0cb9934186b217ab3ff4a45_=_----"
> X-NIMS-Source: em1x-231.lhr.messaging.nokia.com
> X-NIMS-User: gorgezilovi99408830478746
> X-NIMS-UGUID: 0x9372ef05168b0d1b4316f2921a55453f
>
> This message is in MIME format. Since your mail reader does not
> understand this format, some or all of this message may not be legible.
>
> ------_=_0x945bd88db0cb9934186b217ab3ff4a45_=_----
> Content-Type: multipart/alternative;
> *** boundary="----_=_0x945bd88db0cb9934186b217ab3ff4a451_=_----"
>
> ------_=_0x945bd88db0cb9934186b217ab3ff4a451_=_----
> Content-Type: text/plain;
> *** charset="utf-8"
> Content-Transfer-Encoding: quoted-printable

dzano 2013-06-15 21:24

Re: Problems with Modest and Gmail
 
I had same problem.

Log in to email.nokia.com, edit Gmail server settings and delete all SMTP (outgoing) entries. Save it.

gorgezilla 2013-06-16 14:04

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by dzano (Post 1352288)
I had same problem.

Log in to email.nokia.com, edit Gmail server settings and delete all SMTP (outgoing) entries. Save it.

nope. it didn't fully work. when i send an email to a selected contact from the address book it does send the email but il also sends to duplicate addresses like EU@smtp2.lhr.hosting-ops.com, where EU si the Name of the contact adress...

so, any other opinions....?

peterleinchen 2013-06-17 20:43

Re: Problems with Modest and Gmail
 
Quote:

Originally Posted by qhubekela (Post 1352032)
@peterleinchen - you need to use another email client to subscribe to the other folders you need. I used mutt a while back to do so, and voila, modest started displaying them :)

Thanks, thanks, THANKS! :D
That was just too easy to be the solution ;)

And also a BIG thank you to freemangordon, too!!!

--edit
@freemangordon
Would you mind to post your personal donation link here (paypal or whatever), so everybody using your efforts is able/will do spend you a beer (or similar ;))! I think this is the least we can do to say thanks.

fffffred 2013-06-19 04:40

Re: Problems with Modest and Gmail
 
Finally upgraded to the Community SSU. Thank you maemo community. Modest is now working normally!

jerryfreak 2013-06-19 08:13

Re: Problems with Modest and Gmail
 
hey i have a modest problem and figured id ask here before making anew thread about it.

i just started using my n900 for the first time in like 2 years because my e6-00 died.

it synched and downloaded a ton of new messages, but i cant select inbox. when i slect it, it lights up while im pressing to indicate the screenpress, but doesnt open

how do i flush the messages/clear the cache/etc. i guess i can delete account and re-add it if i have to. havent tried this yet

thanks


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

vBulletin® Version 3.8.8