Hi everyone, and thanks for all the helpful tips. I cannot seem to get the notifications on my conky for my gmail...
I am still getting the error:
ERROR: getEmailData:Unexpected error when converting receive date to datetime:invalid literal for int() with base 10: 'GMT'
I have followed all the advice on this thread as far as increasing connection timeout, updating the conkyemail script to 2.15. It is baffling me. It is not a difficult server to forward. It's just gmail. Any help would be appreciated.
P.S. Running Linux Mint 13 - Mate desktopCode:${goto 46}${color0}${font Ubuntu:style=Bold:size=10}${execpi 1200 /usr/share/conkycolors/bin/conkyEmail -m IMAP -s imap.googlemail.com -ssl 993 -u scottjw89@gmail.com -p dsmnTMP09 -ssl -i 20 -c 20}${color}${font} ${goto 65}${voffset -8}${color0}${font Ubuntu:style=Bold:size=8}GMAIL${color}${font} ${goto 65}${voffset -4}${font Ubuntu:size=6}YOU HAVE ${execpi 1200 /usr/share/conkycolors/bin/conkyEmail -m imap -s imap.googlemail.com -ssl 993 -u xxxx@gmail.com -p xxxx -i 20 -c 20} NEW MAIL(S)${font}
Looks like you have some unexpected email header info, maybe GMT instead of +0 in the date time received?
This is the code that transforms the text to a datetime, I added the bit in red to hopefully cope with GMT:
The script still works with this change but I couldn't reproduce your error and have a GMT date coming in, I think it is specific to one of your emails and not gmail...Code:#extract timezone (strptime not supported) and convert it to a timedelta and add to datetime timezonetext = matches.group(3).strip(" ").replace("GMT", "+0000") timezonediff = timedelta(hours=int(timezonetext[0:3])) + timedelta(minutes=int(timezonetext[3:5]))
Can you replace /usr/share/conkyemail/conkyEmail.py file with the one attached and let me know what happens?
With new conky script... and the gmail is not showing any numbers... WAS showing a "?" but now that is gone as well.Code:ERROR: getOutputData:Unexpected error:Traceback (most recent call last): File "/usr/share/conkycolors/scripts/conkyEmail.py", line 128, in getOutputData if count == -1: UnboundLocalError: local variable 'count' referenced before assignment
I cant get it to work with hotmail/live account. Works only with Gmail.
With hotmail setting I get only ? display
Im using xfce4 xUbuntu 13.04
I'm not sure if this thread is still open or not, but all of a sudden yesterday about 4:00pm my conkyemail script started crashing when connecting to my work exchange server through DavMail (local host connection). The DavMail is working since I can still connect to Exchange via Thunderbird, but the Conky email script is really flaky now.
It will only show one message in the inbox and not list anything except the first message.
I can get the messages to show up if I enter the settings for a POP server, but then I have to move the messages since the POP part of the script doesn't support the number of read/unread messages.
Has anyone else seen had this happen?
Thank you,
GG -----------
For microsoft's live.com service i get the total messages instead of new ones.
Is there a way i can fix this?
Bookmarks